Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2012 14:06:45 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309741 - head/archivers/aolserver-nszlib
Message-ID:  <201212311406.qBVE6jgU045896@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org>
-#
+# Created by: Martin Matuska <mm@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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212311406.qBVE6jgU045896>