freebsd-ports/devel/eventxx/Makefile

41 lines
879 B
Makefile
Raw Normal View History

# ex:ts=8
# Ports collection makefile for: eventxx
# Date created: Apr 9, 2007
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= eventxx
2008-04-20 15:08:51 +02:00
PORTVERSION= 1.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://people.FreeBSD.org/~gahr/distfiles/
MASTER_SITE_SUBDIR= gahr
DISTNAME= ${PORTNAME}
MAINTAINER= gahr@FreeBSD.org
COMMENT= A C++ wrapper for libevent
LIB_DEPENDS= event-1.3e:${PORTSDIR}/devel/libevent
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
post-extract:
${REINPLACE_CMD} -e 's|-I..|-I.. -I${LOCALBASE}/include -L${LOCALBASE}/lib|g' \
${WRKSRC}/test/Makefile
do-install:
@${INSTALL_DATA} ${WRKSRC}/eventxx ${PREFIX}/include
post-install:
.if !defined(NOPORTEXAMPLES)
${INSTALL} -d ${EXAMPLESDIR}
(cd ${WRKSRC}/test && ${COPYTREE_SHARE} \*.cpp ${EXAMPLESDIR})
${INSTALL_DATA} ${WRKSRC}/test/Makefile ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>