svn commit: r346113 - head/devel/eventxx
Emanuel Haupt
ehaupt at FreeBSD.org
Wed Feb 26 06:55:09 UTC 2014
Author: ehaupt
Date: Wed Feb 26 06:55:09 2014
New Revision: 346113
URL: http://svnweb.freebsd.org/changeset/ports/346113
QAT: https://qat.redports.org/buildarchive/r346113/
Log:
Support staging
Modified:
head/devel/eventxx/Makefile
Modified: head/devel/eventxx/Makefile
==============================================================================
--- head/devel/eventxx/Makefile Wed Feb 26 06:51:47 2014 (r346112)
+++ head/devel/eventxx/Makefile Wed Feb 26 06:55:09 2014 (r346113)
@@ -12,25 +12,22 @@ MASTER_SITE_SUBDIR= gahr
MAINTAINER= ports at FreeBSD.org
COMMENT= A C++ wrapper for libevent
-LIB_DEPENDS= event-1.4:${PORTSDIR}/devel/libevent
+LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_BUILD= yes
-NO_STAGE= yes
+OPTIONS_DEFINE= EXAMPLES
+
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
+ ${INSTALL_DATA} ${WRKSRC}/eventxx ${STAGEDIR}${PREFIX}/include
+ ${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR}
+ cd ${WRKSRC}/test && ${COPYTREE_SHARE} \*.cpp ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/test/Makefile ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list