aboutsummaryrefslogtreecommitdiff
path: root/games/ptools
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-10-30 11:37:21 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-10-30 11:37:21 +0000
commit64978b2bbe02a9160e13433b99c185615b90f2c3 (patch)
tree6eb46867751a24fd384139c4b40133bbc4f085a6 /games/ptools
parentab1603f575ab811670eb8f2c2beb82f1dd5a4391 (diff)
downloadports-64978b2bbe02a9160e13433b99c185615b90f2c3.tar.gz
ports-64978b2bbe02a9160e13433b99c185615b90f2c3.zip
Notes
Diffstat (limited to 'games/ptools')
-rw-r--r--games/ptools/Makefile9
-rw-r--r--games/ptools/pkg-plist1
2 files changed, 2 insertions, 8 deletions
diff --git a/games/ptools/Makefile b/games/ptools/Makefile
index b80403206ff1..97e4230de53a 100644
--- a/games/ptools/Makefile
+++ b/games/ptools/Makefile
@@ -22,11 +22,8 @@ MAKEFILE= makefile.ptools
ALL_TARGET= mopt mts pname
NO_WRKSUBDIR= yes
-MAN6= ptools-mopt.6 ptools-mts.6
-
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
post-build:
(${ECHO_CMD} "#!${PERL}"; ${CAT} ${DISTDIR}/p3-2.pl) \
> ${WRKSRC}/p3-2.pl
@@ -40,11 +37,9 @@ do-install:
.for f in mopt.6 mts.6
${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${MAN6PREFIX}/man/man6/${PORTNAME}-${f}
.endfor
-.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
-. for f in mopt.doc mts.doc pname.doc readme.ptools
+.for f in mopt.doc mts.doc pname.doc readme.ptools
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
-. endfor
-.endif
+.endfor
.include <bsd.port.mk>
diff --git a/games/ptools/pkg-plist b/games/ptools/pkg-plist
index f08cccc268c4..d76cb3b97d85 100644
--- a/games/ptools/pkg-plist
+++ b/games/ptools/pkg-plist
@@ -9,4 +9,3 @@ man/man6/ptools-mts.6.gz
%%PORTDOCS%%%%DOCSDIR%%/mts.doc
%%PORTDOCS%%%%DOCSDIR%%/pname.doc
%%PORTDOCS%%%%DOCSDIR%%/readme.ptools
-%%PORTDOCS%%@dirrm %%DOCSDIR%%