Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2012 14:08:49 +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: r309743 - head/archivers/szip
Message-ID:  <201212311408.qBVE8ngC046341@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Dec 31 14:08:48 2012
New Revision: 309743
URL: http://svnweb.freebsd.org/changeset/ports/309743

Log:
  Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS

Modified:
  head/archivers/szip/Makefile

Modified: head/archivers/szip/Makefile
==============================================================================
--- head/archivers/szip/Makefile	Mon Dec 31 14:07:52 2012	(r309742)
+++ head/archivers/szip/Makefile	Mon Dec 31 14:08:48 2012	(r309743)
@@ -20,6 +20,8 @@ WRKSRC=		${WRKDIR}
 PLIST_FILES=	bin/${PORTNAME}
 PORTDOCS=	*.txt
 
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -e 's,more logfile,cat logfile,' \
 			  -e "s,^CFLAGS.*,CFLAGS= ${CFLAGS}," \
@@ -30,7 +32,7 @@ do-build:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKDIR}/*.txt ${DOCSDIR}
 .endif



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