freebsd-ports/net-mgmt/arts++/Makefile
Dmitry Marakasov 4632387ff0 - Add LICENSE
- Strip library
2015-05-11 08:10:50 +00:00

46 lines
1.2 KiB
Makefile

# Created by: Andreas Klemm <andreas@klemm.gtn.com>
# $FreeBSD$
PORTNAME= arts++
PORTVERSION= 1.1.a13
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
LICENSE= LGPL21
USES= gmake libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
.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:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libArts.so
.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>