freebsd-ports/devel/eventxx/Makefile
Mathieu Arnold 00d52a3e4c Remove useless WRKSRC definitions.
While there, correct DEV_WARNINGS when they occur.

Sponsored by:	Absolight
2016-05-25 15:43:34 +00:00

30 lines
742 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= eventxx
PORTVERSION= 1.0.1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://proj.llucax.com.ar/home/eventxx/releases/ \
LOCAL/glarkin
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ wrapper for libevent
LIB_DEPENDS= libevent.so:devel/libevent2
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>