aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authornemysis <nemysis@FreeBSD.org>2014-03-31 01:28:57 +0800
committernemysis <nemysis@FreeBSD.org>2014-03-31 01:28:57 +0800
commitacb5e2f0123fd21010b04ef069e4f8b8d72c258a (patch)
tree8462bb67b5ce3b1a429bebe6e81aa4321f8c0279 /games
parent5d2adc85ab6ead241dbbd5ffd672384797304938 (diff)
downloadfreebsd-ports-gnome-acb5e2f0123fd21010b04ef069e4f8b8d72c258a.tar.gz
freebsd-ports-gnome-acb5e2f0123fd21010b04ef069e4f8b8d72c258a.tar.zst
freebsd-ports-gnome-acb5e2f0123fd21010b04ef069e4f8b8d72c258a.zip
- Remove double extract rockdodger_music.tar.gz
- Strip executable - Remove setuid executable and change group to games
Diffstat (limited to 'games')
-rw-r--r--games/rockdodger/Makefile5
-rw-r--r--games/rockdodger/files/patch-Makefile13
2 files changed, 12 insertions, 6 deletions
diff --git a/games/rockdodger/Makefile b/games/rockdodger/Makefile
index 6061ceee836e..5829030ea4dc 100644
--- a/games/rockdodger/Makefile
+++ b/games/rockdodger/Makefile
@@ -9,8 +9,7 @@ MASTER_SITES= GOOGLE_CODE \
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
${PORTNAME}_music${EXTRACT_SUFX}:addons \
${PORTNAME}.png:addons
-EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
- ${PORTNAME}_music${EXTRACT_SUFX}
+EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= nemysis@FreeBSD.org
COMMENT= Addictive rock-dodging greeblie-killing platform game
@@ -44,6 +43,8 @@ post-patch:
${WRKSRC}/data/Makefile
post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
diff --git a/games/rockdodger/files/patch-Makefile b/games/rockdodger/files/patch-Makefile
index 52cd86fd4a61..a599bf558072 100644
--- a/games/rockdodger/files/patch-Makefile
+++ b/games/rockdodger/files/patch-Makefile
@@ -1,5 +1,5 @@
--- ./Makefile.orig 2013-12-28 17:42:18.000000000 +0100
-+++ ./Makefile 2014-01-15 20:20:49.000000000 +0100
++++ ./Makefile 2014-03-30 19:00:15.799562742 +0200
@@ -34,9 +34,9 @@
datadir = $(datarootdir)
bindir = $(exec_prefix)/bin
@@ -13,9 +13,14 @@
NEWD=$(PACKAGENAME)-$(VERSION)
COMPILEDATE=$(shell date '+%Y-%m-%d')
-@@ -103,9 +103,9 @@
- -chgrp games $(bindir)/$(EXENAME)
- chmod g+s $(bindir)/$(EXENAME)
+@@ -100,12 +100,12 @@
+ install: all
+ $(INSTALL) -d $(bindir) $(gamesdir)
+ $(INSTALL) $(EXENAME) $(bindir)
+- -chgrp games $(bindir)/$(EXENAME)
+- chmod g+s $(bindir)/$(EXENAME)
++# -chgrp games $(bindir)/$(EXENAME)
++# chmod g+s $(bindir)/$(EXENAME)
$(MAKE) -C data install
- touch $(gamesdir)/rockdodger.scores
- -chgrp games $(gamesdir)/rockdodger.scores