diff options
author | nivit <nivit@FreeBSD.org> | 2007-12-28 21:43:52 +0800 |
---|---|---|
committer | nivit <nivit@FreeBSD.org> | 2007-12-28 21:43:52 +0800 |
commit | 50a1d981644b5f35747f70488d78ec4b5359a108 (patch) | |
tree | 66a8144b7ecbc8497a1d608dd3be094d1ddea544 /multimedia/tunapie/files/patch-install.sh | |
parent | 3f8fc5dada13560de45474eca633c6b77dea36e0 (diff) | |
download | freebsd-ports-gnome-50a1d981644b5f35747f70488d78ec4b5359a108.tar.gz freebsd-ports-gnome-50a1d981644b5f35747f70488d78ec4b5359a108.tar.zst freebsd-ports-gnome-50a1d981644b5f35747f70488d78ec4b5359a108.zip |
- Forgot to update files/patch-*
Diffstat (limited to 'multimedia/tunapie/files/patch-install.sh')
-rw-r--r-- | multimedia/tunapie/files/patch-install.sh | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/multimedia/tunapie/files/patch-install.sh b/multimedia/tunapie/files/patch-install.sh index bee75c71cb39..79a59d894d9d 100644 --- a/multimedia/tunapie/files/patch-install.sh +++ b/multimedia/tunapie/files/patch-install.sh @@ -1,27 +1,28 @@ -$FreeBSD$ ---- install.sh Tue Apr 10 23:54:02 2007 -+++ install.sh.port Wed Apr 11 09:15:43 2007 -@@ -1,14 +1,12 @@ +--- install.sh 2007-12-12 04:40:29.000000000 +0100 ++++ install.sh.port 2007-12-22 22:55:49.000000000 +0100 +@@ -1,14 +1,13 @@ #!/bin/sh -if [ "$1" = "--adult" ]; then echo '1'>/etc/tunapie.config -else echo '0'>/etc/tunapie.config +if [ "$1" = "--adult" ]; then echo '1'>%%LOCALBASE%%/etc/tunapie.config.default +else echo '0'>%%LOCALBASE%%/etc/tunapie.config.default fi - python src/compile +-python src/compile -cp tunapie /usr/local/bin -rm -rf /usr/local/share/tunapie -mkdir /usr/local/share/tunapie --cp src/*.py src/*.pyc /usr/local/share/tunapie +-cp src/*.py src/*.pyc src/*.png /usr/local/share/tunapie -mkdir -p /usr/local/share/pixmaps -cp src/tplogo.xpm /usr/local/share/pixmaps/ -mkdir -p /usr/local/man/man1 -cp tunapie.1 /usr/local/man/man1 -cp tunapie.desktop /usr/local/share/applications ++%%PYTHON_CMD%% %%PYTHON_LIBDIR%%/compileall.py src +cp tunapie %%PREFIX%%/bin +mkdir %%DATADIR%% -+cp src/*.py src/*.pyc %%DATADIR%% ++cp src/*.py src/*.pyc src/*.png %%DATADIR%% +mkdir -p %%DATADIR%%/pixmaps +cp src/tplogo.xpm %%DATADIR%%/pixmaps/ ++ln -s %%DATADIR%%/pixmaps/tplogo.xpm %%PREFIX%%/share/pixmaps/tplogo.xpm +cp tunapie.1 %%MANPREFIX%%/man/man1 +cp tunapie.desktop %%DESKTOPDIR%% |