aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-08-24 07:36:26 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-08-24 07:36:26 +0800
commit9c781addb59b080d0dffec4f8c4f975bc5261b21 (patch)
tree9309596ee391d60ef58bd0e5d845ab2478f07ac0 /games
parent08141d647a0dc6de03846f2eca8e28906b25527f (diff)
downloadfreebsd-ports-graphics-9c781addb59b080d0dffec4f8c4f975bc5261b21.tar.gz
freebsd-ports-graphics-9c781addb59b080d0dffec4f8c4f975bc5261b21.tar.zst
freebsd-ports-graphics-9c781addb59b080d0dffec4f8c4f975bc5261b21.zip
- Switch to options helpers
Diffstat (limited to 'games')
-rw-r--r--games/plee-the-bear/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/games/plee-the-bear/Makefile b/games/plee-the-bear/Makefile
index 9f15167c49b..80c16c5d4fa 100644
--- a/games/plee-the-bear/Makefile
+++ b/games/plee-the-bear/Makefile
@@ -35,15 +35,13 @@ PORTDATA= *
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/CMakeLists.txt
-.if ! ${PORT_OPTIONS:MNLS}
+
+post-patch-NLS-off:
@${REINPLACE_CMD} -e 's|locale||' \
${WRKSRC}/bear-factory/desktop/CMakeLists.txt \
${WRKSRC}/bear-engine/desktop/CMakeLists.txt \
${WRKSRC}/plee-the-bear/desktop/CMakeLists.txt
-.endif
.include <bsd.port.mk>