svn commit: r329256 - head/games/goonies
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Oct 4 01:47:04 UTC 2013
Author: amdmi3
Date: Fri Oct 4 01:47:03 2013
New Revision: 329256
URL: http://svnweb.freebsd.org/changeset/ports/329256
Log:
- Support staging
- Convert USE_GMAKE to USES
Modified:
head/games/goonies/Makefile
Modified: head/games/goonies/Makefile
==============================================================================
--- head/games/goonies/Makefile Fri Oct 4 01:40:37 2013 (r329255)
+++ head/games/goonies/Makefile Fri Oct 4 01:47:03 2013 (r329256)
@@ -13,7 +13,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= amdmi3 at FreeBSD.org
COMMENT= Remake of the 8 bit classic game 'The Goonies'
-USE_GMAKE= yes
+USES= gmake
USE_SDL= sdl mixer image
USE_GL= yes
@@ -23,11 +23,9 @@ MAKE_ENV= DATADIR="${DATADIR}"
PLIST_FILES= bin/${PORTNAME}
-DATADIRS= sound graphics maps
PORTDOCS= *
PORTDATA= *
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${ARCH} == "sparc64"
@@ -43,14 +41,13 @@ post-patch:
${WRKSRC}/src/TheGoonies.cpp
do-install:
- ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/goonies ${PREFIX}/bin/
-.if !defined(NOPORTDATA)
- ${MKDIR} ${DATADIR}
- cd ${WRKSRC} && ${COPYTREE_SHARE} 'sound graphics maps' ${DATADIR}/
-.endif
+ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/goonies ${STAGEDIR}${PREFIX}/bin/
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} \
+ 'sound graphics maps' ${STAGEDIR}${DATADIR}/
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}/
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}/
.endif
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list