aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-chemistry/nmrpipe/Manifest8
-rw-r--r--sci-chemistry/nmrpipe/nmrpipe-5.4.2010.250.17.50-r1.ebuild15
2 files changed, 16 insertions, 7 deletions
diff --git a/sci-chemistry/nmrpipe/Manifest b/sci-chemistry/nmrpipe/Manifest
index e4540b32c..8338ae2c3 100644
--- a/sci-chemistry/nmrpipe/Manifest
+++ b/sci-chemistry/nmrpipe/Manifest
@@ -10,13 +10,13 @@ DIST dyn.tZ 137796769 RMD160 9d492341eb6e27cf8864e13751bc2fa3defebd98 SHA1 4b145
DIST install.com 36561 RMD160 7a7cae57e470f5637106a895d1a2ace486bb33a9 SHA1 2c296e0aadb14735253891f2cf5a451b98638581 SHA256 af5977a3c165d5552f5fad43a9cd9e303adc72b85011e284e28cc2cdd04bd160
DIST talos.tZ 37070217 RMD160 4a33a947fbcfa21b9f9c47ed51b0737e7c14ad01 SHA1 ae1865e1b56cb73fd4821b000af3773920d9b5d6 SHA256 3a8a5e18ee08bb99134fa2259825c606cdd9ff459c12772d8d4d6cbbcc44feda
DIST valpha_all.tar 699166720 RMD160 75ebf0a84524212cd25d62ba33f6a5edca05dd20 SHA1 a8be07ac97a826e44ed240946217a50fd3e8ba1e SHA256 3f2ff243e1d0e2508f20ec1ab6108eb986bcc1bc4c9ec79b4ff8ce6584805b0a
-EBUILD nmrpipe-5.4.2010.250.17.50-r1.ebuild 4785 RMD160 15247937be92830e8cb1df188a1c9d868eb9d6af SHA1 a947c8302dddaded500709e5d03a83fd8a40d304 SHA256 ea59dabd1479e8252247f873cdbadc815c9412adb27887bce949a58c41681895
+EBUILD nmrpipe-5.4.2010.250.17.50-r1.ebuild 5171 RMD160 7df0b5f78767113ffd63eb258e5604b52d671a9f SHA1 2b68961688e6e1f78b0cef4403191dc7b33f05e4 SHA256 30fd5b23353e1eba411f2756d73448de1ee7c37d95c54bc814c010d833faa2ff
MISC ChangeLog 7184 RMD160 a46414ded0a64b7f7302ab2f7871ab0c6fc4807b SHA1 50b24e22e94f2cfe276aff3e478b80495b1651df SHA256 c396b1dc45320013f7850e8820f1ee93b70195c22f245e68a9d6c5e8d7d87b0c
MISC metadata.xml 249 RMD160 789eca813b850a4619f671586826b824098ec47b SHA1 554c0cc8335f6d6410f6f504bf032a7c6de36c89 SHA256 c3f71fe107b700acc3c21923ed360604cfd47ac3181d9ed7605a0472250a8064
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAkyN/JIACgkQgAnW8HDreRaxvACgqFHdaAwBJRshfl2nRAP//9Cp
-rPoAn3Izb6zm7bDQLayqpzf/30BRGol2
-=hnNS
+iEYEARECAAYFAkyR4DkACgkQgAnW8HDreRbLwACeIWhznBS+Y7GhmI/enTi32TJW
+IOIAn3+ctohYlFrf/mbyxi51lwzN0oKW
+=sil5
-----END PGP SIGNATURE-----
diff --git a/sci-chemistry/nmrpipe/nmrpipe-5.4.2010.250.17.50-r1.ebuild b/sci-chemistry/nmrpipe/nmrpipe-5.4.2010.250.17.50-r1.ebuild
index 137a90d75..aa8fd3eeb 100644
--- a/sci-chemistry/nmrpipe/nmrpipe-5.4.2010.250.17.50-r1.ebuild
+++ b/sci-chemistry/nmrpipe/nmrpipe-5.4.2010.250.17.50-r1.ebuild
@@ -85,7 +85,7 @@ src_prepare() {
src_install() {
cat >> "${T}"/nmrWish <<- EOF
- #!/bin/csh -f
+ #!${EPREFIX}/bin/csh -f
setenv NMRBIN \${NMRBASE}/bin/
setenv NMRLIB \${NMRBIN}/lib
setenv AUXLIB \${NMRBIN}/openwin/lib
@@ -124,7 +124,7 @@ src_install() {
# Remove installation log files.
rm README_NMRPIPE_USERS *.log || die "Failed to remove installation log."
# Remove unused binaries
- rm talos*/bin/TALOS.{linux,mac,sgi6x,winxp} pdb/misc/addSeg || die
+ rm talos*/bin/TALOS+.{linux,mac,sgi6x,winxp} pdb/misc/addSeg || die
# Set the correct path to NMRPipe in the auxiliary scripts.
for i in $(find com/ dynamo/surface/misc/ nmrtxt/ talos/misc talosplus/com -type f); do
@@ -142,6 +142,15 @@ src_install() {
# Some scripts are on the wrong place
cp -vf nmrtxt/*.com com/
+ sed \
+ -e "s:!/bin:!${EPREFIX}/bin:g" \
+ -e "s:!/usr/bin:!${EPREFIX}/usr/bin:g" \
+ -e "s:!/usr/local/bin:!${EPREFIX}/usr/bin:g" \
+ -e "s: /bin: ${EPREFIX}/bin:g" \
+ -e "s: /usr/bin: ${EPREFIX}/usr/bin:g" \
+ -e "s: /usr/local/bin: ${EPREFIX}/usr/bin:g" \
+ -i {com/,nmrtxt/*.com,nmrtxt/nt/*.com,dynamo/tcl/,talos*/com/,dynamo/tcl/}* || die
+
insinto ${NMRBASE}
doins -r * || die "Failed to install application."
@@ -150,7 +159,7 @@ src_install() {
# fperms does not chmod nmrwish
# fperms -v 775 ${NMRBASE}/{talos/bin,nmrbin.linux9,com,dynamo/tcl}/* || die
- chmod -c 775 "${ED}"/${NMRBASE}/{talos*/bin,nmrbin.linux9,com,dynamo/tcl}/* || die
+ chmod -c 775 "${ED}"/${NMRBASE}/{talos*/bin/,nmrbin.linux9/,com/,dynamo/tcl/,nmrtxt/*.com,talos*/com/}* || die
exeinto ${NMRBASE}/nmrbin.linux9
doexe "${T}"/nmrWish || die