Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Oct 2014 14:00:41 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370076 - head/games/blobwars
Message-ID:  <201410051400.s95E0fil009703@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Oct  5 14:00:40 2014
New Revision: 370076
URL: https://svnweb.freebsd.org/changeset/ports/370076
QAT: https://qat.redports.org/buildarchive/r370076/

Log:
  - Drop @dirrm* from plist
  - Clarify LICENSE
  - Fix whitespace
  - Strip binary

Modified:
  head/games/blobwars/Makefile
  head/games/blobwars/pkg-plist

Modified: head/games/blobwars/Makefile
==============================================================================
--- head/games/blobwars/Makefile	Sun Oct  5 14:00:35 2014	(r370075)
+++ head/games/blobwars/Makefile	Sun Oct  5 14:00:40 2014	(r370076)
@@ -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}

Modified: head/games/blobwars/pkg-plist
==============================================================================
--- head/games/blobwars/pkg-plist	Sun Oct  5 14:00:35 2014	(r370075)
+++ head/games/blobwars/pkg-plist	Sun Oct  5 14:00:40 2014	(r370076)
@@ -13,4 +13,3 @@ share/icons/hicolor/64x64/apps/blobwars.
 %%NLS%%share/locale/pl/LC_MESSAGES/blobwars.mo
 %%NLS%%share/locale/sv/LC_MESSAGES/blobwars.mo
 share/pixmaps/blobwars.png
-@dirrm %%DATADIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410051400.s95E0fil009703>