aboutsummaryrefslogtreecommitdiff
path: root/archivers/aolserver-nszlib
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-12-31 14:06:45 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-12-31 14:06:45 +0000
commit7afade04e541021b3b81ccef54eda430b13100bc (patch)
tree81d276cb1b01c2ff7e17a855ff22ee5ac106054b /archivers/aolserver-nszlib
parentdebf89329c7efb3a7619ad8373272541ebedb9a9 (diff)
Notes
Diffstat (limited to 'archivers/aolserver-nszlib')
-rw-r--r--archivers/aolserver-nszlib/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/archivers/aolserver-nszlib/Makefile b/archivers/aolserver-nszlib/Makefile
index e53d3bf572fe..e7a293ee89ab 100644
--- a/archivers/aolserver-nszlib/Makefile
+++ b/archivers/aolserver-nszlib/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: aolserver-nszlib
-# Date created: 12 Oct 2006
-# Whom: Martin Matuska <mm@FreeBSD.org>
-#
+# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= nszlib
PORTVERSION= 1.1
@@ -35,17 +31,16 @@ PLIST_FILES= ${AOLSERVERBASE}/bin/nszlib.so \
${AOLSERVERBASE}/lib/libnszlib.a \
${AOLSERVERBASE}/lib/libnszlib.so
-.if !defined(NOPORTDOCS)
PORTDOCS= ChangeLog README example.tcl
-.endif
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's/^MODLIBS =/MODLIBS +=/g' \
-e '/^OBJS =.*/{n;s/.*/MODOBJS = $$(OBJS)/g;G;}' \
${WRKSRC}/Makefile
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@ ${MKDIR} ${DOCSDIR}
.for FILE in ${PORTDOCS}
@ ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}