aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/whichwayisup/Makefile8
-rw-r--r--games/whichwayisup/pkg-descr2
2 files changed, 4 insertions, 6 deletions
diff --git a/games/whichwayisup/Makefile b/games/whichwayisup/Makefile
index 06b1b97280e1..0f2fc6b06a38 100644
--- a/games/whichwayisup/Makefile
+++ b/games/whichwayisup/Makefile
@@ -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}/
diff --git a/games/whichwayisup/pkg-descr b/games/whichwayisup/pkg-descr
index 7cc58cc52927..66219fa17ebb 100644
--- a/games/whichwayisup/pkg-descr
+++ b/games/whichwayisup/pkg-descr
@@ -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>