svn commit: r395145 - head/games/plee-the-bear

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun Aug 23 23:36:27 UTC 2015


Author: amdmi3
Date: Sun Aug 23 23:36:26 2015
New Revision: 395145
URL: https://svnweb.freebsd.org/changeset/ports/395145

Log:
  - Switch to options helpers

Modified:
  head/games/plee-the-bear/Makefile

Modified: head/games/plee-the-bear/Makefile
==============================================================================
--- head/games/plee-the-bear/Makefile	Sun Aug 23 23:05:01 2015	(r395144)
+++ head/games/plee-the-bear/Makefile	Sun Aug 23 23:36:26 2015	(r395145)
@@ -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>


More information about the svn-ports-all mailing list