svn commit: r309741 - head/archivers/aolserver-nszlib
Baptiste Daroussin
bapt at FreeBSD.org
Mon Dec 31 14:06:45 UTC 2012
Author: bapt
Date: Mon Dec 31 14:06:45 2012
New Revision: 309741
URL: http://svnweb.freebsd.org/changeset/ports/309741
Log:
Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
Trim headers
Modified:
head/archivers/aolserver-nszlib/Makefile
Modified: head/archivers/aolserver-nszlib/Makefile
==============================================================================
--- head/archivers/aolserver-nszlib/Makefile Mon Dec 31 14:05:59 2012 (r309740)
+++ head/archivers/aolserver-nszlib/Makefile Mon Dec 31 14:06:45 2012 (r309741)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: aolserver-nszlib
-# Date created: 12 Oct 2006
-# Whom: Martin Matuska <mm at FreeBSD.org>
-#
+# Created by: Martin Matuska <mm at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= nszlib
PORTVERSION= 1.1
@@ -35,17 +31,16 @@ PLIST_FILES= ${AOLSERVERBASE}/bin/nszlib
${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}
More information about the svn-ports-head
mailing list