mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
76c7f8fbe6
minor COMMENT typos and surrounding whitespace fixes. Categories D-F. CR: D196 Approved by: portmgr (bapt)
34 lines
824 B
Makefile
34 lines
824 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= eventxx
|
|
PORTVERSION= 1.0.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://proj.llucax.com.ar/home/eventxx/releases/ \
|
|
LOCAL/glarkin
|
|
MASTER_SITE_SUBDIR= gahr
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= C++ wrapper for libevent
|
|
|
|
LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
NO_BUILD= 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 ${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>
|