- Switch to options helpers

This commit is contained in:
Dmitry Marakasov 2015-08-23 23:36:26 +00:00
parent 03c5a61302
commit f7713edae0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395145

View file

@ -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>