From e8197f644709b0680a6827efe77457918719809b Mon Sep 17 00:00:00 2001 From: Olivier Fisette Date: Fri, 22 Jul 2005 16:57:30 +0000 Subject: New version Package-Manager: portage-2.0.51.22-r2 --- sci-chemistry/nmrpipe/ChangeLog | 10 +- sci-chemistry/nmrpipe/Manifest | 8 +- .../nmrpipe/files/digest-nmrpipe-20050415-r1 | 10 -- .../nmrpipe/files/digest-nmrpipe-20050616 | 10 ++ sci-chemistry/nmrpipe/files/nmrpipe-20050415-env | 1 + sci-chemistry/nmrpipe/nmrpipe-20050415-r1.ebuild | 126 --------------------- sci-chemistry/nmrpipe/nmrpipe-20050616.ebuild | 126 +++++++++++++++++++++ 7 files changed, 150 insertions(+), 141 deletions(-) delete mode 100644 sci-chemistry/nmrpipe/files/digest-nmrpipe-20050415-r1 create mode 100644 sci-chemistry/nmrpipe/files/digest-nmrpipe-20050616 delete mode 100644 sci-chemistry/nmrpipe/nmrpipe-20050415-r1.ebuild create mode 100644 sci-chemistry/nmrpipe/nmrpipe-20050616.ebuild (limited to 'sci-chemistry') diff --git a/sci-chemistry/nmrpipe/ChangeLog b/sci-chemistry/nmrpipe/ChangeLog index 0b69d5401c23..8080e7f4bf96 100644 --- a/sci-chemistry/nmrpipe/ChangeLog +++ b/sci-chemistry/nmrpipe/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sci-chemistry/nmrpipe # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/nmrpipe/ChangeLog,v 1.2 2005/07/20 17:35:20 ribosome Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/nmrpipe/ChangeLog,v 1.3 2005/07/22 16:57:30 ribosome Exp $ + +*nmrpipe-20050616 (22 Jul 2005) + + 22 Jul 2005; Olivier Fisette + files/nmrpipe-20050415-env, -nmrpipe-20050415-r1.ebuild, + +nmrpipe-20050616.ebuild: + New version. Removing the older version since the archives are no longer + available. *nmrpipe-20050415-r1 (20 Jul 2005) diff --git a/sci-chemistry/nmrpipe/Manifest b/sci-chemistry/nmrpipe/Manifest index f5d66c8b36b4..d555863f8868 100644 --- a/sci-chemistry/nmrpipe/Manifest +++ b/sci-chemistry/nmrpipe/Manifest @@ -1,5 +1,5 @@ -MD5 345a8571c62d0213d4d1c707ff6d225e ChangeLog 694 -MD5 906a0e9dccb37ebbe993707309b2bed4 nmrpipe-20050415-r1.ebuild 4193 +MD5 26eeb8204fdbda22192eb903b284c252 ChangeLog 956 MD5 f189a3c4ff5ae55bcee4f8ed0ace5d20 metadata.xml 254 -MD5 503badd99fa2affecd086405761e0c23 files/nmrpipe-20050415-env 472 -MD5 a0cf759ccc9f784668a46fea06921a91 files/digest-nmrpipe-20050415-r1 583 +MD5 bc653fa38bff69ebbbc9f6042044d97b nmrpipe-20050616.ebuild 4190 +MD5 2e7903ea90b6ace1bfa67c6efb6e875d files/digest-nmrpipe-20050616 585 +MD5 29c1ecf7eda6ce5cb66a3cc7eafc00f1 files/nmrpipe-20050415-env 499 diff --git a/sci-chemistry/nmrpipe/files/digest-nmrpipe-20050415-r1 b/sci-chemistry/nmrpipe/files/digest-nmrpipe-20050415-r1 deleted file mode 100644 index 49d98abac037..000000000000 --- a/sci-chemistry/nmrpipe/files/digest-nmrpipe-20050415-r1 +++ /dev/null @@ -1,10 +0,0 @@ -MD5 694225aef24266d5bbeff27b900b248c nmrpipe.linux9.tar.Z 21927231 -MD5 bd7b0dfd903eab1df014bb9d7356612b xview_fonts.tar.Z 2183991 -MD5 06d27f018d0abd3e2e35fcd923423af3 xview.linux9.tar.Z 4047400 -MD5 45e4773ed5f7e7cc721453d8f5a68934 dyn.tar.Z 37517562 -MD5 f5d0f86f3a8c224943969830e435e6f0 mfr.tar.Z 823825 -MD5 b33e195e36e9c35a970632dc9670d312 pdbH.tar.Z 75004655 -MD5 02123d6fe1f1ef79b59ef8ffa662f338 valpha.tar 35779984 -MD5 f8df76a619d702153a19b23f1678aca6 acme.tar.Z 11681951 -MD5 c4c1ef656285419fc4f19a5ae19204f7 binval.com 3125 -MD5 8d52d41c11c497778ce277999452e635 install.com 20316 diff --git a/sci-chemistry/nmrpipe/files/digest-nmrpipe-20050616 b/sci-chemistry/nmrpipe/files/digest-nmrpipe-20050616 new file mode 100644 index 000000000000..252530dd10f2 --- /dev/null +++ b/sci-chemistry/nmrpipe/files/digest-nmrpipe-20050616 @@ -0,0 +1,10 @@ +MD5 b17803971db1c1a5949cc33d50190275 nmrpipe.linux9.tar.Z 21918245 +MD5 bd7b0dfd903eab1df014bb9d7356612b xview_fonts.tar.Z 2183991 +MD5 06d27f018d0abd3e2e35fcd923423af3 xview.linux9.tar.Z 4047400 +MD5 70ae354d8ee365a9998a6679b9e88085 dyn.tar.Z 37503947 +MD5 185f4d4090d95181443d7fe4321489ae mfr.tar.Z 1066703 +MD5 b33e195e36e9c35a970632dc9670d312 pdbH.tar.Z 75004655 +MD5 af1c0e23c9d78025b9173fcbbb1c1f07 valpha.tar 490800640 +MD5 f8df76a619d702153a19b23f1678aca6 acme.tar.Z 11681951 +MD5 72a4802dcc912569d645f4cb5b27f5e5 binval.com 3209 +MD5 08d2b3dec7d37cf0685bdf4240512301 install.com 20519 diff --git a/sci-chemistry/nmrpipe/files/nmrpipe-20050415-env b/sci-chemistry/nmrpipe/files/nmrpipe-20050415-env index d405ebb53feb..beb9d707eb4f 100644 --- a/sci-chemistry/nmrpipe/files/nmrpipe-20050415-env +++ b/sci-chemistry/nmrpipe/files/nmrpipe-20050415-env @@ -3,6 +3,7 @@ BINTYPE="linux9" # NMRPipe NMRBASE="/opt/nmrpipe" +NMRTXT="${NMRBASE}/nmrtxt" MANPATH="${NMRBASE}/man" PATH="${NMRBASE}/bin" # Auxiliary NMRPipe scripts diff --git a/sci-chemistry/nmrpipe/nmrpipe-20050415-r1.ebuild b/sci-chemistry/nmrpipe/nmrpipe-20050415-r1.ebuild deleted file mode 100644 index b4e6d044591e..000000000000 --- a/sci-chemistry/nmrpipe/nmrpipe-20050415-r1.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/nmrpipe/nmrpipe-20050415-r1.ebuild,v 1.1 2005/07/20 17:35:20 ribosome Exp $ - -DESCRIPTION="Spectral visualisation, analysis and Fourier processing" -# The specific terms of this license are printed automatically on startup -# by some NMRPipe applications. The user also has to accept them before -# downloading the package. -LICENSE="as-is" -HOMEPAGE="http://spin.niddk.nih.gov/bax/software/NMRPipe/" -# The NMRPipe installation script which we are not allowed to modify -# requires all the following to be present for a complete installation. -# Many of the bundled applications and libraries are afterwards deleted -# (by this ebuild). The Gentoo provided applications and libraries are -# used instead. The notable exception is the Tcl/Tk libraries; NMRPipe -# requires a modified version of these. Unfortunately, this requires to -# redefine the location of the libraries, which is done by sourcing an -# initialisation script. NMRPipe users are used to this, and this ebuild -# also prints a notice to this effect. -SRC_URI="${PN}.linux9.tar.Z - xview_fonts.tar.Z - xview.linux9.tar.Z - dyn.tar.Z - mfr.tar.Z - pdbH.tar.Z - valpha.tar - acme.tar.Z - binval.com - install.com" -# The maintainer absolutely wants to control redistribution. -RESTRICT="fetch" - -SLOT="0" -IUSE="" -# Right now, precompiled executables are only available for Linux on the -# x86 architecture. The maintainer chose to keep the sources closed, but -# says he will gladly provide precompiled executables for other platforms -# if there are such requests. -KEYWORDS="-* ~x86" - -RDEPEND="virtual/x11 - dev-lang/f2c - dev-lang/tcl - dev-lang/tk - dev-tcltk/blt - media-gfx/gnuplot - app-shells/tcsh - sys-libs/libtermcap-compat - x11-libs/xview - sci-chemistry/rasmol" - -S="${WORKDIR}" -NMRBASE="/opt/${PN}" - -pkg_nofetch() { - einfo "Please visit:" - einfo "\t${HOMEPAGE}" - einfo - einfo "Contact the package maintainer, then download the following files:" - for i in ${A}; do - einfo "\t${i}" - done - einfo - einfo "Place the downloaded files in your distfiles directory:" - einfo "\t${DISTDIR}" - echo -} - -src_unpack() { - # The installation script will unpack the package. We just provide symlinks - # to the archive files, ... - for i in ${PN}.linux9.tar.Z xview_fonts.tar.Z xview.linux9.tar.Z \ - dyn.tar.Z mfr.tar.Z pdbH.tar.Z valpha.tar acme.tar.Z; do - ln -s "${DISTDIR}/${i}" "${i}" - done - # ... copy the installation scripts ... - cp ${DISTDIR}/{binval.com,install.com} . - # ... and make the installation scripts executable. - chmod +x "binval.com" "install.com" -} - -src_compile() { - # Unset DISPLAY to avoid the interactive graphical test. - DISPLAY="" ./install.com "${S}" || die - # Remove the symlinks for the archives and the installation scripts. - for i in ${A}; do - rm "${i}" - done - # Remove some of the bundled applications and libraries; they are - # provided by Gentoo instead. - rm -r "xview" "XView" nmrbin.linux9/{0.0,lib,*timestamp,xv,gnuplot*,rasmol*} - # Remove the initialisation script generated during the installation. - # It contains incorrect hardcoded paths; only the "nmrInit.com" script - # should be used. - rm "com/nmrInit.linux9.com" - # Make the precompiled Linux binaries executable. - chmod +x nmrbin.linux9/* - # Set the correct path to NMRPipe in the auxiliary scripts. - cd "${S}/com" - for i in *; do - sed -e "s%/u/delaglio%${NMRBASE}%" -i "${i}" || die - done -} - -src_install() { - newenvd "${FILESDIR}/${P}-env" "40${PN}" - insinto "/opt/${PN}" - insopts "-m0755" - doins -r * - dosym "/opt/${PN}/nmrbin.linux9" "/opt/${PN}/bin" -} - -pkg_postinst() { - echo - ewarn "Before using NMRPipe applications, users must source the following" - ewarn "csh script, which will set the necessary environment variables:" - ewarn "\t/opt/${PN}/com/nmrInit.com" - ewarn - ewarn "Be aware that this script redefines the locations of the Tcl" - ewarn "libraries. This could break other non-NMRPipe Tcl applications" - ewarn "run in the same session." - ewarn - ewarn "Using Dynamo does not require running an additional initialisation" - ewarn "script. The necessary environment variables should already be set." - echo -} diff --git a/sci-chemistry/nmrpipe/nmrpipe-20050616.ebuild b/sci-chemistry/nmrpipe/nmrpipe-20050616.ebuild new file mode 100644 index 000000000000..8bb99fa7ab03 --- /dev/null +++ b/sci-chemistry/nmrpipe/nmrpipe-20050616.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/nmrpipe/nmrpipe-20050616.ebuild,v 1.1 2005/07/22 16:57:30 ribosome Exp $ + +DESCRIPTION="Spectral visualisation, analysis and Fourier processing" +# The specific terms of this license are printed automatically on startup +# by some NMRPipe applications. The user also has to accept them before +# downloading the package. +LICENSE="as-is" +HOMEPAGE="http://spin.niddk.nih.gov/bax/software/NMRPipe/" +# The NMRPipe installation script which we are not allowed to modify +# requires all the following to be present for a complete installation. +# Many of the bundled applications and libraries are afterwards deleted +# (by this ebuild). The Gentoo provided applications and libraries are +# used instead. The notable exception is the Tcl/Tk libraries; NMRPipe +# requires a modified version of these. Unfortunately, this requires to +# redefine the location of the libraries, which is done by sourcing an +# initialisation script. NMRPipe users are used to this, and this ebuild +# also prints a notice to this effect. +SRC_URI="${PN}.linux9.tar.Z + xview_fonts.tar.Z + xview.linux9.tar.Z + dyn.tar.Z + mfr.tar.Z + pdbH.tar.Z + valpha.tar + acme.tar.Z + binval.com + install.com" +# The maintainer absolutely wants to control redistribution. +RESTRICT="fetch" + +SLOT="0" +IUSE="" +# Right now, precompiled executables are only available for Linux on the +# x86 architecture. The maintainer chose to keep the sources closed, but +# says he will gladly provide precompiled executables for other platforms +# if there are such requests. +KEYWORDS="-* ~x86" + +RDEPEND="virtual/x11 + dev-lang/f2c + dev-lang/tcl + dev-lang/tk + dev-tcltk/blt + media-gfx/gnuplot + app-shells/tcsh + sys-libs/libtermcap-compat + x11-libs/xview + sci-chemistry/rasmol" + +S="${WORKDIR}" +NMRBASE="/opt/${PN}" + +pkg_nofetch() { + einfo "Please visit:" + einfo "\t${HOMEPAGE}" + einfo + einfo "Contact the package maintainer, then download the following files:" + for i in ${A}; do + einfo "\t${i}" + done + einfo + einfo "Place the downloaded files in your distfiles directory:" + einfo "\t${DISTDIR}" + echo +} + +src_unpack() { + # The installation script will unpack the package. We just provide symlinks + # to the archive files, ... + for i in ${PN}.linux9.tar.Z xview_fonts.tar.Z xview.linux9.tar.Z \ + dyn.tar.Z mfr.tar.Z pdbH.tar.Z valpha.tar acme.tar.Z; do + ln -s "${DISTDIR}/${i}" "${i}" + done + # ... copy the installation scripts ... + cp ${DISTDIR}/{binval.com,install.com} . + # ... and make the installation scripts executable. + chmod +x "binval.com" "install.com" +} + +src_compile() { + # Unset DISPLAY to avoid the interactive graphical test. + DISPLAY="" ./install.com "${S}" || die + # Remove the symlinks for the archives and the installation scripts. + for i in ${A}; do + rm "${i}" + done + # Remove some of the bundled applications and libraries; they are + # provided by Gentoo instead. + rm -r "xview" "XView" nmrbin.linux9/{0.0,lib,*timestamp,xv,gnuplot*,rasmol*} + # Remove the initialisation script generated during the installation. + # It contains incorrect hardcoded paths; only the "nmrInit.com" script + # should be used. + rm "com/nmrInit.linux9.com" + # Make the precompiled Linux binaries executable. + chmod +x nmrbin.linux9/* + # Set the correct path to NMRPipe in the auxiliary scripts. + cd "${S}/com" + for i in *; do + sed -e "s%/u/delaglio%${NMRBASE}%" -i "${i}" || die + done +} + +src_install() { + newenvd "${FILESDIR}/${P}-env" "40${PN}" + insinto "/opt/${PN}" + insopts "-m0755" + doins -r * + dosym "/opt/${PN}/nmrbin.linux9" "/opt/${PN}/bin" +} + +pkg_postinst() { + echo + ewarn "Before using NMRPipe applications, users must source the following" + ewarn "csh script, which will set the necessary environment variables:" + ewarn "\t/opt/${PN}/com/nmrInit.com" + ewarn + ewarn "Be aware that this script redefines the locations of the Tcl" + ewarn "libraries. This could break other non-NMRPipe Tcl applications" + ewarn "run in the same session." + ewarn + ewarn "Using Dynamo does not require running an additional initialisation" + ewarn "script. The necessary environment variables should already be set." + echo +} -- cgit v1.2.3-65-gdbad