summaryrefslogtreecommitdiff
path: root/games/xpuyopuyo
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>2000-06-30 20:36:21 +0000
committerBrian Feldman <green@FreeBSD.org>2000-06-30 20:36:21 +0000
commit195343edb9b40f2d21a1659aaa79ed0f132a63f6 (patch)
tree3ddfc78c429fd5833ed05d8be4946fef5e085de2 /games/xpuyopuyo
parentRemove info/ and info/dir. They are not created/installed by the port. (diff)
Update xpuyopuyo to version 0.4.1. New knobs added:
WITH_GNOME= install GNOME "foot menu" icon WITH_MUSIC= use libmikmod-based soundtrack WITH_ROTATE_FIXED= enable single-blob rotation WITH_AIBREED= enable AI cross-breeding Approved by: maintainer
Notes
Notes: svn path=/head/; revision=30033
Diffstat (limited to 'games/xpuyopuyo')
-rw-r--r--games/xpuyopuyo/Makefile34
-rw-r--r--games/xpuyopuyo/distinfo2
-rw-r--r--games/xpuyopuyo/pkg-plist4
3 files changed, 36 insertions, 4 deletions
diff --git a/games/xpuyopuyo/Makefile b/games/xpuyopuyo/Makefile
index 2742c545024e..b985ddee6f3d 100644
--- a/games/xpuyopuyo/Makefile
+++ b/games/xpuyopuyo/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xpuyopuyo
-PORTVERSION= 0.3.8
+PORTVERSION= 0.4.1
CATEGORIES= games
MASTER_SITES= http://chaos2.org/xpuyopuyo/ \
http://lenin.dabney.caltech.edu/~justins/xpuyopuyo/
@@ -15,17 +15,45 @@ MAINTAINER= yinjieh@csie.nctu.edu.tw
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
+.if defined(WITH_GNOME)
+LIB_DEPENDS+= gnome.4:${PORTSDIR}/x11/gnomelibs
+.endif
+.if defined(WITH_MUSIC)
+LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod
+.endif
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_GMAKE= yes
USE_X_PREFIX= yes
-GNU_CONFIGURE= yes
+USE_AUTOCONF= yes
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \
GLIB_CONFIG="${GLIB_CONFIG}"
-CONFIGURE_ARGS= --without-gnome
+.if defined(WITH_GNOME)
+CONFIGURE_ARGS+=--with-gnome=${X11BASE}
+.else
+CONFIGURE_ARGS+=--without-gnome
+.endif
+.if defined(WITH_ROTATE_FIXED)
+CONFIGURE_ARGS+=--enable-rotate-fixed
+.endif
+.if defined(WITH_AIBREED)
+CONFIGURE_ARGS+=--enable-aibreed
+.endif
+.if defined(WITH_MUSIC)
+CONFIGURE_ARGS+=--with-libmikmod-prefix=${LOCALBASE}
+.endif
MAN6= xpuyopuyo.6
+.if defined(WITH_GNOME)
+PLIST= ${WRKDIR}/PLIST
+
+pre-install:
+ @${CP} ${PKGDIR}/PLIST ${PLIST}
+ @${ECHO} share/gnome/apps/Games/xpuyopuyo.desktop >> ${PLIST}
+ @${ECHO} share/gnome/pixmaps/xpuyopuyo.xpm >> ${PLIST}
+.endif
+
.include <bsd.port.mk>
diff --git a/games/xpuyopuyo/distinfo b/games/xpuyopuyo/distinfo
index 97aea17fbb00..ae97b59c312f 100644
--- a/games/xpuyopuyo/distinfo
+++ b/games/xpuyopuyo/distinfo
@@ -1 +1 @@
-MD5 (xpuyopuyo-0.3.8.tar.gz) = 3b5333d49f17944538018b3197a3e906
+MD5 (xpuyopuyo-0.4.1.tar.gz) = a5b6529d0aca8d17e1015e8e67919ce7
diff --git a/games/xpuyopuyo/pkg-plist b/games/xpuyopuyo/pkg-plist
index 21e76c51ac95..0f56131f143b 100644
--- a/games/xpuyopuyo/pkg-plist
+++ b/games/xpuyopuyo/pkg-plist
@@ -1,4 +1,7 @@
bin/xpuyopuyo
+share/xpuyopuyo/sounds/game.xm
+share/xpuyopuyo/sounds/gameover.xm
+share/xpuyopuyo/sounds/prelude.xm
share/xpuyopuyo/themes/default/img_0.xpm
share/xpuyopuyo/themes/default/img_0j.xpm
share/xpuyopuyo/themes/default/img_1.xpm
@@ -97,4 +100,5 @@ share/xpuyopuyo/copying.txt
@dirrm share/xpuyopuyo/themes/3dRokz
@dirrm share/xpuyopuyo/themes/default
@dirrm share/xpuyopuyo/themes
+@dirrm share/xpuyopuyo/sounds
@dirrm share/xpuyopuyo