aboutsummaryrefslogtreecommitdiff
path: root/games/burgerspace
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-08-25 07:38:28 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-08-25 07:38:28 +0000
commitd2aa22906d2db3968306ac59b69ae7240c9e9ce0 (patch)
tree4f3b6ab588632be3e6ff464b4b7f7340dc655af3 /games/burgerspace
parentb90b9f57720392a96098d8b415400e1a66f64f11 (diff)
downloadports-d2aa22906d2db3968306ac59b69ae7240c9e9ce0.tar.gz
ports-d2aa22906d2db3968306ac59b69ae7240c9e9ce0.zip
- Update to 1.8.2
- Project moved to new location, update MASTER_SITES and WWW - Don't roll our own installation method, instead, rely on distribution's Makefile. This makes game sounds correctly installed [1] Reported by: Jeff Molofee <nehe at telus.net> (freebsd-ports@) [1] Tested by: Jeff Molofee <nehe at telus.net>
Notes
Notes: svn path=/head/; revision=219138
Diffstat (limited to 'games/burgerspace')
-rw-r--r--games/burgerspace/Makefile20
-rw-r--r--games/burgerspace/distinfo6
-rw-r--r--games/burgerspace/pkg-descr2
-rw-r--r--games/burgerspace/pkg-plist20
4 files changed, 36 insertions, 12 deletions
diff --git a/games/burgerspace/Makefile b/games/burgerspace/Makefile
index 2c2b7f9df943..f259787751c5 100644
--- a/games/burgerspace/Makefile
+++ b/games/burgerspace/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= burgerspace
-PORTVERSION= 1.8.1
-PORTREVISION= 2
+PORTVERSION= 1.8.2
CATEGORIES= games
-MASTER_SITES= http://www3.sympatico.ca/sarrazip/dev/
+MASTER_SITES= http://perso.b2b2c.ca/sarrazip/dev/
MAINTAINER= ports@FreeBSD.org
COMMENT= A BurgerTime clone
@@ -22,13 +21,18 @@ SDL_CONFIG?= ${LOCALBASE}/bin/sdl-config
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
CCONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_ARGS+= --with-gengameng-prefix="${LOCALBASE}"
MAN6= burgerspace.6
-PLIST_FILES= bin/burgerspace
+PORTDOCS= *
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/burgerspace ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/doc/burgerspace.6 ${PREFIX}/man/man6
+post-patch:
+ @${REINPLACE_CMD} -e 's|^pkgsounddir =.*|pkgsounddir = ${DATADIR}/sounds|' \
+ ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's|docdir = .*|docdir = ${DOCSDIR}|' \
+ ${WRKSRC}/Makefile.in
+.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -e '/^install-data-am/s|install-docDATA||' \
+ ${WRKSRC}/Makefile.in
+.endif
.include <bsd.port.mk>
diff --git a/games/burgerspace/distinfo b/games/burgerspace/distinfo
index 78c03cae10a9..a5aa8f69aa17 100644
--- a/games/burgerspace/distinfo
+++ b/games/burgerspace/distinfo
@@ -1,3 +1,3 @@
-MD5 (burgerspace-1.8.1.tar.gz) = f188958086f0a3d1d988eaa6b1e105aa
-SHA256 (burgerspace-1.8.1.tar.gz) = 9183f3a37bc19e3eea8cfcac3c6a6f22288475fe2ba80b7442144833ea80422b
-SIZE (burgerspace-1.8.1.tar.gz) = 222067
+MD5 (burgerspace-1.8.2.tar.gz) = 84ac8bc5256b5a0798d6d3e6924156e1
+SHA256 (burgerspace-1.8.2.tar.gz) = 17ddac3caaf7be53845ef90de4f86d185f0d2953c753e618ec1273bef1630dcd
+SIZE (burgerspace-1.8.2.tar.gz) = 237756
diff --git a/games/burgerspace/pkg-descr b/games/burgerspace/pkg-descr
index c56fce6f2809..5a19cbeeef4c 100644
--- a/games/burgerspace/pkg-descr
+++ b/games/burgerspace/pkg-descr
@@ -3,4 +3,4 @@ hamburger ingredients (buns, meat and lettuce) to make them fall from
floor to floor, until they end up in the plates at the bottom of the
screen.
-WWW: http://www3.sympatico.ca/sarrazip/dev/burgerspace.html
+WWW: http://perso.b2b2c.ca/sarrazip/dev/burgerspace.html
diff --git a/games/burgerspace/pkg-plist b/games/burgerspace/pkg-plist
new file mode 100644
index 000000000000..062d8fb68801
--- /dev/null
+++ b/games/burgerspace/pkg-plist
@@ -0,0 +1,20 @@
+bin/burgerspace
+share/applications/burgerspace.desktop
+share/pixmaps/burgerspace.png
+%%DATADIR%%/sounds/chef-gets-treat.wav
+%%DATADIR%%/sounds/chef-shoots-blanks.wav
+%%DATADIR%%/sounds/chef-throws-pepper.wav
+%%DATADIR%%/sounds/enemy-catches-chef.wav
+%%DATADIR%%/sounds/enemy-paralyzed.wav
+%%DATADIR%%/sounds/enemy-smashed.wav
+%%DATADIR%%/sounds/ingredient-bounces.wav
+%%DATADIR%%/sounds/ingredient-falls.wav
+%%DATADIR%%/sounds/ingredient-in-plate.wav
+%%DATADIR%%/sounds/ingredient-lowered.wav
+%%DATADIR%%/sounds/level-finished.wav
+%%DATADIR%%/sounds/new-game-starts.wav
+%%DATADIR%%/sounds/treat-appears.wav
+%%DATADIR%%/sounds/treat-disappears.wav
+@dirrm %%DATADIR%%/sounds
+@dirrm %%DATADIR%%
+@dirrmtry share/applications