aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-11-15 07:11:48 +0800
committerdanilo <danilo@FreeBSD.org>2013-11-15 07:11:48 +0800
commitfc9a0cc89af29e9eb7901a8b64478dcb36d2cdc7 (patch)
tree3a807dccd18cc1825d8cf4d51f45bb0791c2b89b /games
parent32d051e673a765845bb24ca02637481597c35639 (diff)
downloadfreebsd-ports-gnome-fc9a0cc89af29e9eb7901a8b64478dcb36d2cdc7.tar.gz
freebsd-ports-gnome-fc9a0cc89af29e9eb7901a8b64478dcb36d2cdc7.tar.zst
freebsd-ports-gnome-fc9a0cc89af29e9eb7901a8b64478dcb36d2cdc7.zip
- Remove the indefinite article from COMMENT
- Convert USE_GMAKE to USES - Convert all "ifs" in options helpers - Convert LIB_DEPENDS to new syntax - Add stage support
Diffstat (limited to 'games')
-rw-r--r--games/xpuyopuyo/Makefile24
-rw-r--r--games/xpuyopuyo/pkg-plist1
2 files changed, 8 insertions, 17 deletions
diff --git a/games/xpuyopuyo/Makefile b/games/xpuyopuyo/Makefile
index 02131354af4b..78e9059938ca 100644
--- a/games/xpuyopuyo/Makefile
+++ b/games/xpuyopuyo/Makefile
@@ -8,35 +8,25 @@ CATEGORIES= games
MASTER_SITES= http://chaos2.org/xpuyopuyo/
MAINTAINER= ports@FreeBSD.org
-COMMENT= A puzzle game, somewhat like Tetris
+COMMENT= Puzzle game, somewhat like Tetris
-USE_GMAKE= yes
+USES= gmake
USE_XORG= xpm
USE_AUTOTOOLS= autoconf213
USE_GNOME= gtk12
WANT_GNOME= yes
-MAN6= xpuyopuyo.6
-
OPTIONS_DEFINE= MIKMOD ROTATE_FIXED AIBREED
ROTATE_FIXED_DESC= Fix position of one blob during rotation
AIBREED_DESC= Allow AI breeding
CONFIGURE_ARGS+= --without-gnome
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
+MIKMOD_LIB_DEPENDS= libmikmod.so:${PORTSDIR}/audio/libmikmod
+MIKMOD_CONFIGURE_ON= --with-libmikmod-prefix=${LOCALBASE}
-.if ${PORT_OPTIONS:MMIKMOD} || exists(${LOCALBASE}/lib/libmikmod.a)
-LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod
-CONFIGURE_ARGS+=--with-libmikmod-prefix=${LOCALBASE}
-.endif
+ROTATE_FIXED_CONFIGURE_ENABLE= rotate-fixed
-.if ${PORT_OPTIONS:MROTATE_FIXED}
-CONFIGURE_ARGS+=--enable-rotate-fixed
-.endif
-.if ${PORT_OPTIONS:MAIBREED}
-CONFIGURE_ARGS+=--enable-aibreed
-.endif
+AIBREED_CONFIGURE_ENABLE= aibreed
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/xpuyopuyo/pkg-plist b/games/xpuyopuyo/pkg-plist
index 5f9d26a2b00f..b51adb1ae052 100644
--- a/games/xpuyopuyo/pkg-plist
+++ b/games/xpuyopuyo/pkg-plist
@@ -1,4 +1,5 @@
bin/xpuyopuyo
+man/man6/xpuyopuyo.6.gz
%%GNOME:%%share/gnome/apps/Games/xpuyopuyo.desktop
%%GNOME:%%share/pixmaps/xpuyopuyo.xpm
%%DATADIR%%/copying.txt