Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Dec 2013 00:36:41 +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: r337109 - head/games/egoboo
Message-ID:  <201312210036.rBL0afOV031331@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Dec 21 00:36:41 2013
New Revision: 337109
URL: http://svnweb.freebsd.org/changeset/ports/337109

Log:
  - Support staging
  - Convert USE_GMAKE to USES

Modified:
  head/games/egoboo/Makefile

Modified: head/games/egoboo/Makefile
==============================================================================
--- head/games/egoboo/Makefile	Sat Dec 21 00:28:51 2013	(r337108)
+++ head/games/egoboo/Makefile	Sat Dec 21 00:36:41 2013	(r337109)
@@ -13,31 +13,25 @@ DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	A 3D dungeon crawling adventure in the spirit of NetHack
 
+USES=		gmake
 USE_SDL=	sdl ttf mixer image
 USE_GL=		yes
-USE_GMAKE=	yes
 USE_DOS2UNIX=	*.c
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/game
 MAKEFILE=	Makefile.unix
+MAKE_ARGS=	PREFIX="${STAGEDIR}${PREFIX}"
 
 PLIST_FILES=	bin/${PORTNAME} libexec/${PORTNAME}
-
 PORTDATA=	*
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/share/egoboo|${DATADIR}|g; \
 		s|cp -a|cp -RPp|; s|/usr/libexec|${PREFIX}/libexec|' \
 		${WRKSRC}/egoboo.sh
 
 post-install:
-.if !defined(NOPORTDATA)
-	${MKDIR} ${DATADIR}
 	@cd ${WRKDIR}/${DISTNAME:S/-/-data-/} && \
-		${COPYTREE_SHARE} . ${DATADIR}
-.endif
-
-	@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
+		${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
 
 .include <bsd.port.mk>



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