Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Feb 2014 14:10:04 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343331 - head/textproc/p5-Text-NSP
Message-ID:  <201402081410.s18EA40I012399@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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