- Drop @dirrm* from plist

- Clarify LICENSE
- Fix whitespace
- Strip binary
This commit is contained in:
Dmitry Marakasov 2014-10-05 14:00:40 +00:00
parent 316dfa5be6
commit 16687a78c4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370076
2 changed files with 11 additions and 11 deletions

View file

@ -10,7 +10,7 @@ MASTER_SITES= SF/${PORTNAME}/
MAINTAINER= games@FreeBSD.org
COMMENT= Mission and Objective based 2D Platform Game
LICENSE= GPLv2 CCbyNCSA3
LICENSE= GPLv2 CCbyNCSA3 # GPLv2 or later
LICENSE_COMB= dual
LICENSE_NAME_CCbyNCSA3=Attribution-NonCommercial-ShareAlike 3.0 Unported
LICENSE_FILE= ${WRKSRC}/doc/license
@ -35,15 +35,15 @@ NLS_USES= gettext
post-patch:
@${REINPLACE_CMD} \
-e 's|mkdir -p $$(DESTDIR)$$(DOCDIR)|| ; \
s|cp -p $$(DOCS) $$(DESTDIR)$$(DOCDIR)|| ; \
s|USEPAK ?= 0|USEPAK ?= 1| ; \
s|/usr|${LOCALBASE}| ; \
s|$$(PREFIX)/games/|$$(PREFIX)/bin/| ; \
s|/share/games/blobwars/|/share/blobwars/| ; \
s| -Werror||' \
-e '/LIBS =/s/-lz/-lz -lintl/' \
${WRKSRC}/makefile
-e 's|mkdir -p $$(DESTDIR)$$(DOCDIR)|| ; \
s|cp -p $$(DOCS) $$(DESTDIR)$$(DOCDIR)|| ; \
s|USEPAK ?= 0|USEPAK ?= 1| ; \
s|/usr|${LOCALBASE}| ; \
s|$$(PREFIX)/games/|$$(PREFIX)/bin/| ; \
s|/share/games/blobwars/|/share/blobwars/| ; \
s| -Werror||' \
-e '/LIBS =/s/-lz/-lz -lintl/' \
${WRKSRC}/makefile
.if ! ${PORT_OPTIONS:MNLS}
@${REINPLACE_CMD} -i '' -e '/LOCALE_MO =/d' \
@ -53,6 +53,7 @@ post-patch:
post-install:
${LN} -sf ${PREFIX}/share/icons/hicolor/64x64/apps/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}

View file

@ -13,4 +13,3 @@ share/icons/hicolor/64x64/apps/blobwars.png
%%NLS%%share/locale/pl/LC_MESSAGES/blobwars.mo
%%NLS%%share/locale/sv/LC_MESSAGES/blobwars.mo
share/pixmaps/blobwars.png
@dirrm %%DATADIR%%