diff options
author | Brian Feldman <green@FreeBSD.org> | 2000-06-30 20:36:21 +0000 |
---|---|---|
committer | Brian Feldman <green@FreeBSD.org> | 2000-06-30 20:36:21 +0000 |
commit | 195343edb9b40f2d21a1659aaa79ed0f132a63f6 (patch) | |
tree | 3ddfc78c429fd5833ed05d8be4946fef5e085de2 /games/xpuyopuyo/Makefile | |
parent | f204ec2da0b70a17c3dccb31c859e0f47e44baea (diff) | |
download | ports-195343edb9b40f2d21a1659aaa79ed0f132a63f6.tar.gz ports-195343edb9b40f2d21a1659aaa79ed0f132a63f6.zip |
Notes
Diffstat (limited to 'games/xpuyopuyo/Makefile')
-rw-r--r-- | games/xpuyopuyo/Makefile | 34 |
1 files changed, 31 insertions, 3 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> |