diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2018-03-13 22:40:09 +0800 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2018-03-13 22:40:09 +0800 |
commit | 252919ca0a4ba23d2b2bf248ef725cb7546e6a2e (patch) | |
tree | 670515d51f1a1558dc10a5fb1b7c4196fdd6eb47 /games | |
parent | cf80afdc677065e84f7ce122554993f9fd389296 (diff) | |
download | freebsd-ports-252919ca0a4ba23d2b2bf248ef725cb7546e6a2e.tar.gz freebsd-ports-252919ca0a4ba23d2b2bf248ef725cb7546e6a2e.tar.zst freebsd-ports-252919ca0a4ba23d2b2bf248ef725cb7546e6a2e.zip |
- Switch to options helpers
Approved by: portmgr blanket
Notes
Notes:
svn path=/head/; revision=464383
Diffstat (limited to 'games')
-rw-r--r-- | games/blobwars/Makefile | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/games/blobwars/Makefile b/games/blobwars/Makefile index fa7feaed7f1b..63f21c4fd705 100644 --- a/games/blobwars/Makefile +++ b/games/blobwars/Makefile @@ -26,27 +26,21 @@ OPTIONS_SUB= yes NLS_USES= gettext -.include <bsd.port.options.mk> - post-patch: @${REINPLACE_CMD} \ -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/Makefile - -# Correct Permissions ${CHMOD} 664 ${WRKSRC}/icons/* -.if ! ${PORT_OPTIONS:MDOCS} +post-patch-DOCS-off: @${REINPLACE_CMD} \ - -e 's|mkdir -p $$(DESTDIR)$$(DOCDIR)|| ; \ - s|cp -p $$(DOCS) $$(DESTDIR)$$(DOCDIR)||' \ - ${WRKSRC}/Makefile -.endif + -e 's|mkdir -p $$(DESTDIR)$$(DOCDIR)|| ; \ + s|cp -p $$(DOCS) $$(DESTDIR)$$(DOCDIR)||' \ + ${WRKSRC}/Makefile -.if ! ${PORT_OPTIONS:MNLS} +post-patch-NLS-off: @${REINPLACE_CMD} -i '' -e '/LOCALE_MO =/d' \ ${WRKSRC}/Makefile -.endif post-install: ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ |