diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-10-17 00:01:16 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-10-17 00:01:16 +0000 |
commit | 5baa5eb700462b494fb1ee0f26a01e4951b03da1 (patch) | |
tree | f8be9ed618e70832234c2ee287f71a07749f3e57 /games/xorgramana/Makefile | |
parent | 1fa3a0e3441ecf34386b0c7426d4d1ea9b513781 (diff) | |
download | ports-5baa5eb700462b494fb1ee0f26a01e4951b03da1.tar.gz ports-5baa5eb700462b494fb1ee0f26a01e4951b03da1.zip |
- Support staging
- Convert USE_GMAKE to USES
Notes
Notes:
svn path=/head/; revision=330576
Diffstat (limited to 'games/xorgramana/Makefile')
-rw-r--r-- | games/xorgramana/Makefile | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/games/xorgramana/Makefile b/games/xorgramana/Makefile index 7f3f42a764ea..47d07f1fa042 100644 --- a/games/xorgramana/Makefile +++ b/games/xorgramana/Makefile @@ -13,17 +13,15 @@ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Logic word puzzle game set inside a series of mazes USE_BZIP2= yes -USE_GMAKE= yes +USES= gmake USE_SDL= sdl image USE_GL= glu ALL_TARGET= ${PORTNAME} -MKE_JOBS_SAFE= yes - -PORTDOCS= README -PORTDATA= * PLIST_FILES= bin/${PORTNAME} +PORTDOCS= * +PORTDATA= * DESKTOP_ENTRIES="XorGramana" \ "Logic word puzzle game set inside a series of mazes" \ @@ -32,23 +30,16 @@ DESKTOP_ENTRIES="XorGramana" \ "Game;LogicGame;" \ false -NO_STAGE= yes .include <bsd.port.options.mk> post-patch: @${REINPLACE_CMD} -e 's|GFX/|${DATADIR}/&|' ${WRKSRC}/icons.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin -.if !defined(NOPORTDATA) - ${MKDIR} ${DATADIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} "data GFX" ${DATADIR} -.endif -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} -.for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} -.endfor -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${DATADIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} "data GFX" ${STAGEDIR}${DATADIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |