freebsd-ports/net-mgmt/arts++/Makefile

46 lines
1.2 KiB
Makefile
Raw Normal View History

2013-05-27 14:28:17 +02:00
# Created by: Andreas Klemm <andreas@klemm.gtn.com>
# $FreeBSD$
PORTNAME= arts++
PORTVERSION= 1.1.a13
2015-05-11 10:10:50 +02:00
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://www.caida.org/tools/utilities/arts/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Network data storage and analysis library from CAIDA
2015-05-11 10:10:50 +02:00
LICENSE= LGPL21
2014-07-09 14:12:44 +02:00
USES= gmake libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
2013-05-27 14:28:17 +02:00
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's/make_pair/std::make_pair/' \
${WRKSRC}/classes/include/Ipv4PrefixPatricia.hh.in
@${REINPLACE_CMD} -e 's|@mandir@|$${DESTDIR}@mandir@|g' \
-e 's|@bindir@|$${DESTDIR}@bindir@|g' \
${WRKSRC}/apps/*/Makefile.in
@${REINPLACE_CMD} -e 's|@libdir@|$${DESTDIR}@libdir@|g' \
-e 's|@includedir@|$${DESTDIR}@includedir@|g' \
${WRKSRC}/classes/*/Makefile.in
post-install:
2015-05-11 10:10:50 +02:00
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libArts.so
2013-05-27 14:28:17 +02:00
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
.for f in ChangeLog INSTALL WishList
@${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
@${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}/html
.endif
.include <bsd.port.mk>