mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
- Package score file
- Compile python scripts after installatino to pick up a dynamically written .py file
This commit is contained in:
parent
172b04b63c
commit
da2dfe286b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134809
@ -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
|
||||
|
@ -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/
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user