aboutsummaryrefslogtreecommitdiff
path: root/games/tomenet
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-08 19:29:14 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-08 19:29:14 +0000
commit83b1c9d9324b2420b5f12e6a0c90cc60bb1818bf (patch)
tree9492dbd66b083306d0678e9470a24e0cc7791df7 /games/tomenet
parentcf5b695e97dc70b0d90c94287f93d878b9ae6627 (diff)
downloadports-83b1c9d9324b2420b5f12e6a0c90cc60bb1818bf.tar.gz
ports-83b1c9d9324b2420b5f12e6a0c90cc60bb1818bf.zip
Notes
Diffstat (limited to 'games/tomenet')
-rw-r--r--games/tomenet/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/games/tomenet/Makefile b/games/tomenet/Makefile
index 6b6298d34ec8..d33415fb4dab 100644
--- a/games/tomenet/Makefile
+++ b/games/tomenet/Makefile
@@ -20,6 +20,8 @@ MAKE_JOBS_UNSAFE= yes
SUB_FILES= pkg-message
+OPTIONS_DEFINE= DOCS
+
do-install:
.for f in tomenet tomenet.server accedit
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
@@ -29,14 +31,8 @@ do-install:
${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/.tomenetrc ${STAGEDIR}${ETCDIR}/tomenetrc
-OPTIONS_DEFINE= DOCS
-
-.include <bsd.port.options.mk>
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/TomeNET-Guide.txt ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>