Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 2014 14:42:15 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370714 - in head/games/atanks: . files
Message-ID:  <201410121442.s9CEgFTb089774@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Oct 12 14:42:14 2014
New Revision: 370714
URL: https://svnweb.freebsd.org/changeset/ports/370714
QAT: https://qat.redports.org/buildarchive/r370714/

Log:
  Allow stripping as a regular user

Modified:
  head/games/atanks/Makefile
  head/games/atanks/files/patch-Makefile
  head/games/atanks/pkg-plist

Modified: head/games/atanks/Makefile
==============================================================================
--- head/games/atanks/Makefile	Sun Oct 12 14:23:29 2014	(r370713)
+++ head/games/atanks/Makefile	Sun Oct 12 14:42:14 2014	(r370714)
@@ -29,8 +29,6 @@ post-patch:
 		${WRKSRC}/src/files.cpp
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-
 	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/
 

Modified: head/games/atanks/files/patch-Makefile
==============================================================================
--- head/games/atanks/files/patch-Makefile	Sun Oct 12 14:23:29 2014	(r370713)
+++ head/games/atanks/files/patch-Makefile	Sun Oct 12 14:42:14 2014	(r370714)
@@ -1,5 +1,5 @@
---- ./Makefile.orig	2014-03-29 16:11:25.000000000 +0100
-+++ ./Makefile	2014-04-09 17:29:31.394283912 +0200
+--- Makefile.orig	2014-03-29 15:11:25 UTC
++++ Makefile
 @@ -4,27 +4,27 @@
  BINPREFIX = $(PREFIX)
  
@@ -29,7 +29,7 @@
 -	$(INSTALL) -m 644 atanks.desktop $(DESTDIR)/usr/share/applications
 -	mkdir -p $(DESTDIR)/usr/share/icons/hicolor/48x48/apps
 -	$(INSTALL) -m 644 atanks.png $(DESTDIR)/usr/share/icons/hicolor/48x48/apps
-+	$(INSTALL) -m 555 atanks $(DESTDIR)${BINDIR}
++	$(BSD_INSTALL_PROGRAM) atanks $(DESTDIR)${BINDIR}
 +	mkdir -p $(DESTDIR)/usr/local/share/applications
 +	$(INSTALL) -m 644 atanks.desktop $(DESTDIR)/usr/local/share/applications
 +	mkdir -p $(DESTDIR)/usr/local/share/icons/hicolor/48x48/apps

Modified: head/games/atanks/pkg-plist
==============================================================================
--- head/games/atanks/pkg-plist	Sun Oct 12 14:23:29 2014	(r370713)
+++ head/games/atanks/pkg-plist	Sun Oct 12 14:42:14 2014	(r370714)
@@ -279,17 +279,3 @@ share/applications/atanks.desktop
 %%DATADIR%%/unicode.dat
 share/icons/hicolor/48x48/apps/atanks.png
 share/pixmaps/atanks.png
-@dirrm %%DATADIR%%/title
-@dirrm %%DATADIR%%/text
-@dirrm %%DATADIR%%/tankgun
-@dirrm %%DATADIR%%/tank
-@dirrm %%DATADIR%%/stock
-@dirrm %%DATADIR%%/sound
-@dirrm %%DATADIR%%/missile
-@dirrm %%DATADIR%%/misc
-@dirrm %%DATADIR%%/button
-@dirrm %%DATADIR%%
-@dirrmtry share/icons/hicolor/48x48/apps
-@dirrmtry share/icons/hicolor/48x48
-@dirrmtry share/icons/hicolor
-@dirrmtry share/icons



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