aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/sdlroids/Makefile5
-rw-r--r--games/sdlroids/files/patch-Makefile.in15
-rw-r--r--games/sdlroids/pkg-plist3
3 files changed, 18 insertions, 5 deletions
diff --git a/games/sdlroids/Makefile b/games/sdlroids/Makefile
index c423f828112d..253fb9217690 100644
--- a/games/sdlroids/Makefile
+++ b/games/sdlroids/Makefile
@@ -3,7 +3,7 @@
PORTNAME= sdlroids
PORTVERSION= 1.3.4
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= games
MASTER_SITES= SF \
SF/nemysisfreebsdp/${CATEGORIES}/:icons
@@ -16,10 +16,11 @@ MAINTAINER= games@FreeBSD.org
COMMENT= Enhanced shoot-the-asteroids game
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake tar:bzip2
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --datadir=${STAGEDIR}${PREFIX}/share
+CONFIGURE_ARGS= --datadir=${PREFIX}/share
USE_GCC= yes
USE_CSTD= gnu89
USE_SDL= mixer sdl
diff --git a/games/sdlroids/files/patch-Makefile.in b/games/sdlroids/files/patch-Makefile.in
new file mode 100644
index 000000000000..e64e27cd0e15
--- /dev/null
+++ b/games/sdlroids/files/patch-Makefile.in
@@ -0,0 +1,15 @@
+--- Makefile.in.orig 2001-03-28 03:27:52.000000000 +0400
++++ Makefile.in 2014-10-02 14:40:03.770371160 +0400
+@@ -434,9 +434,9 @@
+
+
+ install-data-local:
+- @/bin/sh $(srcdir)/mkinstalldirs $(SOUNDSDIR) $(GFXDIR)
+- $(INSTALL_DATA) $(srcdir)/sounds/*.wav $(SOUNDSDIR)
+- $(INSTALL_DATA) $(srcdir)/bmp/*.bmp $(GFXDIR)
++ @/bin/sh $(srcdir)/mkinstalldirs $(DESTDIR)$(SOUNDSDIR) $(DESTDIR)$(GFXDIR)
++ $(INSTALL_DATA) $(srcdir)/sounds/*.wav $(DESTDIR)$(SOUNDSDIR)
++ $(INSTALL_DATA) $(srcdir)/bmp/*.bmp $(DESTDIR)$(GFXDIR)
+
+ # Rule to build tar-gzipped distribution package
+ $(PACKAGE)-$(VERSION).tar.gz: dist
diff --git a/games/sdlroids/pkg-plist b/games/sdlroids/pkg-plist
index e45b14e66817..0355851fe097 100644
--- a/games/sdlroids/pkg-plist
+++ b/games/sdlroids/pkg-plist
@@ -31,6 +31,3 @@ share/pixmaps/sdlroids.png
%%DATADIR%%/sounds/swarmsplit.wav
%%DATADIR%%/sounds/thrust.wav
%%DATADIR%%/sounds/title.wav
-@dirrm %%DATADIR%%/sounds
-@dirrm %%DATADIR%%/bmp
-@dirrm %%DATADIR%%