svn commit: r396199 - head/games/anki
Jan Beich
jbeich at FreeBSD.org
Sat Sep 5 22:48:50 UTC 2015
Author: jbeich
Date: Sat Sep 5 22:48:49 2015
New Revision: 396199
URL: https://svnweb.freebsd.org/changeset/ports/396199
Log:
games/anki: convert to target option helpers
Modified:
head/games/anki/Makefile (contents, props changed)
Modified: head/games/anki/Makefile
==============================================================================
--- head/games/anki/Makefile Sat Sep 5 22:48:36 2015 (r396198)
+++ head/games/anki/Makefile Sat Sep 5 22:48:49 2015 (r396199)
@@ -33,8 +33,6 @@ NLS_USES= gettext-runtime gettext-tools
NO_ARCH= yes
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|; \
s|/usr/share/anki|${DATADIR}|' \
@@ -43,10 +41,9 @@ post-patch:
's|/usr/share/anki/locale|${PREFIX}/share/locale|' \
${WRKSRC}/anki/lang.py
-.if ! ${PORT_OPTIONS:MNLS}
+post-patch-NLS-off:
@${REINPLACE_CMD} -i '' '/mkdir -p qt-locale/,/cp -av locale/s/^/#/' \
${WRKSRC}/Makefile
-.endif
do-build:
@${PYTHON_CMD} -m compileall ${WRKSRC}
More information about the svn-ports-head
mailing list