mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
- update url
- respect PREFIX PR: ports/152439 Submitted by: Anonymous <swell.k@gmail.com>
This commit is contained in:
parent
748e17dcad
commit
8842da69d4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=265047
@ -10,7 +10,7 @@ PORTVERSION= 0.7.9
|
||||
PORTREVISION= 2
|
||||
DISTVERSION= ${PORTVERSION:S/.//g}
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://hectigo.net/puskutraktori/whichwayisup/
|
||||
MASTER_SITES= http://www.hectigo.net/games/whichwayisup/
|
||||
DISTNAME= ${PORTNAME}_b${DISTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
@ -18,8 +18,6 @@ COMMENT= Platformer game with rotational twist
|
||||
|
||||
RUN_DEPENDS= py*-game>=1.7.1:${PORTSDIR}/devel/py-game
|
||||
|
||||
BROKEN= does not fetch
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_ZIP= yes
|
||||
PORTDOCS= README.txt changelog.txt
|
||||
@ -27,7 +25,7 @@ PORTDOCS= README.txt changelog.txt
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/libdir =/s|=.*|= "${PYTHON_SITELIBDIR}/${PORTNAME}"|'\
|
||||
@${REINPLACE_CMD} -e '/libdir =/s|=.*|= "${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}"|'\
|
||||
${WRKSRC}/run_game.py
|
||||
@${REINPLACE_CMD} -e '/data_dir =/s|data_py.*data.|"${DATADIR}"|'\
|
||||
${WRKSRC}/lib/data.py
|
||||
@ -40,7 +38,7 @@ do-build:
|
||||
|
||||
do-install:
|
||||
@cd ${WRKSRC}/data/&&${COPYTREE_SHARE} . ${DATADIR}/
|
||||
@cd ${WRKSRC}/lib/&&${COPYTREE_SHARE} . ${PYTHON_SITELIBDIR}/${PORTNAME}/
|
||||
@cd ${WRKSRC}/lib/&&${COPYTREE_SHARE} . ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/run_game.py ${PREFIX}/bin/${PORTNAME}
|
||||
.ifndef NOPORTDOCS
|
||||
@${INSTALL} -d ${DOCSDIR}/
|
||||
|
@ -2,5 +2,5 @@ Which Way Is Up is a traditional and challenging 2D platformer game
|
||||
with a slight rotational twist. Help a mysterious big-eared salaryman
|
||||
named Guy find his keys in a labyrinth of dangers and bad dialogue.
|
||||
|
||||
WWW: http://hectigo.net/puskutraktori/whichwayisup/
|
||||
WWW: http://www.hectigo.net/games/whichwayisup/
|
||||
Author: Olli "Hectigo" Etuaho <admin[at]hectigo.net>
|
||||
|
Loading…
Reference in New Issue
Block a user