freebsd-ports/games/railroad-rampage/Makefile

54 lines
1.5 KiB
Makefile
Raw Normal View History

2013-05-23 03:59:45 +02:00
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= railroad-rampage
2009-12-09 02:51:02 +01:00
PORTVERSION= 1.2
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/
2009-12-09 02:51:02 +01:00
DISTNAME= RailroadRampage_${PORTVERSION}_Linux
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
RUN_DEPENDS= bgdi:${PORTSDIR}/devel/bennugd-core \
${LOCALBASE}/lib/bennugd/mod_grproc.so:${PORTSDIR}/devel/bennugd-modules
USE_ZIP= yes
MAKE_JOBS_SAFE= yes
2009-12-09 02:51:02 +01:00
WRKSRC= ${WRKDIR}/RailroadRampage_Linux
SUB_FILES= ${PORTNAME}
PORTDOCS= ReadMe.txt
DESKTOP_ENTRIES="Railroad Rampage" \
"Tower Defence-like Arcade and Strategy combination" \
"${DATADIR}/RailroadRampage.png" \
"railroad-rampage" \
"Game;StrategyGame;ArcadeGame;" \
false
2013-05-23 03:59:45 +02:00
.include <bsd.port.options.mk>
do-build:
cd ${WRKSRC} && ${SETENV} \
LD_LIBRARY_PATH=${LOCALBASE}/lib/bennugd \
BENNUDIR=${LOCALBASE}/lib/bennugd \
${LOCALBASE}/bin/bgdc RailroadRampage.prg || true
do-install:
${MKDIR} ${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "Music Sound" ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/traintd.fpg ${WRKSRC}/RailroadRampage.dcb \
${WRKSRC}/RailroadRampage.png ${DATADIR}/
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/
2013-05-23 03:59:45 +02:00
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ReadMe.txt ${DOCSDIR}/
.endif
.include <bsd.port.mk>