aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
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>