diff options
| author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-12-08 19:29:14 +0000 |
|---|---|---|
| committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-12-08 19:29:14 +0000 |
| commit | 83b1c9d9324b2420b5f12e6a0c90cc60bb1818bf (patch) | |
| tree | 9492dbd66b083306d0678e9470a24e0cc7791df7 | |
| parent | Update flash plugin to 11.2r202.554. (diff) | |
- Switch to options helpers
Approved by: portmgr blanket
Notes
Notes:
svn path=/head/; revision=403343
| -rw-r--r-- | games/tomenet/Makefile | 10 |
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> |
