aboutsummaryrefslogtreecommitdiff
path: root/games/childsplay/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-04-24 13:31:36 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-04-24 13:31:36 +0000
commitd615f75e1def51bdc0541235daff6f010534bd4f (patch)
treebf39378d1249ee9db8594e3ec57d4f6745fd4c1d /games/childsplay/Makefile
parent68183157efdbd8c14a0a7b96b2fcbda65dcdc730 (diff)
Notes
Diffstat (limited to 'games/childsplay/Makefile')
-rw-r--r--games/childsplay/Makefile20
1 files changed, 8 insertions, 12 deletions
diff --git a/games/childsplay/Makefile b/games/childsplay/Makefile
index d16ab70700a7..4080a8de7977 100644
--- a/games/childsplay/Makefile
+++ b/games/childsplay/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= childsplay
-PORTVERSION= 0.71
-PORTREVISION= 1
+PORTVERSION= 0.80.2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= childsplay
@@ -20,24 +19,21 @@ BUILD_DEPENDS= ${LOCALBASE}/include/${PYTHON_VERSION}/pygame/pygame.h:${PORTSDIR
RUN_DEPENDS= ${LOCALBASE}/include/${PYTHON_VERSION}/pygame/pygame.h:${PORTSDIR}/devel/py-game
LIB_DEPENDS= assetml.0:${PORTSDIR}/devel/libassetml
-BROKEN= Incomplete pkg-plist
-
USE_PYTHON= yes
USE_REINPLACE= yes
+USE_X_PREFIX= yes
# avoid asking for translation to your local language on install
MAKE_ENV= LANG=C
-MAN6= childsplay.6
+MAN6= childsplay.6 letters-trans.6
+MANCOMPRESSED= yes
post-patch:
- @${REINPLACE_CMD} -e "s@PREFIX = /usr/local@PREFIX=${PREFIX}@g " ${WRKSRC}/Makefile
- @${REINPLACE_CMD} -e "s@ASSETMLROOT = '/usr/local'@ASSETMLROOT= '${PREFIX}'@g " ${WRKSRC}/pyassetml.py
- @${REINPLACE_CMD} -e "s@PREFIX = \"/usr/local\"@PREFIX= '${PREFIX}'@g" ${WRKSRC}/pyassetmlcreator.py
- @${REINPLACE_CMD} -e "s@ASSETMLROOT= '/usr/local'@ASSETMLROOT= '${PREFIX}/share/gnome/assetml'@g" ${WRKSRC}/pyassetmlSDL.py
- @${REINPLACE_CMD} -e "s@PREFIX=/usr/local@PREFIX=${PREFIX}@g " ${WRKSRC}/cleanup.sh
- @${REINPLACE_CMD} -e "s@'/','usr'@'${PREFIX}'@g" ${WRKSRC}/pyassetmlcreator.py
- @${REINPLACE_CMD} -e "s@/usr/share/assetml@${PREFIX}/share/gnome/assetml@g" ${WRKSRC}/pyassetml.py ${WRKSRC}/pyassetmlSDL.py
+ @${REINPLACE_CMD} -e "s@PREFIX=/usr/local@PREFIX=${PREFIX}@g " ${WRKSRC}/INSTALL.sh
+ @${REINPLACE_CMD} -e "s@ASSETMLROOT = '/usr/local@ASSETMLROOT= '${PREFIX}@g" ${WRKSRC}/pyassetml.py
+ @${REINPLACE_CMD} -e "s@PREFIX=/usr/local@PREFIX=${PREFIX}@g" ${WRKSRC}/cleanup.sh
+ @${REINPLACE_CMD} -e "s@/usr/local/lib/games@${PREFIX}@g" ${WRKSRC}/childsplay.sh
post-build:
@${FIND} ${WRKSRC} -name *.orig -delete