svn commit: r416660 - head/games/capicity
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Jun 10 09:03:55 UTC 2016
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}
More information about the svn-ports-head
mailing list