aboutsummaryrefslogtreecommitdiffstats
path: root/games/blobwars
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-10-05 22:00:40 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-10-05 22:00:40 +0800
commite358746f9e15fd15ffbe422c93a66801084a9ee6 (patch)
tree58f5827bb722e611265a41628d3e674f846c32a7 /games/blobwars
parent03718c507b81d1942dd4736ab6542d5256d0e1aa (diff)
downloadfreebsd-ports-gnome-e358746f9e15fd15ffbe422c93a66801084a9ee6.tar.gz
freebsd-ports-gnome-e358746f9e15fd15ffbe422c93a66801084a9ee6.tar.zst
freebsd-ports-gnome-e358746f9e15fd15ffbe422c93a66801084a9ee6.zip
- Drop @dirrm* from plist
- Clarify LICENSE - Fix whitespace - Strip binary
Diffstat (limited to 'games/blobwars')
-rw-r--r--games/blobwars/Makefile21
-rw-r--r--games/blobwars/pkg-plist1
2 files changed, 11 insertions, 11 deletions
diff --git a/games/blobwars/Makefile b/games/blobwars/Makefile
index 43110f7b348b..6367c8e79342 100644
--- a/games/blobwars/Makefile
+++ b/games/blobwars/Makefile
@@ -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}
diff --git a/games/blobwars/pkg-plist b/games/blobwars/pkg-plist
index f15d1cebee11..8c669ba697f9 100644
--- a/games/blobwars/pkg-plist
+++ b/games/blobwars/pkg-plist
@@ -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%%