Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 2013 00:46:10 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r328539 - head/games/gnurobbo
Message-ID:  <201309280046.r8S0kAq9073199@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Sep 28 00:46:09 2013
New Revision: 328539
URL: http://svnweb.freebsd.org/changeset/ports/328539

Log:
  - Support staging
  - Convert USE_GMAKE to USES

Deleted:
  head/games/gnurobbo/pkg-plist
Modified:
  head/games/gnurobbo/Makefile

Modified: head/games/gnurobbo/Makefile
==============================================================================
--- head/games/gnurobbo/Makefile	Sat Sep 28 00:43:17 2013	(r328538)
+++ head/games/gnurobbo/Makefile	Sat Sep 28 00:46:09 2013	(r328539)
@@ -11,22 +11,22 @@ EXTRACT_SUFX=	-source.tar.gz
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Reimplementation of LK Avalon's Robbo for the Atari XE/XL
 
-USE_GMAKE=	yes
+USES=		gmake
 USE_SDL=	sdl ttf mixer image
 
 MAKE_ENV=	PACKAGE_DATA_DIR="${DATADIR}" \
 		BINDIR="${PREFIX}/bin" \
 		DOCDIR="${DOCSDIR}"
 
+PLIST_FILES=	bin/${PORTNAME}
 PORTDOCS=	*
+PORTDATA=	*
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	DOCS
 
 post-patch:
 	@${REINPLACE_CMD} -e '/define DEBUG_DUMP_VM_USAGE/ d' ${WRKSRC}/game.c
-.if ! ${PORT_OPTIONS:MDOCS}
-	@${REINPLACE_CMD} -e '/DOCDIR/ d' ${WRKSRC}/Makefile
-.endif
+	@${REINPLACE_CMD} -e '/^install:/,$$ s|$$([A-Z_]*DIR)|${STAGEDIR}&| g' \
+		${WRKSRC}/Makefile
 
 .include <bsd.port.mk>



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