aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/arts++/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/net-mgmt/arts++/Makefile b/net-mgmt/arts++/Makefile
index 176f7500b80d..4324c987ead6 100644
--- a/net-mgmt/arts++/Makefile
+++ b/net-mgmt/arts++/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: arts++
-# Date created: Di 7 Nov 2000 19:48:50 CET
-# Whom: Andreas Klemm <andreas@klemm.gtn.com>
-#
+# Created by: Andreas Klemm <andreas@klemm.gtn.com>
# $FreeBSD$
-#
PORTNAME= arts++
PORTVERSION= 1.1.a13
@@ -24,14 +20,17 @@ MANL= artsportagg.l artsports.l artsprotos.l artsnets.l artsdump.l \
artsasagg.l artsportms.l artsportmagg.l artsintfms.l \
artsintfmagg.l artsnexthops.l artsnexthopagg.l artstos.l
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/ltconfig
+ @${REINPLACE_CMD} -e 's/make_pair/std::make_pair/' ${WRKSRC}/classes/include/Ipv4PrefixPatricia.hh.in
post-configure:
@${REINPLACE_CMD} -E -e "s,( gcc\*),\1 | g++\*,g" ${WRKSRC}/libtool
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}/html
.for f in ChangeLog INSTALL WishList
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}