2007-04-09 04:50:59 +02:00
|
|
|
# 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
|
2007-04-09 04:50:59 +02:00
|
|
|
CATEGORIES= devel
|
2008-06-10 14:14:20 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
|
|
|
http://people.FreeBSD.org/~gahr/distfiles/
|
|
|
|
MASTER_SITE_SUBDIR= gahr
|
|
|
|
DISTNAME= ${PORTNAME}
|
2007-04-09 04:50:59 +02:00
|
|
|
|
2008-06-10 14:14:20 +02:00
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
2007-04-09 04:50:59 +02:00
|
|
|
COMMENT= A C++ wrapper for libevent
|
|
|
|
|
2008-01-03 00:43:03 +01:00
|
|
|
LIB_DEPENDS= event-1.3e:${PORTSDIR}/devel/libevent
|
2007-04-09 04:50:59 +02:00
|
|
|
|
2008-06-10 14:14:20 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2008-05-11 21:13:56 +02:00
|
|
|
|
2007-04-09 04:50:59 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
2008-06-10 14:14:20 +02:00
|
|
|
post-extract:
|
|
|
|
${REINPLACE_CMD} -e 's|-I..|-I.. -I${LOCALBASE}/include -L${LOCALBASE}/lib|g' \
|
|
|
|
${WRKSRC}/test/Makefile
|
2007-04-09 04:50:59 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/eventxx ${PREFIX}/include
|
|
|
|
|
2008-06-10 14:14:20 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
${INSTALL} -d ${EXAMPLESDIR}
|
|
|
|
(cd ${WRKSRC}/test && ${COPYTREE_SHARE} \*.cpp ${EXAMPLESDIR})
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/test/Makefile ${EXAMPLESDIR}
|
|
|
|
.endif
|
|
|
|
|
2007-04-09 04:50:59 +02:00
|
|
|
.include <bsd.port.mk>
|