Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2013 10:22:52 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r331672 - head/games/simutrans
Message-ID:  <201310261022.r9QAMqxW015563@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Sat Oct 26 10:22:52 2013
New Revision: 331672
URL: http://svnweb.freebsd.org/changeset/ports/331672

Log:
  - USES=gmake.
  - Staging.

Modified:
  head/games/simutrans/Makefile

Modified: head/games/simutrans/Makefile
==============================================================================
--- head/games/simutrans/Makefile	Sat Oct 26 10:11:45 2013	(r331671)
+++ head/games/simutrans/Makefile	Sat Oct 26 10:22:52 2013	(r331672)
@@ -33,7 +33,7 @@ MAKE_ARGS=	BACKEND=mixer_sdl \
 		FLAGS="-DUSE_C -DREVISION=${SIMUTRANS_REVISION}" \
 		VERBOSE=1
 NO_WRKSUBDIR=	yes
-USE_GMAKE=	yes
+USES=		gmake
 USE_SDL=	sdl mixer
 USE_ZIP=	yes
 
@@ -41,7 +41,6 @@ DESKTOP_ENTRIES=Simutrans "" "" simutran
 PLIST_FILES=	bin/simutrans bin/simutrans-bin
 PORTDATA=	*
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MPAK64}
@@ -58,18 +57,18 @@ post-patch:
 
 do-install:
 	cd ${WRKSRC}/simutrans && ${COPYTREE_SHARE} \
-		"config font music script skin text" ${DATADIR}
+		"config font music script skin text" ${STAGEDIR}${DATADIR}
 .if ${PORT_OPTIONS:MPAK64}
-	cd ${WRKSRC}/simutrans && ${COPYTREE_SHARE} pak ${DATADIR}
+	cd ${WRKSRC}/simutrans && ${COPYTREE_SHARE} pak ${STAGEDIR}${DATADIR}
 .endif
 .if ${PORT_OPTIONS:MPAK128}
-	cd ${WRKSRC}/simutrans && ${COPYTREE_SHARE} pak128 ${DATADIR}
+	cd ${WRKSRC}/simutrans && ${COPYTREE_SHARE} pak128 ${STAGEDIR}${DATADIR}
 .endif
 .if ${PORT_OPTIONS:MDOCS}
-	${INSTALL_DATA} ${WRKSRC}/simutrans/readme.txt ${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/simutrans/readme.txt ${STAGEDIR}${DATADIR}
 .endif
 	${INSTALL_PROGRAM} ${WRKSRC}/build/default/sim \
-		${PREFIX}/bin/simutrans-bin
-	${INSTALL_SCRIPT} ${FILESDIR}/simutrans ${PREFIX}/bin/simutrans
+		${STAGEDIR}${PREFIX}/bin/simutrans-bin
+	${INSTALL_SCRIPT} ${FILESDIR}/simutrans ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>



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