aboutsummaryrefslogtreecommitdiffstats
path: root/games/freedink-engine
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2014-06-10 01:07:56 +0800
committerbdrewery <bdrewery@FreeBSD.org>2014-06-10 01:07:56 +0800
commit4b2c6ea33723222dc9ac08be529d0847bcba714a (patch)
tree6ea30e1810a4d19eb72bf2ebcc1d3f36dfdb8c10 /games/freedink-engine
parentc6eb088a7a1f2fcdbea3f6b144f29e433551b3c3 (diff)
downloadfreebsd-ports-gnome-4b2c6ea33723222dc9ac08be529d0847bcba714a.tar.gz
freebsd-ports-gnome-4b2c6ea33723222dc9ac08be529d0847bcba714a.tar.zst
freebsd-ports-gnome-4b2c6ea33723222dc9ac08be529d0847bcba714a.zip
- Fix build as user
- Stop removing directories owned by dependencies PR: 190198 Submitted by: shurd@sasktel.net
Diffstat (limited to 'games/freedink-engine')
-rw-r--r--games/freedink-engine/Makefile2
-rw-r--r--games/freedink-engine/files/patch-src_Makefile.in23
-rw-r--r--games/freedink-engine/pkg-plist4
3 files changed, 24 insertions, 5 deletions
diff --git a/games/freedink-engine/Makefile b/games/freedink-engine/Makefile
index 680918616299..9e2f5e34c6f2 100644
--- a/games/freedink-engine/Makefile
+++ b/games/freedink-engine/Makefile
@@ -3,7 +3,7 @@
PORTNAME= freedink
PORTVERSION= 1.08.${PORTVER}
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= freedink
diff --git a/games/freedink-engine/files/patch-src_Makefile.in b/games/freedink-engine/files/patch-src_Makefile.in
new file mode 100644
index 000000000000..b2789b316a85
--- /dev/null
+++ b/games/freedink-engine/files/patch-src_Makefile.in
@@ -0,0 +1,23 @@
+--- src/Makefile.in.orig 2012-12-09 09:12:48.000000000 -0800
++++ src/Makefile.in 2014-05-24 21:29:13.000000000 -0700
+@@ -1541,16 +1541,20 @@
+ @HAVE_UPX_TRUE@ -$(UPX) "$(DESTDIR)$(bindir)/freedinkedit$(EXEEXT)"
+ # Bundle resources
+ @HAVE_ZIP_TRUE@ zip -j res.zip $(resdir)/LiberationSans-Regular.ttf
++@HAVE_ZIP_TRUE@ chmod 0755 "$(DESTDIR)$(bindir)/freedink$(EXEEXT)"
+ @HAVE_ZIP_TRUE@ cat res.zip >> "$(DESTDIR)$(bindir)/freedink$(EXEEXT)"
+ @HAVE_ZIP_TRUE@ rm -f res.zip
+ @HAVE_ZIP_TRUE@ zip -A "$(DESTDIR)$(bindir)/freedink$(EXEEXT)"
++@HAVE_ZIP_TRUE@ chmod 0555 "$(DESTDIR)$(bindir)/freedink$(EXEEXT)"
+
+ @HAVE_ZIP_TRUE@ zip -j res.zip $(resdir)/LiberationSans-Regular.ttf
+ # Not including $(resdir)/stop.wav $(resdir)/jump.wav until we
+ # replace them with free sounds
++@HAVE_ZIP_TRUE@ chmod 0755 "$(DESTDIR)$(bindir)/freedinkedit$(EXEEXT)"
+ @HAVE_ZIP_TRUE@ cat res.zip >> "$(DESTDIR)$(bindir)/freedinkedit$(EXEEXT)"
+ @HAVE_ZIP_TRUE@ rm -f res.zip
+ @HAVE_ZIP_TRUE@ zip -A "$(DESTDIR)$(bindir)/freedinkedit$(EXEEXT)"
++@HAVE_ZIP_TRUE@ chmod 0555 "$(DESTDIR)$(bindir)/freedinkedit$(EXEEXT)"
+ # Add 'dink' and 'dinkedit' aliases, to please 3rd-party tools
+ $(LN_S) -f "freedink$(EXEEXT)" "$(DESTDIR)$(bindir)/dink$(EXEEXT)"
+ $(LN_S) -f "freedinkedit$(EXEEXT)" "$(DESTDIR)$(bindir)/dinkedit$(EXEEXT)"
diff --git a/games/freedink-engine/pkg-plist b/games/freedink-engine/pkg-plist
index db5d9ff8ae30..a5f32658d2d5 100644
--- a/games/freedink-engine/pkg-plist
+++ b/games/freedink-engine/pkg-plist
@@ -69,10 +69,6 @@ share/locale/vi/LC_MESSAGES/freedink-gnulib.mo
share/locale/vi/LC_MESSAGES/freedink.mo
share/locale/zh_CN/LC_MESSAGES/freedink-gnulib.mo
share/locale/zh_TW/LC_MESSAGES/freedink-gnulib.mo
-@dirrmtry share/locale/en@boldquot/LC_MESSAGES
-@dirrmtry share/locale/en@boldquot
-@dirrmtry share/locale/en@quot/LC_MESSAGES
-@dirrmtry share/locale/en@quot
@dirrmtry share/locale/rw/LC_MESSAGES
@dirrmtry share/locale/rw
@dirrmtry %%DATADIR%%