From 77413dbbec401c5fa2bd62194e4cd95532eec20c Mon Sep 17 00:00:00 2001
From: Antoine Brodin <antoine@FreeBSD.org>
Date: Sat, 8 Feb 2014 14:10:04 +0000
Subject: Fix packaging

Reported by:	pkg-fallout
---
 textproc/p5-Text-NSP/Makefile | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/textproc/p5-Text-NSP/Makefile b/textproc/p5-Text-NSP/Makefile
index 88825886f770..344bdda83517 100644
--- a/textproc/p5-Text-NSP/Makefile
+++ b/textproc/p5-Text-NSP/Makefile
@@ -13,15 +13,15 @@ COMMENT=	Perl5 modules for Ngram Statistics Package
 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>
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0