Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2016 09:03:54 +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: r416660 - head/games/capicity
Message-ID:  <201606100903.u5A93s3H018090@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Jun 10 09:03:54 2016
New Revision: 416660
URL: https://svnweb.freebsd.org/changeset/ports/416660

Log:
  - Switch to options helpers

Modified:
  head/games/capicity/Makefile

Modified: head/games/capicity/Makefile
==============================================================================
--- head/games/capicity/Makefile	Fri Jun 10 08:56:30 2016	(r416659)
+++ head/games/capicity/Makefile	Fri Jun 10 09:03:54 2016	(r416660)
@@ -42,20 +42,12 @@ OPTIONS_SUB=	yes
 NLS_CONFIGURE_ENABLE=	nls
 NLS_USES=		gettext
 
-.include <bsd.port.options.mk>
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/CapiCity \
 		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-
 .for d in games images
 	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
 .endfor
-
-.if ${PORT_OPTIONS:MNLS}
-	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ts ${STAGEDIR}${DATADIR})
-.endif
-
 .for s in ${ICON_SIZES}
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps
 	${INSTALL_DATA} ${WRKSRC}/icons/${s}.png \
@@ -64,6 +56,10 @@ do-install:
 	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/
 
+do-install-NLS-on:
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ts ${STAGEDIR}${DATADIR})
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 



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