aboutsummaryrefslogtreecommitdiff
path: root/games/neverball
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-21 15:59:22 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-21 15:59:22 +0000
commitf7d81adc4c99aeaff8185cf90bae4842d65dc992 (patch)
tree187985085396d612a324e08ee470ac26a1dd0bb3 /games/neverball
parent5ceb751f4761f6a89d4522c96f06f0f5c0ed6fb2 (diff)
downloadports-f7d81adc4c99aeaff8185cf90bae4842d65dc992.tar.gz
ports-f7d81adc4c99aeaff8185cf90bae4842d65dc992.zip
Notes
Diffstat (limited to 'games/neverball')
-rw-r--r--games/neverball/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/games/neverball/Makefile b/games/neverball/Makefile
index 4c7604e12bc7..ba955fc5a5f6 100644
--- a/games/neverball/Makefile
+++ b/games/neverball/Makefile
@@ -27,15 +27,9 @@ PORTDATA= *
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-MAKE_ENV+= ENABLE_NLS=1
-.else
-MAKE_ENV+= ENABLE_NLS=0
-.endif
+NLS_USES= gettext
+NLS_MAKE_ENV_ON= ENABLE_NLS=1
+NLS_MAKE_ENV_OFF= ENABLE_NLS=0
do-install:
cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
@@ -47,9 +41,11 @@ do-install:
${STAGEDIR}${PREFIX}/share/pixmaps/${f}.png
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin/
.endfor
-.if ${PORT_OPTIONS:MNLS}
+
+do-install-NLS-on:
cd ${WRKSRC}/locale && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/locale/
-.endif
+
+do-install-DOCS-on:
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>