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