svn commit: r343331 - head/textproc/p5-Text-NSP

Antoine Brodin antoine at FreeBSD.org
Sat Feb 8 14:10:05 UTC 2014


Author: antoine
Date: Sat Feb  8 14:10:04 2014
New Revision: 343331
URL: http://svnweb.freebsd.org/changeset/ports/343331
QAT: https://qat.redports.org/buildarchive/r343331/

Log:
  Fix packaging
  
  Reported by:	pkg-fallout

Modified:
  head/textproc/p5-Text-NSP/Makefile

Modified: head/textproc/p5-Text-NSP/Makefile
==============================================================================
--- head/textproc/p5-Text-NSP/Makefile	Sat Feb  8 13:54:59 2014	(r343330)
+++ head/textproc/p5-Text-NSP/Makefile	Sat Feb  8 14:10:04 2014	(r343331)
@@ -13,15 +13,15 @@ COMMENT=	Perl5 modules for Ngram Statist
 USES=		perl5
 USE_PERL5=	configure
 
-PORTDOCS=	CHANGES README doc/FAQ.pod doc/NSP-Class-diagram.pdf \
+DOCS=	CHANGES README doc/FAQ.pod doc/NSP-Class-diagram.pdf \
 	doc/NSP-Class-diagram.png doc/README.pod doc/TODO.pod \
-	doc/USAGE.pod doc/cicling2003.pdf doc/cicling2003.ps \
+	doc/USAGE.pod doc/cicling2003.pdf doc/cicling2003.ps
+PORTDOCS=	*
+
+OPTIONS_DEFINE=	DOCS
 
-.ifndef (NOPORTDOCS)
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
-	@${ECHO_MSG} "===>   Installing documentation in ${DOCSDIR}"
-.endif
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list