Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Dec 2015 19:24:35 +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: r403341 - head/games/pcgen
Message-ID:  <201512081924.tB8JOZ7w020557@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Dec  8 19:24:35 2015
New Revision: 403341
URL: https://svnweb.freebsd.org/changeset/ports/403341

Log:
  - Switch to options helpers

Modified:
  head/games/pcgen/Makefile

Modified: head/games/pcgen/Makefile
==============================================================================
--- head/games/pcgen/Makefile	Tue Dec  8 19:23:09 2015	(r403340)
+++ head/games/pcgen/Makefile	Tue Dec  8 19:24:35 2015	(r403341)
@@ -27,15 +27,13 @@ PLIST_DIRS=	%%DATADIR%%/characters
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 do-install:
 	cd ${WRKSRC} && ${COPYTREE_SHARE} "batch-convert.jar characters data filepaths.ini lib \
 		logging.properties outputsheets pcgen.jar plugins preview system" ${STAGEDIR}${DATADIR}
 	${INSTALL_SCRIPT} ${WRKDIR}/pcgen.sh ${STAGEDIR}${PREFIX}/bin/pcgen
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
 	cd "${WRKSRC}/docs" && ${COPYTREE_SHARE} . "${STAGEDIR}${DOCSDIR}"
 	${INSTALL_DATA} "${WRKSRC}"/*.html "${STAGEDIR}${DOCSDIR}"
-.endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512081924.tB8JOZ7w020557>