diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-10-17 08:01:16 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-10-17 08:01:16 +0800 |
commit | 56ee90ca5ef100026351e59d1a2e8740a5b98956 (patch) | |
tree | f8be9ed618e70832234c2ee287f71a07749f3e57 | |
parent | 3c6474782982cd04d4ef48964b4aa11e99544588 (diff) | |
download | freebsd-ports-gnome-56ee90ca5ef100026351e59d1a2e8740a5b98956.tar.gz freebsd-ports-gnome-56ee90ca5ef100026351e59d1a2e8740a5b98956.tar.zst freebsd-ports-gnome-56ee90ca5ef100026351e59d1a2e8740a5b98956.zip |
- Support staging
- Convert USE_GMAKE to USES
-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> |