diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-12-21 08:36:41 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-12-21 08:36:41 +0800 |
commit | e6b692de0b9f59b8863ccef541bc4cb973f58069 (patch) | |
tree | edb83ca7fa72d84763fcd725b5efe8a95f64c750 /games | |
parent | 69b4515460bc56ceac6ec4541fafe79fdcadc585 (diff) | |
download | freebsd-ports-gnome-e6b692de0b9f59b8863ccef541bc4cb973f58069.tar.gz freebsd-ports-gnome-e6b692de0b9f59b8863ccef541bc4cb973f58069.tar.zst freebsd-ports-gnome-e6b692de0b9f59b8863ccef541bc4cb973f58069.zip |
- Support staging
- Convert USE_GMAKE to USES
Diffstat (limited to 'games')
-rw-r--r-- | games/egoboo/Makefile | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/games/egoboo/Makefile b/games/egoboo/Makefile index 7fdc83e6ec27..7db48a28c84a 100644 --- a/games/egoboo/Makefile +++ b/games/egoboo/Makefile @@ -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> |