Allow stripping as a regular user
This commit is contained in:
parent
d86cb8de94
commit
d95d778ac6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370714
@ -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/
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user