aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Text-NSP/Makefile
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-02-08 22:10:04 +0800
committerantoine <antoine@FreeBSD.org>2014-02-08 22:10:04 +0800
commite5369fbb4c1d4374b353e0505744adbebea92afc (patch)
tree1b3700f03339610546f6c39fd22f7370b621e692 /textproc/p5-Text-NSP/Makefile
parent7b634b636502aaae96f39675f98eb4fe3d851116 (diff)
downloadfreebsd-ports-gnome-e5369fbb4c1d4374b353e0505744adbebea92afc.tar.gz
freebsd-ports-gnome-e5369fbb4c1d4374b353e0505744adbebea92afc.tar.zst
freebsd-ports-gnome-e5369fbb4c1d4374b353e0505744adbebea92afc.zip
Fix packaging
Reported by: pkg-fallout
Diffstat (limited to 'textproc/p5-Text-NSP/Makefile')
-rw-r--r--textproc/p5-Text-NSP/Makefile12
1 files 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>