aboutsummaryrefslogtreecommitdiff
path: root/games/childsplay
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-05-07 21:32:55 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-05-07 21:32:55 +0000
commitda2dfe286b21d2a8a1297a51e2c844e2f6362348 (patch)
treec93b6fdc22813898d69d093f85ad01c0c449cc0b /games/childsplay
parent172b04b63c5b3c8eed69b95eba5e0613d6657795 (diff)
downloadports-da2dfe286b21d2a8a1297a51e2c844e2f6362348.tar.gz
ports-da2dfe286b21d2a8a1297a51e2c844e2f6362348.zip
Notes
Diffstat (limited to 'games/childsplay')
-rw-r--r--games/childsplay/Makefile2
-rw-r--r--games/childsplay/files/patch-INSTALL.sh10
-rw-r--r--games/childsplay/files/patch-Makefile13
-rw-r--r--games/childsplay/pkg-plist3
4 files changed, 11 insertions, 17 deletions
diff --git a/games/childsplay/Makefile b/games/childsplay/Makefile
index 4080a8de7977..fbcaea7ba253 100644
--- a/games/childsplay/Makefile
+++ b/games/childsplay/Makefile
@@ -7,6 +7,7 @@
PORTNAME= childsplay
PORTVERSION= 0.80.2
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= childsplay
@@ -22,6 +23,7 @@ LIB_DEPENDS= assetml.0:${PORTSDIR}/devel/libassetml
USE_PYTHON= yes
USE_REINPLACE= yes
USE_X_PREFIX= yes
+NO_BUILD= yes
# avoid asking for translation to your local language on install
MAKE_ENV= LANG=C
diff --git a/games/childsplay/files/patch-INSTALL.sh b/games/childsplay/files/patch-INSTALL.sh
index 67d84ca5157b..bd7257572de2 100644
--- a/games/childsplay/files/patch-INSTALL.sh
+++ b/games/childsplay/files/patch-INSTALL.sh
@@ -61,16 +61,6 @@
echo -e "\n>>>>>>>>>>> Install childsplay >>>>>>>>>>>>>>>>>>>>"
echo " Installing in $PREFIX"
-@@ -83,8 +74,9 @@
- fi
- done
-
- cp -f $CWD/*.py $CPDIR/
-+cp -f $CWD/*.pyc $CPDIR/
-
- echo " Copy misc. data files"
- for FILE in `ls $CWD/Data`
- do
@@ -113,22 +105,14 @@
echo " Copy docs"
cp -rf $CWD/doc/* $DOCDIR/
diff --git a/games/childsplay/files/patch-Makefile b/games/childsplay/files/patch-Makefile
index 281f64d64810..ec4ca1856e95 100644
--- a/games/childsplay/files/patch-Makefile
+++ b/games/childsplay/files/patch-Makefile
@@ -1,11 +1,10 @@
---- Makefile.orig Wed Apr 20 11:08:53 2005
-+++ Makefile Wed Apr 20 11:08:45 2005
-@@ -0,0 +1,8 @@
+--- Makefile.orig Sat May 7 23:13:35 2005
++++ Makefile Sat May 7 23:15:11 2005
+@@ -0,0 +1,7 @@
+PYTHON = /usr/bin/env python
+
-+all:
-+ @echo "Compiling modules to bytecode..."
-+ @$(PYTHON) install.py --compile .
-+ @$(PYTHON) install.py --compile ./lib
+install:
+ ./INSTALL.sh
++ @echo "Compiling modules to bytecode..."
++ @$(PYTHON) install.py --compile ${PREFIX}/childsplay
++ @$(PYTHON) install.py --compile ${PREFIX}/childsplay/lib
diff --git a/games/childsplay/pkg-plist b/games/childsplay/pkg-plist
index 56da5aa60d5b..a9bebfe0400e 100644
--- a/games/childsplay/pkg-plist
+++ b/games/childsplay/pkg-plist
@@ -34,6 +34,7 @@ childsplay/ConfParser.pyc
childsplay/CPMenu.pyc
childsplay/version.pyc
childsplay/BASEPATH.py
+childsplay/BASEPATH.pyc
share/doc/childsplay/po/fr/childsplay.po
share/doc/childsplay/po/de/childsplay.po
share/doc/childsplay/po/de/new_de.po
@@ -164,3 +165,5 @@ share/childsplay/lib/MemoryData/cardback.png
@dirrm share/childsplay/lib/MemoryData
@dirrm share/childsplay/lib
@dirrm share/childsplay
+@cwd /
+var/games/childsplay.score