1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/biology/pymol/files/patch-setup+pymol+com+linux-rh7x
Maho Nakata 8db209b977 o Update to 0.99rc1
o add data dir to have working port[1]

PR:		95121[1]
Submitted by:	Sangwoo Shim <sangwoos at gmail.com>[1]

This commit is a result of hacks at the CodeFest Akihabara 2006 hosted by FSIJ.
2006-07-01 05:06:21 +00:00

28 lines
772 B
Plaintext

--- setup/pymol.com.linux-rh7x Sun Nov 20 02:46:39 2005
+++ setup/pymol.com.linux-rh7x Sat Jul 1 13:28:49 2006
@@ -5,7 +5,7 @@
# ==============================================================
# Set PYMOL_PATH to point at the correct location on your system
#
-PYMOL_PATH=/usr/local/pymol
+PYMOL_PATH=@LOCALBASE@/share/pymol
export PYMOL_PATH
#
# ==============================================================
@@ -13,13 +13,13 @@
#
# python modules
#
-if [ "$PYTHONPATH" == "" ]; then
+if [ "$PYTHONPATH" = "" ]; then
PYTHONPATH=${PYMOL_PATH}/modules
else
PYTHONPATH=${PYMOL_PATH}/modules:${PYTHONPATH}
fi
export PYTHONPATH
#
-/usr/bin/python $PYMOL_PATH/modules/pymol/__init__.py "$@"
+@LOCALBASE@/bin/python $PYMOL_PATH/modules/pymol/__init__.py "$@"