Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2013 23:11:48 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333804 - head/games/xpuyopuyo
Message-ID:  <201311142311.rAENBmgP032630@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Thu Nov 14 23:11:48 2013
New Revision: 333804
URL: http://svnweb.freebsd.org/changeset/ports/333804

Log:
  - 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

Modified:
  head/games/xpuyopuyo/Makefile
  head/games/xpuyopuyo/pkg-plist

Modified: head/games/xpuyopuyo/Makefile
==============================================================================
--- head/games/xpuyopuyo/Makefile	Thu Nov 14 22:59:27 2013	(r333803)
+++ head/games/xpuyopuyo/Makefile	Thu Nov 14 23:11:48 2013	(r333804)
@@ -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}
+
+ROTATE_FIXED_CONFIGURE_ENABLE=	rotate-fixed
 
-.if ${PORT_OPTIONS:MMIKMOD} || exists(${LOCALBASE}/lib/libmikmod.a)
-LIB_DEPENDS+=	mikmod.2:${PORTSDIR}/audio/libmikmod
-CONFIGURE_ARGS+=--with-libmikmod-prefix=${LOCALBASE}
-.endif
-
-.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>

Modified: head/games/xpuyopuyo/pkg-plist
==============================================================================
--- head/games/xpuyopuyo/pkg-plist	Thu Nov 14 22:59:27 2013	(r333803)
+++ head/games/xpuyopuyo/pkg-plist	Thu Nov 14 23:11:48 2013	(r333804)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311142311.rAENBmgP032630>