Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 2013 00:57:15 +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: r333951 - head/games/xscorch
Message-ID:  <201311160057.rAG0vFx9059395@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sat Nov 16 00:57:15 2013
New Revision: 333951
URL: http://svnweb.freebsd.org/changeset/ports/333951

Log:
  - Convert USE_GMAKE to USES
  - Convert .if to option helper
  - Use %%DATADIR%% in pkg-plist
  - Add stage support

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

Modified: head/games/xscorch/Makefile
==============================================================================
--- head/games/xscorch/Makefile	Sat Nov 16 00:47:27 2013	(r333950)
+++ head/games/xscorch/Makefile	Sat Nov 16 00:57:15 2013	(r333951)
@@ -16,21 +16,12 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 OPTIONS_DEFINE=	MIKMOD
 OPTIONS_DEFAULT=	MIKMOD
 
-USES=		perl5
+USES=		gmake perl5
 USE_GNOME=	gtk20
-USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 
-MAN6=		xscorch.6
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MMIKMOD}
-LIB_DEPENDS+=	mikmod.2:${PORTSDIR}/audio/libmikmod
-CONFIGURE_ARGS+=--with-libmikmod-prefix=${LOCALBASE}
-.else
-CONFIGURE_ARGS+=--disable-sound
-.endif
+MIKMOD_CONFIGURE_ON=	--with-libmikmod-prefix=${LOCALBASE}
+MIKMOD_CONFIGURE_OFF=	--disable-sound
+MMIKMOD_LIB_DEPENDS=	libmikmod.so:${PORTSDIR}/audio/libmikmod
 
 .include <bsd.port.mk>

Modified: head/games/xscorch/pkg-plist
==============================================================================
--- head/games/xscorch/pkg-plist	Sat Nov 16 00:47:27 2013	(r333950)
+++ head/games/xscorch/pkg-plist	Sat Nov 16 00:57:15 2013	(r333951)
@@ -1,14 +1,15 @@
 bin/xscorch
 bin/xscorch-server
-share/xscorch/accessories.def
-share/xscorch/copying.txt
-share/xscorch/images/xscorch-icon.xpm
-share/xscorch/images/xscorch-logo.xpm
-share/xscorch/profiles.def
-share/xscorch/scorings.def
-share/xscorch/sounds/README
-share/xscorch/weapons.def
-share/xscorch/xscorch.txt
-@dirrm share/xscorch/sounds
-@dirrm share/xscorch/images
-@dirrm share/xscorch
+man/man6/xscorch.6.gz
+%%DATADIR%%/accessories.def
+%%DATADIR%%/copying.txt
+%%DATADIR%%/images/xscorch-icon.xpm
+%%DATADIR%%/images/xscorch-logo.xpm
+%%DATADIR%%/profiles.def
+%%DATADIR%%/scorings.def
+%%DATADIR%%/sounds/README
+%%DATADIR%%/weapons.def
+%%DATADIR%%/xscorch.txt
+@dirrm %%DATADIR%%/sounds
+@dirrm %%DATADIR%%/images
+@dirrm %%DATADIR%%



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