summaryrefslogtreecommitdiff
path: root/sci-libs/xgks-pmel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-libs/xgks-pmel
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/xgks-pmel')
-rw-r--r--sci-libs/xgks-pmel/Manifest6
-rw-r--r--sci-libs/xgks-pmel/files/aclocal.patch146
-rw-r--r--sci-libs/xgks-pmel/metadata.xml13
-rw-r--r--sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild80
4 files changed, 245 insertions, 0 deletions
diff --git a/sci-libs/xgks-pmel/Manifest b/sci-libs/xgks-pmel/Manifest
new file mode 100644
index 000000000000..6827aa562f8c
--- /dev/null
+++ b/sci-libs/xgks-pmel/Manifest
@@ -0,0 +1,6 @@
+AUX aclocal.patch 3851 SHA256 88f8ed94483883af584167a0fb942ddd6b95062cc86020b425aa938cf93cdf24 SHA512 f926c8f1b30dc7f960442f53b9f5facf8d9083e378c896e765284565e9b871434967a77b82303e5bbdbb62ca140cccf65f9a8e5e07a2cfc726a7317eb7706b45 WHIRLPOOL 175410552feaf3e625433d0b37374261cedbcd402e5e75bc3c483eb5be72753b578e7d9a2374ed14e863c0f6c5cb858fc8aa6fd172e8d3ca764773399dcfdfdc
+DIST xgks-pmel-2.5.5.tar.gz 1006581 SHA256 43a198aaa4d9497597e9253be19afc60d9dedda63a1fbcd718f77454d27adbb4 SHA512 001ef5742ebd93534569d650833ef04a82b01de819ceb2c3d3c750df58fd5bf9bbd538a79370b1d553db54477f409f6ab24958d3708260fb9ba7c8894ceb91c8 WHIRLPOOL 46e2e1b310edb102c0a47cbc5370d6f37f851e613b66753757648d26a07e89288a2d3f32186ff4438c20ac98cc3432b15b36fa2d92e6fc3b77cbcde7476a30f8
+EBUILD xgks-pmel-2.5.5.ebuild 1749 SHA256 32b52eac811e8ad902e07e472092ad9121a6b1e0841e31cf18500c1704196d93 SHA512 9644d831b3d1ccba28389ded8716580e659008de0306ca4d2e2a70775dfc7219e2b02f33d41fc7112de18b7b872931212b36a86fe80383fb308c7819feddbe00 WHIRLPOOL 0a79ed6ca9f579a505b295f647aac166f80c11723abaed1d121dc0a2d76daca86015523719f3f5620f6cd1aba9ae44c44e2774fee6494b02b02c6f64ae37737c
+MISC ChangeLog 2455 SHA256 2b89ff5230b1c58a3d21635f6ee1d8b49ad87d4814d6a916b37329e46f948e38 SHA512 e55d5fd6847763b87c419e8bd729f05feaae30f3650ab2224081b9401b7986eba5a3e98d16ebf9341bcda6dfd12db81f3bfe645e9dc213f724ebde39b556beae WHIRLPOOL f5590d1084766418a24d9b8c9c03da0ca323ff801db67d841b115c9cc71ab10186d8d9bc1de6f72eb1be7f97eb6c53fdb934d144d4920024f458b53360d3eaf6
+MISC ChangeLog-2015 1801 SHA256 5065e9c96f9c8eda24dafd7aed76d3bf852bca4a21b02401f8be9396a4f566f8 SHA512 5d322fed2b090ab0147a894bcbdb167c782ca58b88e212bf19202ecfaba38181c14d78cbc4916e35986c441eabaef273889a336e7920a983507c1b67a6e12c07 WHIRLPOOL a2d923e078ed40470f216c7dc5070029483c03636ecd55c3b2c6d9203df0a23fc4ea410bda13f7555a8991d1ee1f15e8bb794dc80a17197132bd88d971ee004e
+MISC metadata.xml 495 SHA256 ebb361a5cdb30156a16bc6e06cbdb4bd64777309085fda56cf7c742705615dd9 SHA512 2adc6d6866325d603ad8e0cf2b4f0175f0dbaefbdffd1081b5742f2a5951c342ab5031e01cf29f52e4d090f0bb0d495eb4c289e21116caec377de62878df50dc WHIRLPOOL 82a28e26314290124eb661df2d479b610023dcfb8fd3b4311e3585bba275a56409e75baf8079bd98bd9cc44f1d335dd9263b837379df7da329f9e8df794fa8de
diff --git a/sci-libs/xgks-pmel/files/aclocal.patch b/sci-libs/xgks-pmel/files/aclocal.patch
new file mode 100644
index 000000000000..48d44d747647
--- /dev/null
+++ b/sci-libs/xgks-pmel/files/aclocal.patch
@@ -0,0 +1,146 @@
+--- port/aclocal.m4.orig 2009-04-26 13:33:51.434402251 -0700
++++ port/aclocal.m4 2009-04-26 13:43:33.466651210 -0700
+@@ -582,26 +582,6 @@
+ ])])
+
+
+-# Check for ncdump(1)
+-#
+-define([UC_PROG_NCDUMP], [dnl
+-AC_PROGRAM_CHECK(NCDUMP, ncdump, ncdump, UC_ABSPATH($exec_prefix)/ncdump)dnl
+-if test `which "$NCDUMP" | wc -w` != 1; then
+- UC_NEED_VALUE(NCDUMP, [netCDF lister], /usr/local/unidata/bin/ncdump)dnl
+-fi
+-])
+-
+-
+-# Check for ncgen(1)
+-#
+-define([UC_PROG_NCGEN], [dnl
+-AC_PROGRAM_CHECK(NCGEN, ncgen, ncgen, UC_ABSPATH($exec_prefix)/ncgen)dnl
+-if test `which "$NCGEN" | wc -w` != 1; then
+- UC_NEED_VALUE(NCGEN, [netCDF generator], /usr/local/unidata/bin/ncgen)dnl
+-fi
+-])
+-
+-
+ # Test a script.
+ #
+ define([UC_TEST_SCRIPT],
+@@ -719,16 +699,6 @@
+ ])
+
+
+-# Check for McIDAS library.
+-#
+-define([UC_LIB_MCIDAS], [dnl
+-echo checking for MCIDAS library
+-UC_TEST_LIB(LD_MCIDAS, /home/mcidas/lib /home/mcidasd/lib, mcidas, McIDAS, dnl
+- -L/home/mcidas/lib -lmcidas)dnl
+-AC_PROVIDE([$0])dnl
+-])
+-
+-
+ # Check for X11 library.
+ #
+ define([UC_LIB_X11], [dnl
+@@ -745,77 +715,6 @@
+ define([UC_X11], [AC_REQUIRE([UC_CPP_X11])AC_REQUIRE([UC_LIB_X11])])
+
+
+-# Check for netCDF header-file directory.
+-#
+-define([UC_CPP_NETCDF], [dnl
+-echo checking for netCDF header-file
+-UC_TEST_DIR(CPP_NETCDF, UC_ABSPATH($prefix/[[[include]]]), netcdf.h,
+- [netCDF [[include]]-directory], [-I/usr/local/unidata/[[include]]])dnl
+-CPP_NETCDF=`case ${CPP_NETCDF} in -I*) echo ${CPP_NETCDF};; *) echo -I${CPP_NETCDF-};; esac`
+-AC_PROVIDE([$0])dnl
+-])
+-
+-
+-# Check for netCDF library.
+-#
+-define([UC_LIB_NETCDF], [dnl
+-echo checking for netCDF library
+-UC_TEST_LIB(LD_NETCDF, UC_ABSPATH($prefix/lib), netcdf,
+- netCDF, -L/usr/local/unidata/lib -lnetcdf)dnl
+-AC_PROVIDE([$0])dnl
+-])
+-
+-
+-# Check for netCDF implementation (header file and library).
+-#
+-define([UC_NETCDF], [AC_REQUIRE([UC_CPP_NETCDF])AC_REQUIRE([UC_LIB_NETCDF])])
+-
+-
+-# Check for netCDF operators library.
+-#
+-define([UC_LIB_NCOPERS], [dnl
+-echo checking for netCDF operators library
+-UC_TEST_LIB(LD_NCOPERS, UC_ABSPATH($prefix/lib), ncopers,
+- netCDF-operators, [-L/usr/local/unidata/lib -lncopers])dnl
+-AC_PROVIDE([$0])dnl
+-])
+-
+-
+-# Check for LDM header-file directory.
+-#
+-define([UC_CPP_LDM], [dnl
+-echo checking for LDM header-file
+-UC_TEST_DIR(CPP_LDM, UC_ABSPATH($prefix/[[[include]]]) dnl
+- UC_ABSPATH($prefix/../[[[include]]]) dnl
+- UC_ABSPATH($prefix/../ldm/[[[include]]]), ldm.h,
+- [LDM [[include]]-directory], [-I/usr/local/unidata/[[include]]])dnl
+-CPP_LDM=`case ${CPP_LDM} in -I*) echo ${CPP_LDM};; *) echo -I${CPP_LDM-};; esac`
+-if test -z "$CPP_LDM"; then
+- UC_NEED_VALUE(CPP_LDM, [LDM include directory], -I/home/ldm/include)dnl
+-fi
+-AC_PROVIDE([$0])dnl
+-])
+-
+-
+-# Check for LDM library.
+-#
+-define([UC_LIB_LDM], [dnl
+-echo checking for LDM library
+-UC_TEST_LIB(LD_LDM, UC_ABSPATH($prefix/lib) dnl
+- UC_ABSPATH($prefix/../lib) UC_ABSPATH($prefix/../ldm/lib), ldm,
+- LDM, -L/usr/local/unidata/lib -lldm)dnl
+-if test -z "$LD_LDM"; then
+- UC_NEED_VALUE(LD_LDM, [LDM library], -L/home/ldm/lib -lldm)dnl
+-fi
+-AC_PROVIDE([$0])dnl
+-])
+-
+-
+-# Check for LDM implementation (header file and library).
+-#
+-define([UC_LDM], [AC_REQUIRE([UC_CPP_LDM])AC_REQUIRE([UC_LIB_LDM])])
+-
+-
+ # Check for udres(3) library.
+ #
+ define([UC_LIB_UDRES], [dnl
+--- port/configure.in.orig 2009-04-26 13:34:08.430308009 -0700
++++ port/configure.in 2009-04-26 13:44:26.218430537 -0700
+@@ -24,8 +24,6 @@
+ UC_PROG_FORTC
+ UC_PROG_NEQN
+ UC_PROG_TBL
+-UC_PROG_NCDUMP
+-UC_PROG_NCGEN
+ UC_PROG_INSTALL
+
+ UC_UDPOSIX
+--- port/master.mk.in.orig 2009-04-26 13:34:18.848400960 -0700
++++ port/master.mk.in 2009-04-26 13:45:03.187651071 -0700
+@@ -19,8 +19,6 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ FC = @FC@
+-NCDUMP = @NCDUMP@
+-NCGEN = @NCGEN@
+ NEQN = @NEQN@
+ OS = @OS@
+ SHELL = /bin/sh
diff --git a/sci-libs/xgks-pmel/metadata.xml b/sci-libs/xgks-pmel/metadata.xml
new file mode 100644
index 000000000000..446c65af5a70
--- /dev/null
+++ b/sci-libs/xgks-pmel/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci-geosciences@gentoo.org</email>
+ <name>Gentoo Geosciences Project</name>
+ </maintainer>
+ <longdescription>
+XGKS is a level 2C implementation of the ANSI Graphical Kernel System (GKS) for
+X-windows, with a C and Fortran interface. This version has support for PMEL's
+Ferret visualization tool.
+</longdescription>
+</pkgmetadata>
diff --git a/sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild b/sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild
new file mode 100644
index 000000000000..a329866fa003
--- /dev/null
+++ b/sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils fortran-2 toolchain-funcs multilib
+
+DESCRIPTION="PMEL fork of XGKS, an X11-based version of the ANSI Graphical Kernel System"
+HOMEPAGE="http://www.gentoogeek.org/viewvc/Linux/xgks-pmel/"
+SRC_URI="http://www.gentoogeek.org/files/${P}.tar.gz"
+
+LICENSE="UCAR-Unidata"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="doc"
+
+RDEPEND="
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ sys-devel/flex
+ sys-apps/groff"
+
+src_prepare() {
+ epatch "${FILESDIR}"/aclocal.patch
+}
+
+src_configure() {
+ sed -i -e "s:lib64:$(get_libdir):g" port/master.mk.in \
+ fontdb/Makefile.in || die
+
+ CFLAGS=${CFLAGS} LD_X11='-L/usr/$(get_libdir) -lX11' \
+ FC=$(tc-getFC) CC=$(tc-getCC) OS=linux \
+ ./configure --prefix=/usr --exec_prefix=/usr/bin \
+ || die
+}
+
+src_compile() {
+ sed -i -e "s:port/all port/install:port/all:g" Makefile \
+ || die
+
+ # Fails parallel build, bug #295724
+ emake -j1
+
+ cd src/fortran
+ emake -j1
+}
+
+src_install() {
+ cd "${S}"/progs
+
+ for tool in {defcolors,font,mi,pline,pmark}; do
+ newbin ${tool} xgks-${tool}
+ done
+
+ cd "${S}"
+ dolib.a src/lib/libxgks.a
+
+ dodoc COPYRIGHT HISTORY INSTALL README
+ doman doc/{xgks.3,xgks_synop.3}
+ if use doc; then
+ newdoc doc/binding/cbinding.me cbinding
+ newdoc doc/userdoc/userdoc.me userdoc
+ insinto /usr/share/doc/${P}/examples
+ doins progs/{hanoi.c,star.c}
+ fi
+
+ insinto /usr/include/xgks
+ doins src/lib/gks*.h
+ doins src/lib/gksm/gksm*.h
+ doins src/fortran/f*.h
+ doins src/lib/w*.h
+ doins src/lib/{input.h,metafile.h,polylines.h,polymarkers.h,text.h}
+
+ insinto /usr/include
+ doins src/lib/xgks.h
+ doins port/udposix.h
+
+ insinto /usr/share/xgksfonts
+ doins fontdb/{[1-9],*.gksfont}
+}