2013-07-12 17:01:45 +02:00
|
|
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
2009-04-09 05:09:04 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gondola
|
|
|
|
PORTVERSION= 1.1
|
2014-09-10 22:50:31 +02:00
|
|
|
PORTREVISION= 4
|
2009-04-09 05:09:04 +02:00
|
|
|
CATEGORIES= games
|
2012-08-08 00:47:29 +02:00
|
|
|
MASTER_SITES= http://files.arcticpaint.com/gondola/ \
|
2009-07-28 18:34:36 +02:00
|
|
|
http://mirror.amdmi3.ru/distfiles/
|
2009-04-09 05:09:04 +02:00
|
|
|
DISTNAME= Gondola-${PORTVERSION}-src
|
|
|
|
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
|
|
COMMENT= Create and optimize a distribution network of gondolas
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}rabbyt>=0.8.1:graphics/py-rabbyt \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}pyglet>=1.1:graphics/py-pyglet \
|
|
|
|
avbin>=7:multimedia/avbin
|
2009-04-09 05:09:04 +02:00
|
|
|
|
2014-09-30 15:50:24 +02:00
|
|
|
USES= python:run zip
|
2009-04-09 05:09:04 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
SUB_FILES= ${PORTNAME}
|
|
|
|
SUB_LIST= PROGRAM_DIR="${PREFIX}/lib/${PORTNAME}"
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/Gondola-${PORTVERSION}
|
|
|
|
|
2013-10-30 15:30:44 +01:00
|
|
|
PORTDATA= *
|
|
|
|
|
2009-09-11 23:57:40 +02:00
|
|
|
DESKTOP_ENTRIES="Gondola" \
|
|
|
|
"Create and optimize a distribution network of gondolas" \
|
|
|
|
"" \
|
|
|
|
"gondola" \
|
|
|
|
"Game;StrategyGame;" \
|
|
|
|
false
|
|
|
|
|
2009-04-09 05:09:04 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|data/|${DATADIR}/|g' ${WRKSRC}/gamelib/*.py
|
|
|
|
@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' \
|
|
|
|
${WRKSRC}/gamelib/data.py ${WRKSRC}/gamelib/main.py
|
|
|
|
@${RM} -f ${WRKSRC}/gamelib/*.{bak,orig}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} "snowui gamelib simplejson run_game.py" \
|
2013-10-30 15:30:44 +01:00
|
|
|
${STAGEDIR}${PREFIX}/lib/${PORTNAME}/
|
2013-12-16 19:18:07 +01:00
|
|
|
cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
|
2013-10-30 15:30:44 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
|
2009-04-09 05:09:04 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|