diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-01-20 09:36:24 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-01-20 09:36:24 +0800 |
commit | 776c26794e8a9a726a7592a2ea274b04522594d5 (patch) | |
tree | f3f25e730a5bca1e0c55e3cefbb9633471067242 /games | |
parent | 55f39b6d9c3e5b935c2bc42c5d68803993dca7f8 (diff) | |
download | freebsd-ports-gnome-776c26794e8a9a726a7592a2ea274b04522594d5.tar.gz freebsd-ports-gnome-776c26794e8a9a726a7592a2ea274b04522594d5.tar.zst freebsd-ports-gnome-776c26794e8a9a726a7592a2ea274b04522594d5.zip |
- Support staging
Diffstat (limited to 'games')
-rw-r--r-- | games/railroad-rampage/Makefile | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/games/railroad-rampage/Makefile b/games/railroad-rampage/Makefile index 588c3830a511..8c009004cb29 100644 --- a/games/railroad-rampage/Makefile +++ b/games/railroad-rampage/Makefile @@ -3,7 +3,7 @@ PORTNAME= railroad-rampage PORTVERSION= 1.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= games MASTER_SITES= http://mirror.amdmi3.ru/distfiles/ DISTNAME= RailroadRampage_${PORTVERSION}_Linux @@ -12,9 +12,9 @@ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Tower Defence-like Arcade and Strategy combination BUILD_DEPENDS= bgdc:${PORTSDIR}/devel/bennugd-core \ - ${LOCALBASE}/lib/bennugd/mod_grproc.so:${PORTSDIR}/devel/bennugd-modules + ${LOCALBASE}/lib/bennugd/libmod_grproc.so:${PORTSDIR}/devel/bennugd-modules RUN_DEPENDS= bgdi:${PORTSDIR}/devel/bennugd-core \ - ${LOCALBASE}/lib/bennugd/mod_grproc.so:${PORTSDIR}/devel/bennugd-modules + ${LOCALBASE}/lib/bennugd/libmod_grproc.so:${PORTSDIR}/devel/bennugd-modules USE_ZIP= yes @@ -30,24 +30,21 @@ DESKTOP_ENTRIES="Railroad Rampage" \ "Game;StrategyGame;ArcadeGame;" \ false -NO_STAGE= yes -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS do-build: cd ${WRKSRC} && ${SETENV} \ - LD_LIBRARY_PATH=${LOCALBASE}/lib/bennugd \ - BENNUDIR=${LOCALBASE}/lib/bennugd \ - ${LOCALBASE}/bin/bgdc RailroadRampage.prg || true + LD_LIBRARY_PATH="${LOCALBASE}/lib/bennugd" \ + BENNUDIR="${LOCALBASE}/lib/bennugd" \ + "${LOCALBASE}/bin/bgdc" RailroadRampage.prg || true; \ + [ -e RailroadRampage.dcb ] do-install: - ${MKDIR} ${DATADIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} "Music Sound" ${DATADIR}/ + cd ${WRKSRC} && ${COPYTREE_SHARE} "Music Sound" ${STAGEDIR}${DATADIR}/ ${INSTALL_DATA} ${WRKSRC}/traintd.fpg ${WRKSRC}/RailroadRampage.dcb \ - ${WRKSRC}/RailroadRampage.png ${DATADIR}/ - ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/ -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/ReadMe.txt ${DOCSDIR}/ -.endif + ${WRKSRC}/RailroadRampage.png ${STAGEDIR}${DATADIR}/ + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/ReadMe.txt ${STAGEDIR}${DOCSDIR}/ .include <bsd.port.mk> |