Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2014 21:59:00 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360669 - in head/print: abcm2ps fpdf gl2ps
Message-ID:  <201407042159.s64Lx0MT003868@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Fri Jul  4 21:58:59 2014
New Revision: 360669
URL: http://svnweb.freebsd.org/changeset/ports/360669
QAT: https://qat.redports.org/buildarchive/r360669/

Log:
  Remove NOPORTDOCS.

Modified:
  head/print/abcm2ps/Makefile
  head/print/fpdf/Makefile
  head/print/gl2ps/Makefile

Modified: head/print/abcm2ps/Makefile
==============================================================================
--- head/print/abcm2ps/Makefile	Fri Jul  4 21:57:08 2014	(r360668)
+++ head/print/abcm2ps/Makefile	Fri Jul  4 21:58:59 2014	(r360669)
@@ -20,13 +20,13 @@ PLIST_FILES=	bin/abcm2ps %%DATADIR%%/fbo
 		%%DATADIR%%/tight.fmt %%DATADIR%%/musicfont.fmt
 PLIST_DIRS=	%%DATADIR%%
 
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/abcm2ps ${STAGEDIR}${PREFIX}/bin/
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/*.fmt ${STAGEDIR}${DATADIR}/
-.if !defined(NOPORTDOCS)
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
-.endif
 
 .include <bsd.port.mk>

Modified: head/print/fpdf/Makefile
==============================================================================
--- head/print/fpdf/Makefile	Fri Jul  4 21:57:08 2014	(r360668)
+++ head/print/fpdf/Makefile	Fri Jul  4 21:58:59 2014	(r360669)
@@ -28,6 +28,8 @@ PLIST_SUB=	FPDF_DIR=${FPDF_DIR}
 EXT2CNV=	afm css htm php txt
 DOCS=		FAQ.htm changelog.htm doc fpdf.css install.txt license.txt tutorial
 
+OPTIONS_DEFINE=	DOCS
+
 do-fetch:
 	@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
 	${FETCH_CMD} ${FETCH_BEFORE_ARGS}	\
@@ -38,10 +40,8 @@ do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/${FPDF_DIR}
 	${INSTALL_DATA} ${WRKSRC}/fpdf.php ${STAGEDIR}${PREFIX}/${FPDF_DIR}
 	(cd ${WRKSRC} && ${COPYTREE_SHARE} "font makefont" ${STAGEDIR}${PREFIX}/${FPDF_DIR}/)
-.if !defined(NOPORTDOCS)
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	(cd ${WRKSRC} && ${COPYTREE_SHARE} "${DOCS}" ${STAGEDIR}${DOCSDIR}/)
-.endif
 
 post-install:
 	@${ECHO_MSG}

Modified: head/print/gl2ps/Makefile
==============================================================================
--- head/print/gl2ps/Makefile	Fri Jul  4 21:57:08 2014	(r360668)
+++ head/print/gl2ps/Makefile	Fri Jul  4 21:58:59 2014	(r360669)
@@ -15,6 +15,8 @@ USE_XORG=	x11 xmu xi
 USE_LDCONFIG=	yes
 WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}-source
 
+OPTIONS_DEFINE=	DOCS
+
 pre-build:
 	@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
 
@@ -33,9 +35,7 @@ do-install:
 		    s|%%LOCALBASE%%|${LOCALBASE}|g' \
 		<${FILESDIR}/Makefile.ex >${STAGEDIR}${EXAMPLESDIR}/Makefile
 
-.ifndef (NOPORTDOCS)
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/gl2ps.pdf ${STAGEDIR}${DOCSDIR}
-.endif
 
 .include <bsd.port.mk>



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