Date: Tue, 8 Dec 2015 19:29:15 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r403343 - head/games/tomenet Message-ID: <201512081929.tB8JTFkk020930@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Dec 8 19:29:14 2015 New Revision: 403343 URL: https://svnweb.freebsd.org/changeset/ports/403343 Log: - Switch to options helpers Approved by: portmgr blanket Modified: head/games/tomenet/Makefile Modified: head/games/tomenet/Makefile ============================================================================== --- head/games/tomenet/Makefile Tue Dec 8 19:28:19 2015 (r403342) +++ head/games/tomenet/Makefile Tue Dec 8 19:29:14 2015 (r403343) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512081929.tB8JTFkk020930>