mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# Created by: Andreas Klemm <andreas@klemm.gtn.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= arts++
|
|
PORTVERSION= 1.1.a13
|
|
PORTREVISION= 1
|
|
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
|
|
|
|
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:
|
|
.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>
|