summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>