aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-05-08 05:32:55 +0800
committerpav <pav@FreeBSD.org>2005-05-08 05:32:55 +0800
commit7507474694905fc50dc35efadccc4899a4c95eb8 (patch)
tree2ce6bef401bf81469827f91d8e37c3577d546486 /games
parentff39394039d576c60e03caf4f08306918e823445 (diff)
downloadfreebsd-ports-gnome-7507474694905fc50dc35efadccc4899a4c95eb8.tar.gz
freebsd-ports-gnome-7507474694905fc50dc35efadccc4899a4c95eb8.tar.zst
freebsd-ports-gnome-7507474694905fc50dc35efadccc4899a4c95eb8.zip
- Package score file
- Compile python scripts after installatino to pick up a dynamically written .py file
Diffstat (limited to 'games')
-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