diff options
author | Pacho Ramos <pacho@gentoo.org> | 2014-05-03 08:40:46 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2014-05-03 08:40:46 +0000 |
commit | a244cb780859beed9ba9dd35e1f441531dd56816 (patch) | |
tree | 7a6749b877eae80c1b4397b1d0d69eb001295718 /sci-geosciences | |
parent | Version bump. (diff) | |
download | historical-a244cb780859beed9ba9dd35e1f441531dd56816.tar.gz historical-a244cb780859beed9ba9dd35e1f441531dd56816.tar.bz2 historical-a244cb780859beed9ba9dd35e1f441531dd56816.zip |
Remove masked for removal package
Diffstat (limited to 'sci-geosciences')
-rw-r--r-- | sci-geosciences/gempak/ChangeLog | 76 | ||||
-rw-r--r-- | sci-geosciences/gempak/Manifest | 28 | ||||
-rw-r--r-- | sci-geosciences/gempak/files/Makeinc.common | 97 | ||||
-rw-r--r-- | sci-geosciences/gempak/files/gempak.env.d | 56 | ||||
-rw-r--r-- | sci-geosciences/gempak/gempak-5.7.2_p2.ebuild | 170 | ||||
-rw-r--r-- | sci-geosciences/gempak/gempak-5.7.4.ebuild | 169 | ||||
-rw-r--r-- | sci-geosciences/gempak/metadata.xml | 5 |
7 files changed, 0 insertions, 601 deletions
diff --git a/sci-geosciences/gempak/ChangeLog b/sci-geosciences/gempak/ChangeLog deleted file mode 100644 index fcb9d4d78bcf..000000000000 --- a/sci-geosciences/gempak/ChangeLog +++ /dev/null @@ -1,76 +0,0 @@ -# ChangeLog for sci-geosciences/gempak -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gempak/ChangeLog,v 1.11 2012/10/24 19:37:20 ulm Exp $ - - 24 Oct 2012; Ulrich Müller <ulm@gentoo.org> gempak-5.7.2_p2.ebuild, - gempak-5.7.4.ebuild: - Update dependency after package move from x11-libs/openmotif to - x11-libs/motif. - - 10 Oct 2010; Ulrich Mueller <ulm@gentoo.org> gempak-5.7.2_p2.ebuild, - gempak-5.7.4.ebuild: - Fix openmotif dependency. Change EAPI to 1. - - 07 Jul 2009; Diego E. Pettenò <flameeyes@gentoo.org> gempak-5.7.4.ebuild: - Use elog for fetch error. - - 04 May 2008; Ulrich Mueller <ulm@gentoo.org> gempak-5.7.2_p2.ebuild, - gempak-5.7.4.ebuild: - Fix Motif dependencies, bug 117057. - - 28 Apr 2007; Torsten Veller <tove@gentoo.org> gempak-5.7.2_p2.ebuild, - gempak-5.7.4.ebuild: - Use newenvd (#173884) - - 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> - files/digest-gempak-5.7.2_p2, files/digest-gempak-5.7.4, Manifest: - Transition to Manifest2. - - 25 Jun 2005; Olivier Fisette <ribosome@gentoo.org> - -files/5.6m-gui.c.patch, -gempak-5.6m.ebuild: - Removed obsolete version. - - 02 Jun 2005; Olivier Fisette <ribosome@gentoo.org> gempak-5.6m.ebuild, - gempak-5.7.2_p2.ebuild, gempak-5.7.4.ebuild: - Use "virtual/motif" instead of "x11-libs/openmotif". - - 15 May 2005; Danny van Dyk <kugelfang@gentoo.org> gempak-5.6m.ebuild, - gempak-5.7.2_p2.ebuild, gempak-5.7.4.ebuild: - Removed unnecessary 'inherit gcc'. - -*gempak-5.6m (28 Dec 2004) - - 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml, - +files/5.6m-gui.c.patch, +files/Makeinc.common, +files/gempak.env.d, - +gempak-5.6m.ebuild, +gempak-5.7.2_p2.ebuild, +gempak-5.7.4.ebuild: - Moved from app-sci/gempak to sci-geosciences/gempak. - -*gempak-5.7.4 (23 Dec 2004) - - 23 Dec 2004; Donnie Berkholz <spyderous@gentoo.org>; +gempak-5.7.4.ebuild: - Version bump. - - 23 Dec 2004; Donnie Berkholz <spyderous@gentoo.org>; - gempak-5.7.2_p2.ebuild: - x86. - - 05 Jun 2004; David Holm <dholm@gentoo.org> gempak-5.7.2_p2.ebuild: - Added to ~ppc. - -*gempak-5.7.2_p2 (03 Jun 2004) - - 03 Jun 2004; Donnie Berkholz <spyderous@gentoo.org>; - +gempak-5.7.2_p2.ebuild: - Version bump (#49138). - - 19 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> gempak-5.6m.ebuild: - Adding IUSE - -*gempak-5.6m (28 Feb 2004) - - 28 Feb 2004; Donnie Berkholz <spyderous@gentoo.org>; gempak-5.6m.ebuild, - metadata.xml, files/5.6m-gui.c.patch, files/Makeinc.common, - files/gempak.env.d: - Initial commit. Submitted by Donald Giuliano <guido@ou.edu> with extensive - reworking by him and me. - diff --git a/sci-geosciences/gempak/Manifest b/sci-geosciences/gempak/Manifest deleted file mode 100644 index f6b500464729..000000000000 --- a/sci-geosciences/gempak/Manifest +++ /dev/null @@ -1,28 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - -AUX Makeinc.common 3395 SHA256 5e26baa3f1dd495c928317bd40ae3644a981c7349b763b2a32485f4ef2a8f39b SHA512 9f48bb35b88f2449b7ecc976db23ede39082877503f6dcc08a13e687a08648ea78c06f621bb8ecf0c3f49e4096722cf64d4b50e7e3bfea9e980d4a42666d8b15 WHIRLPOOL 2ce1a25fd0d836acf2a816b6776187f230904bea5a7a4e0be3cd447f14df31100d17aa4a5c9db5bea746f606124138932d1a2e9c0e077ef31144306dcb121476 -AUX gempak.env.d 1888 SHA256 9a8559caba0edb9ec57221ddc3a95b91a0d8c49e3de846ae47bf540862c8e92b SHA512 1a095c2beeef9d067f2a36a6b03de5716fb3815a2b24bf26e8a935211744e5744c87725b2b35e3589a8796b46ca47af760de79a6126c37eecf6c134c3f8b8fcb WHIRLPOOL 3927b4ec43aba50e2d8181248a4d0ad51547165cb62b5228db391e25a5c0ca49142ef9287c923f27ccdad6b01433a7c38ae46c0674654d3258d374c85fe09a06 -DIST gempak_upc5.7.2p2.tar.gz 118639087 SHA256 d027011e0e1bceb03a503842bcd37c792c91dadef60e8e030232bf80f57002fb -DIST gempak_upc5.7.4.tar.gz 120491554 SHA256 ef6bcbc06b655492b55b644570db90e0b8cc89a239a7218fc64f421236aa7f6c -EBUILD gempak-5.7.2_p2.ebuild 5008 SHA256 f34d8eb277c5ef15f926ff63721199bf778e44e52ec1c989469d7bd4aad3ba23 SHA512 05f82b1b2017845aafa40b9d30904b7c04dacbaa40a46dea6bf276724b1ae27f1a901fbfdbc08d40627b1095786a9a973ebcfe5547a2df53ef3a7beffef726c0 WHIRLPOOL 51fd7123c88cf8670d4b220c05508bd068a642c4808f6cfb6e3608c2a38651fc5da8997807642e0ebb5f89a0b579a41bbbbacc3b93b3a47808b5b9ea84598536 -EBUILD gempak-5.7.4.ebuild 5000 SHA256 69bcc1c4992456dd14ece519310af5b730e672ff3469ad5c3b4a35a2a2c3657e SHA512 804e632a6fe08350ea6748feafdabaac48d953be1b089a496d60149aa773286e92279c57d456e49af321a835a40c4d328f6156ef80b4206551f4d0378b841fb6 WHIRLPOOL 74a742353db611fa8b97a858f14a78b2840b93deace78de446a801f69fab79b50797077912bf59753ac2e413427f0abf0e12f246e5403997c3203d69dd7746c6 -MISC ChangeLog 2619 SHA256 9eba75d6843cf8c2cf33b8d473e2ec53c8c14e55fbb1172a8151226a386bff15 SHA512 3f40d4a72c05add91dac11fffb0e4207a6fef72adcc8e978d39536f87d4530e24ed43f138255bcfaa4cd3a2be1b477d81cabc231bbca14083cf265f35e852e42 WHIRLPOOL 1a1a8883836fd349abc2b18e07f224a040182f6422841734439f97ad2bc1fa7c9b6520b91c792d1ff216d244abb9ddd39e2fd62e6268a7dad268acf001da0aad -MISC metadata.xml 168 SHA256 2fc15316b226307080574c36b3761f27a23a642e89c60f02feabdc64049a188d SHA512 eec7cb4444156fec7e8fa88c1ae6a02d0cf125174ae058f4286c77806eaa40ab8f7644b319bc01a3a8fdb717c9bd13c93111c4756e13cb3724a55783cf9b5eda WHIRLPOOL 3a4c3ce31b3f3a766d4791d8e41880c365501387bca1219bc1b411c27d002c68e31119b18ebbd646d0fb1bd7630176692ac9159350f8bbfe1998fd3a76f83ff1 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iQIcBAEBCAAGBQJQiEN8AAoJEDxpGckxwJCBs34P/jDMgh2EWPNpY6/vZPKZVbSj -IgMf3iuykOgxdMVG+KlkKhOeOCNNWRNHxxnYzwAU/C9AMvfG1DFjb4MFHUx/ng2N -iB53fvfoZ/tgWQSXXw52GXVWaxGl4JBfrLoHmRPROAHUOqZXlatkJpePi0MiE6Y2 -Gpcaxhjs4Zd7aepKWqXkhahx5DtL2Jg5T+qvXq+GV4jFyuNQA9+E/xT4Tf0TNVx4 -4k7o1m0oqe4LM7b0rtbhihKAJMB87oNNXNSMx3edipJg6ZrP9yYpLv8VxsFaYFkE -3vzb15IxXgU1upfqDZqDG8GOq/aP+PveD29mCnjLhSFxDjHqHgRpD9RXv99k/fo4 -UJG/9nJRMgVFnchfQVZphJFYItJlezmWomxXCq6EFO5mDWDF2jCvVZ/LL1K9etlG -q5upo3+xoEs9yAsopNbu3ShSHtopmVhKTPYnVVmR+GCN2Gk/Nypi4WT2TOjQLRxI -eLuSS7dbDWvYmzgiI1vn+uuDZXJ2thW4Z3iI2jSAQFSL6Rezrb0KiAtUTGf6H6bd -TDAdDqbYiPRvBMfPgvQv6In9mUo1nPEZ0rfF1vJMnAui4z1WUel+6nNypPgPspo4 -6hFWApQVLzAulqQFwDz1ikjWo7RV2oCIad+HPA5JsS7RmfNNfsyCyoz+Mc5Is1l9 -t4yxQRdf1bA8+jeaRMXL -=tbJW ------END PGP SIGNATURE----- diff --git a/sci-geosciences/gempak/files/Makeinc.common b/sci-geosciences/gempak/files/Makeinc.common deleted file mode 100644 index 14cbbf173b39..000000000000 --- a/sci-geosciences/gempak/files/Makeinc.common +++ /dev/null @@ -1,97 +0,0 @@ -################################################################### -################################################################### -# -# Makefile for GEMPAK6 -# Unidata 11/99 Chiz - configured for UPC distribution -# -#################################################################### -#################################################################### -#################################################################### -# The following shell environment variables *MUST* be defined before -# invoking this Makefile: -# -# $NAWIPS - points to the toplevel of the NAWIPS directory tree. -# $GEMPAKHOME - points to the toplevel of the gempak part -# of the NAWIPS tree. Usually directly under $NAWIPS. -# -# $NA_OS - Used in $(NAWIPS)/config/Makeinc.common to decide which -# OS specific Makeinc.* to include. It also cooresponds -# to the directories in the NAWIPS tree where the executables -# and libraries are installed. -# -#################################################################### -GEMPAKHOME = $(NAWIPS)/gempak -GEMPAK = $(GEMPAKHOME) -GEMTBL = $(GEMPAKHOME)/tables -GEMPDF = $(GEMPAKHOME)/pdf -GEMERR = $(GEMPAKHOME)/error -GEMPARM = $(GEMPAKHOME)/parm -GEMPTXT = $(GEMPAKHOME)/ptxt -GEMHLP = $(GEMPAKHOME)/help -SHELL = /bin/sh -FC = f77 -CC = cc -AR = ar -ARFLAGS = rv -RANLIB = ranlib -RM = rm -f -INSTALL = install -s -AUXINSTALL = install -LN = ln -s -STRIP = strip -CP = cp -COMPILE.c = $(CC) $(CFLAGS) -c -COMPILE.f = $(FC) $(FFLAGS) -c -LINK.c = $(PURIFY) $(CC) $(CFLAGS) $(LDFLAGS) -LINK.f = $(PURIFY) $(FC) $(FFLAGS) $(LDFLAGS) - -LDM_FLAGS = - -GEMOLB = $(NAWIPS)/lib/$(NA_OS) -INCDIR = $(GEMPAKHOME)/include -GEMINC = -I$(INCDIR) -NAWIPS_INC = -I$(NAWIPS)/include -GEMEXE = $(NAWIPS)/bin/$(NA_OS) -SCRIPTS_EXE = $(NAWIPS)/bin/scripts - -APPL = $(GEMOLB)/appl.a -DEVICE = $(GEMOLB)/device.a -GEMLIB = $(GEMOLB)/gemlib.a -CGEMLIB = $(GEMOLB)/cgemlib.a -NXMLIB = $(GEMOLB)/Nxmlib.a -BRIDGE = $(GEMOLB)/bridge.a -LDMLOG = $(GEMOLB)/ldmlog.a -GPLT = $(GEMOLB)/gplt.a -GPLT_NC = $(GEMOLB)/ginitp_alt.o $(GEMOLB)/gendp_alt.o -GPLTDEV = $(GEMOLB)/gpltdev.a -SYSLIB = $(GEMOLB)/syslib.a - -GN = $(GEMOLB)/gn.a -XW = $(GEMOLB)/xw.a -GF = $(GEMOLB)/gf.a -GIF = $(GEMOLB)/gif.a -PS = $(GEMOLB)/ps.a -NC = $(GEMOLB)/nc.a -FAX = $(GEMOLB)/fax.a -RBK = $(GEMOLB)/rbk.a -TIFF = $(GEMOLB)/tiff.a -VG = $(GEMOLB)/vg.a -XWP = $(GEMOLB)/xwp.a -UTF = $(GEMOLB)/utf.a - -X11LIB = -lX11 -GUILIBS = $(MOTIFLIBS) $(X11LIBDIR) -lXt -lX11 -NETCDFHOME = $(NAWIPS)/netcdf/$(NA_OS) -NETCDFINC = $(NETCDFHOME)/include -NETCDF = $(NETCDFHOME)/lib/libnetcdf.a - -ZLIB = $(GEMOLB)/libz.a -ZLIBINC = $(GEMPAKHOME)/source/zlib -PNGLIB = $(GEMOLB)/libpng.a -PNGINC = $(GEMPAKHOME)/source/pnglib - -BUFRFLAGS = -O - -HAVEMOTIF = yes - -include $(NAWIPS)/config/Makeinc.$(NA_OS) diff --git a/sci-geosciences/gempak/files/gempak.env.d b/sci-geosciences/gempak/files/gempak.env.d deleted file mode 100644 index 4fd015a31fdd..000000000000 --- a/sci-geosciences/gempak/files/gempak.env.d +++ /dev/null @@ -1,56 +0,0 @@ -NAWIPS=/usr/gempak -GARPHOME=/usr/gempak/comet/garp -GARP_PATH=/usr/gempak/comet/garp/config -NA_OS=linux -GEMPAK=/usr/gempak/gempak -GEMPAKHOME=/usr/gempak/gempak -GEMLIB=/usr/gempak/lib/linux -GEMEXE=/usr/gempak/bin/linux -GEMPDF=/usr/gempak/gempak/pdf -GEMTBL=/usr/gempak/gempak/tables -GEMERR=/usr/gempak/gempak/error -GEMHLP=/usr/gempak/gempak/help -GEMMAPS=/usr/gempak/gempak/maps -GEMNTS=/usr/gempak/gempak/nts -GEMPARM=/usr/gempak/gempak/parm -GEMPTXT=/usr/gempak/gempak/txt/programs -GEMGTXT=/usr/gempak/gempak/txt/gemlib -NAWIPS_EXE=/usr/gempak/bin/linux -NAWIPS_LIB=/usr/gempak/lib/linux -NAWIPS_INC=/usr/gempak/include -NAWIPS_HELP=/usr/gempak/help -NAWIPS_TABLES=/usr/gempak/tables -NWX_TABLES=/usr/gempak/tables/nwx -NMAP_RESTORE=/usr/gempak/gempak/nts/nmap/restore -MEL_BUFR=/usr/gempak/gempak/source/melbufr -MEL_BUFR_TABLES=/usr/gempak/gempak/tables/melbufr -BRDGDIR=/usr/gempak/unidata/ldmbridge -xresources="/usr/gempak/resource/%N" -SCRIPTS_EXE=/usr/gempak/bin/scripts -PATH=/usr/gempak/bin/linux:/usr/gempak/bin/scripts -ROOTPATH=/usr/gempak/bin/linux:/usr/gempak/bin/scripts -GEMDATA=/usr/gempak/data -OBS=/usr/gempak/data -NTRANS_META=/usr/gempak/data/meta -TEXT_DATA=/usr/gempak/data/nwx -SAT=/usr/gempak/data/images/sat -RAD=/usr/gempak/data/images/radar -RADDIR=/usr/gempak/data/images/radar -LDMDATA=/usr/ldm/data -GOES8=/usr/gempak/data/images/sat/GOES-8 -GOES9=/usr/gempak/data/images/sat/GOES-9 -HDS=/usr/gempak/data/hds -MODEL=/usr/gempak/data/model -SAO=/usr/gempak/data/surface -UPA=/usr/gempak/data/upperair -RAW_SAO=/usr/ldm/data/surface/sao -RAW_SYN=/usr/ldm/data/surface/syn -RAW_UPA=/usr/ldm/data/upperair -NLDN=/usr/gempak/data/nldn -TORN_WARN=/usr/gempak/data/nwx/watch_warn/torn_warn -TSTRM_WARN=/usr/gempak/data/nwx/watch_warn/tstrm_warn -TEXT_WARN=/usr/gempak/data/nwx/watch_warn -RBKGPH=/usr/gempak/data/redbook -LP="lpr" -XUSERFILESEARCHPATH="/usr/gempak/resource/%N" -grids=/usr/gempak/data/model diff --git a/sci-geosciences/gempak/gempak-5.7.2_p2.ebuild b/sci-geosciences/gempak/gempak-5.7.2_p2.ebuild deleted file mode 100644 index 9041365ca64b..000000000000 --- a/sci-geosciences/gempak/gempak-5.7.2_p2.ebuild +++ /dev/null @@ -1,170 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gempak/gempak-5.7.2_p2.ebuild,v 1.8 2012/10/24 19:37:20 ulm Exp $ - -EAPI=1 - -inherit eutils - -# They can't seem to retain a normal naming scheme, so hacks are required. -# Often the hacks change on every bump. -MY_PV="${PV/_}" -MY_P="${PN}_upc${MY_PV}" - -DESCRIPTION="GEMPAK Meteorological Plotting and Analysis Package" -HOMEPAGE="http://www.unidata.ucar.edu/packages/gempak" -SRC_URI="${MY_P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="x86 ~ppc" -IUSE="" -RESTRICT="fetch" - -DEPEND="" -RDEPEND="${DEPEND} - >=x11-libs/motif-2.3:0" - -# More inconsistencies, this sometimes changes on bumps. -S="${WORKDIR}/GEMPAK${MY_PV}" - -pkg_setup() { - # Define this here so we don't have to have it more than once. - GENTOO_VARS="NAWIPS GARPHOME GARP_PATH NA_OS GEMPAK GEMPAKHOME GEMLIB GEMEXE - GEMPDF GEMTBL GEMERR GEMHLP GEMMAPS GEMNTS GEMPARM GEMPTXT GEMGTXT - NAWIPS_EXE NAWIPS_LIB NAWIPS_INC NAWIPS_HELP NAWIPS_TABLES NWX_TABLES - NMAP_RESTORE MEL_BUFR MEL_BUFR_TABLES BRDGDIR xresources SCRIPTS_EXE - GEMDATA OBS NTRANS_META TEXT_DATA SAT RAD RADDIR LDMDATA GOES8 GOES9 HDS - MODEL SAO UPA RAW_SAO RAW_SYN RAW_UPA NLDN TORN_WARN TSTRM_WARN - TEXT_WARN RBKGPH LP XUSERFILESEARCHPATH grids" -} - -pkg_nofetch() { - einfo "Please visit ${HOMEPAGE}" - einfo "and place ${A} in ${DISTDIR}." -} - -src_unpack() { - setup_vars - - unpack ${A} - - ebegin "Applying miscellaneous fixes" - # Add needed definition - sed -e '/^GEMPAKHOME/iNAWIPS = ${S}' ${FILESDIR}/Makeinc.common >> ${CONFIGDIR}/Makeinc.common - - # One of the GEMPAK cleanup scripts uses '$RM' instead of 'rm'. - sed -i -e 's/^\$RM/rm/' ${S}/bin/scripts/cleanvgf - - # Eliminate bad symlink - # rm ${S}/unidata/programs/gpnexr2/rsl_colors - - # This is necessary because otherwise it freaks out due to a missing - # lib/linux. - mkdir -p lib/linux - eend 0 - - # This is necessary because the paths to some bitmaps are hard-coded. - # epatch ${FILESDIR}/${PV}-gui.c.patch - - # Fix changed header - header_replace varargs.h stdarg.h - - # Can't install to /usr/local - ebegin "Fixing bad install locations" - for BADFILE in `grep -lr '/usr/local' ${S}` - do sed -i "s:/usr/local:/usr:g" ${BADFILE} ; - done - eend 0 -} - -src_compile() { - setup_vars - - make || die -} - -src_install() { - setup_vars - - einfo "Pre-installing GEMPAK..." - make install || die - - # This eliminates all the Makefiles, source code, header files, - # and sundry other useless files. - ebegin "Removing unnecessary files" - rm -rf ${S}/{config,include,ldm,lib,netcdf,nprogs,unidata,gempak/source} - rm -rf ${S}/comet/{dcshef,etamap,garp/{gempak,gui,include,init,object,util}} - rm ${S}/{,gempak/,comet/{,garp/}}Makefile - eend 0 - - # Create the directory to install GEMPAK to. - dodir usr/gempak - - # Create the skeleton directory hierarchy for GEMPAK data. - keepdir usr/gempak/data/images/radar/nids - keepdir usr/gempak/data/images/sat/GOES-East - keepdir usr/gempak/data/meta - keepdir usr/gempak/data/model - keepdir usr/gempak/data/nldn - keepdir usr/gempak/data/nwx - keepdir usr/gempak/data/redbook - keepdir usr/gempak/data/surface - keepdir usr/gempak/data/upperair - dosym usr/gempak/data/model usr/gempak/data/model/hds - dosym usr/gempak/data/model usr/gempak/data/model/hrs - - # Put all the necessary files in the correct place. - einfo "Installing GEMPAK..." - cp -Rfv ${S}/* ${D}/usr/gempak - - # This is necessary, because otherwise some of the files will not be - # world-readable - ebegin "Fixing permissions to ensure world-readability" - chmod +r -Rf ${D} - eend 0 - - # Install env.d file - newenvd "${FILESDIR}"/gempak.env.d 10gempak -} - -pkg_postinst() { - einfo "" - einfo "A skeleton directory hierarchy has been automatically" - einfo "created in /usr/gempak/data. If you wish to use a" - einfo "different path you will need to edit /etc/env.d/10gempak" - einfo "to reflect the change. If you already have a directory" - einfo "hierarchy of your own, then simply remove /usr/gempak/data" - einfo "and create a symbolic link from your data path to" - einfo "/usr/gempak/data. Updates/uninstalls of GEMPAK will not" - einfo "affect the symlinked directories, so long as they have data" - einfo "inside them." - einfo "" - einfo "NOTE: Some of the programs in the GEMPAK suite have paths" - einfo "hardcoded into the executables. It is ill-advised" - einfo "to start playing around with paths unless you know" - einfo "what you are doing." - einfo "" -} - -header_replace() { - # Replace obsoleted header - # Usage: header_fix oldheader newheader - ebegin "Replacing obsolete header references" - for OLDFILE in `grep -lr "${1}" ${S}` - do sed -i "s:${1}:${2}:g" ${OLDFILE} ; - done - eend 0 -} - -setup_vars() { - # All GEMPAK paths need to be unset before attempting to compile. - unset ${GENTOO_VARS} - - # These GEMPAK paths must be set to their new values before - # compiling. - export CONFIGDIR="${S}/config" - export GARPHOME="${S}/comet/garp" - export NA_OS="linux" - export NAWIPS="${S}" -} diff --git a/sci-geosciences/gempak/gempak-5.7.4.ebuild b/sci-geosciences/gempak/gempak-5.7.4.ebuild deleted file mode 100644 index 05b0f55ca658..000000000000 --- a/sci-geosciences/gempak/gempak-5.7.4.ebuild +++ /dev/null @@ -1,169 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gempak/gempak-5.7.4.ebuild,v 1.9 2012/10/24 19:37:20 ulm Exp $ - -EAPI=1 - -inherit eutils - -# They can't seem to retain a normal naming scheme, so hacks are required. -# Often the hacks change on every bump. -MY_PV="${PV/_}" -MY_P="${PN}_upc${MY_PV}" - -DESCRIPTION="GEMPAK Meteorological Plotting and Analysis Package" -HOMEPAGE="http://www.unidata.ucar.edu/packages/gempak" -SRC_URI="${MY_P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~x86 ~ppc" -IUSE="" -RESTRICT="fetch" - -DEPEND=">=x11-libs/motif-2.3:0" -RDEPEND="${DEPEND}" - -# More inconsistencies, this sometimes changes on bumps. -S="${WORKDIR}/GEMPAK${MY_PV}" - -pkg_setup() { - # Define this here so we don't have to have it more than once. - GENTOO_VARS="NAWIPS GARPHOME GARP_PATH NA_OS GEMPAK GEMPAKHOME GEMLIB GEMEXE - GEMPDF GEMTBL GEMERR GEMHLP GEMMAPS GEMNTS GEMPARM GEMPTXT GEMGTXT - NAWIPS_EXE NAWIPS_LIB NAWIPS_INC NAWIPS_HELP NAWIPS_TABLES NWX_TABLES - NMAP_RESTORE MEL_BUFR MEL_BUFR_TABLES BRDGDIR xresources SCRIPTS_EXE - GEMDATA OBS NTRANS_META TEXT_DATA SAT RAD RADDIR LDMDATA GOES8 GOES9 HDS - MODEL SAO UPA RAW_SAO RAW_SYN RAW_UPA NLDN TORN_WARN TSTRM_WARN - TEXT_WARN RBKGPH LP XUSERFILESEARCHPATH grids" -} - -pkg_nofetch() { - elog "Please visit ${HOMEPAGE}" - elog "and place ${A} in ${DISTDIR}." -} - -src_unpack() { - setup_vars - - unpack ${A} - - ebegin "Applying miscellaneous fixes" - # Add needed definition - sed -e '/^GEMPAKHOME/iNAWIPS = ${S}' ${FILESDIR}/Makeinc.common >> ${CONFIGDIR}/Makeinc.common - - # One of the GEMPAK cleanup scripts uses '$RM' instead of 'rm'. - sed -i -e 's/^\$RM/rm/' ${S}/bin/scripts/cleanvgf - - # Eliminate bad symlink - # rm ${S}/unidata/programs/gpnexr2/rsl_colors - - # This is necessary because otherwise it freaks out due to a missing - # lib/linux. - mkdir -p lib/linux - eend 0 - - # This is necessary because the paths to some bitmaps are hard-coded. - # epatch ${FILESDIR}/${PV}-gui.c.patch - - # Fix changed header - header_replace varargs.h stdarg.h - - # Can't install to /usr/local - ebegin "Fixing bad install locations" - for BADFILE in `grep -lr '/usr/local' ${S}` - do sed -i "s:/usr/local:/usr:g" ${BADFILE} ; - done - eend 0 -} - -src_compile() { - setup_vars - - make || die -} - -src_install() { - setup_vars - - einfo "Pre-installing GEMPAK..." - make install || die - - # This eliminates all the Makefiles, source code, header files, - # and sundry other useless files. - ebegin "Removing unnecessary files" - rm -rf ${S}/{config,include,ldm,lib,netcdf,nprogs,unidata,gempak/source} - rm -rf ${S}/comet/{dcshef,etamap,garp/{gempak,gui,include,init,object,util}} - rm ${S}/{,gempak/,comet/{,garp/}}Makefile - eend 0 - - # Create the directory to install GEMPAK to. - dodir usr/gempak - - # Create the skeleton directory hierarchy for GEMPAK data. - keepdir usr/gempak/data/images/radar/nids - keepdir usr/gempak/data/images/sat/GOES-East - keepdir usr/gempak/data/meta - keepdir usr/gempak/data/model - keepdir usr/gempak/data/nldn - keepdir usr/gempak/data/nwx - keepdir usr/gempak/data/redbook - keepdir usr/gempak/data/surface - keepdir usr/gempak/data/upperair - dosym usr/gempak/data/model usr/gempak/data/model/hds - dosym usr/gempak/data/model usr/gempak/data/model/hrs - - # Put all the necessary files in the correct place. - einfo "Installing GEMPAK..." - cp -Rfv ${S}/* ${D}/usr/gempak - - # This is necessary, because otherwise some of the files will not be - # world-readable - ebegin "Fixing permissions to ensure world-readability" - chmod +r -Rf ${D} - eend 0 - - # Install env.d file - newenvd ${FILESDIR}/gempak.env.d 10gempak -} - -pkg_postinst() { - einfo "" - einfo "A skeleton directory hierarchy has been automatically" - einfo "created in /usr/gempak/data. If you wish to use a" - einfo "different path you will need to edit /etc/env.d/10gempak" - einfo "to reflect the change. If you already have a directory" - einfo "hierarchy of your own, then simply remove /usr/gempak/data" - einfo "and create a symbolic link from your data path to" - einfo "/usr/gempak/data. Updates/uninstalls of GEMPAK will not" - einfo "affect the symlinked directories, so long as they have data" - einfo "inside them." - einfo "" - einfo "NOTE: Some of the programs in the GEMPAK suite have paths" - einfo "hardcoded into the executables. It is ill-advised" - einfo "to start playing around with paths unless you know" - einfo "what you are doing." - einfo "" -} - -header_replace() { - # Replace obsoleted header - # Usage: header_fix oldheader newheader - ebegin "Replacing obsolete header references" - for OLDFILE in `grep -lr "${1}" ${S}` - do sed -i "s:${1}:${2}:g" ${OLDFILE} ; - done - eend 0 -} - -setup_vars() { - # All GEMPAK paths need to be unset before attempting to compile. - unset ${GENTOO_VARS} - - # These GEMPAK paths must be set to their new values before - # compiling. - export CONFIGDIR="${S}/config" - export GARPHOME="${S}/comet/garp" - export NA_OS="linux" - export NAWIPS="${S}" -} diff --git a/sci-geosciences/gempak/metadata.xml b/sci-geosciences/gempak/metadata.xml deleted file mode 100644 index d21d11884553..000000000000 --- a/sci-geosciences/gempak/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>sci-geosciences</herd> -</pkgmetadata> |