1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/net-mgmt/arts++/Makefile
Tobias Kortkamp 8f869e4653 net-mgmt/arts++: Fix build with Clang 6
checking size of unsigned short... configure: error: cannot compute sizeof (unsigned short), 77

http://beefy12.nyi.freebsd.org/data/head-amd64-default/p478276_s338342/logs/errors/arts++-1.1.a13_2,1.log
2018-09-01 12:32:24 +00:00

45 lines
1.1 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
USE_CXXSTD= c++98
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
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
post-install-DOCS-on:
@${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
.include <bsd.port.mk>