summaryrefslogtreecommitdiff
path: root/dev-lang/mercury-extras
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/mercury-extras')
-rw-r--r--dev-lang/mercury-extras/Manifest6
-rw-r--r--dev-lang/mercury-extras/mercury-extras-13.05.2.ebuild198
-rw-r--r--dev-lang/mercury-extras/mercury-extras-14.01.ebuild198
3 files changed, 0 insertions, 402 deletions
diff --git a/dev-lang/mercury-extras/Manifest b/dev-lang/mercury-extras/Manifest
index a3fda4e60f62..76bad2df7673 100644
--- a/dev-lang/mercury-extras/Manifest
+++ b/dev-lang/mercury-extras/Manifest
@@ -1,10 +1,4 @@
-DIST mercury-extras-13.05.2-gentoo-patchset-3.tar.gz 3538 BLAKE2B b323347ce98ecbc412cbd8683f8236b38b048e331c2b41d74874acdf17cc8b132211c15a2d29f8b98b7238e0e4e7cc1492b8e0a5ade4d348eb679fd322a22b2d SHA512 c151f876768c6b6ab7b46b4e2501569586249f5e185e534ebb5817206ac0844cd081ccae86a26ef85f27eab9d851017393c837728bd194520a549a0a60f738ef
-DIST mercury-extras-14.01-gentoo-patchset-1.tar.gz 3856 BLAKE2B 8a0792150a30ee552d1877e8736e25b0554ac68aaa7074e296886ea445c31a4b1593a438220da7bca45f49b2e49b0e4848f1e4ab852502bd3865632d378439c8 SHA512 c584efd4c7af54d2e8d5af0a63acced118f356527a2bf692262e37366e1018247aac8c1bb8f700f08f8f0a2c95d979e215e3c949ec1dc2994ab40048eb5b253c
DIST mercury-extras-14.01.1-gentoo-patchset-1.tar.gz 3847 BLAKE2B ce30b98c5cfe96ad67bd6fa5a8d03ebdfe6f4539e39a970ce48eb794b663d7164ae38a619beb4ce85d6cc3a1e3b5a5ee8fa59b6acd00dc6d23670fceac87734e SHA512 2afad01fb778d0e84e8d83a507b37080974840c81408827559df455d8082552131cdbfdae59c77f2f7bc3a643a087f1563c6c67d527f7b0bdef3412385bf4818
-DIST mercury-srcdist-13.05.2.tar.gz 53847394 BLAKE2B 23d2f8de6e9a4a2803fca9f3dec73215f6636389fdf388ef950042eff2ee43671577120f8324b309786d463e30ba9360d2df07ee498d78800182096f8773697e SHA512 2298804d3a04bca6be4bd3046643c7c0d0b22c447423017869cd9bf3a4fb6ec9fd29b5d8e1a386d5d52d07be5cad73608f1fcacf46732a7add93a01dcd199c08
DIST mercury-srcdist-14.01.1.tar.gz 52658945 BLAKE2B 6497921a0227b9a6fbcbabdd309ef3325f32dda14fc4ddb443368385b89be4011d677a24b30b3702147d1b782fe2597760ad66dd34503aa6aebaf79707466529 SHA512 a128ef0fd4955abadea32019ec59297ffe32537415f32e9e948cbc1c3439bb40eb09de77569690fb18dd7d6969a2b1141b3ae5baeb87f2627eaa65ad93add92c
-DIST mercury-srcdist-14.01.tar.gz 52683989 BLAKE2B 32fa014f08ad6a7a4ca62dd08a460620f0c60d311021f3643a81868acdd1eb58150caca81b18612f760125c339a25ed908862e17e38b65dd56bde8c8bd0bffb0 SHA512 77f61df64fc150e08f191860f285b97d11a71a52eabc95f660b3c90d88f8ee71d1227f7ab4b8be78be9d4aa3d62a260a874020023e4795da4cfd2e6fefa9965f
-EBUILD mercury-extras-13.05.2.ebuild 4700 BLAKE2B db54c99ed0c1fd44467ace60c83d245208a52911fc84eaf8a4af490e740f9ab53317af8e1bac353048de31e9fb2b16e26c770464c0033080db842579d65a93d3 SHA512 df9663114548982f6f3453e8e1550712faa09093de7a2f24db4102ad4ac0856e2510cdb1f2841d6cec03f98311b0c170e0818507b7b7d7cd6b9e8dc22d13a33f
EBUILD mercury-extras-14.01.1.ebuild 4599 BLAKE2B ba26033f215cf28b7b2aa28180396fb65e39cd281b08fb4ac877744a6fb97af85f89f7ec0ed3ff2dd10162d5813f1be16f2f6bca5248868a39d72881dfa498d5 SHA512 c451c8d2b49b1eeccfc896d9012d7ab67147767f52c8aae52fda013a8ca26de758d2cc246a1d40d75de08623760b57529f56c2edef5ecaaeaf1bc0dbc5788964
-EBUILD mercury-extras-14.01.ebuild 4582 BLAKE2B c2de2efefcc2ca6e36d6dff317e3bde8d33d0e8679bf885227fb2c36e40a5f0beceddacdc8cf4c761eaa1d9740ca327567ab8a9c83b3ac475c0fd4d51e2dbe91 SHA512 4f9d352fe306c95f3cf22acfcd9ac6623c51d4575140452cca095eebdf52271bf3061da52c735ad0d00d943792f332711de46b67773a26bab1e2d1c44813723a
MISC metadata.xml 240 BLAKE2B 6b5ab0d76c5748af7bd1800d11864869d7365b8d53e2fd2ec66c1092dd1fdac8461b20c029ffe835357542ca69f789ce867988d64c43019e02fe9e3691f0f9bd SHA512 7cd99ce62ca4f9307fa7dfdbfd0ff9d8ff7485c58cd08cd684065aca4b570f8655587425f6a240453a9e86452de41f26f8b82aa81c023764d0beb47daa1b15d3
diff --git a/dev-lang/mercury-extras/mercury-extras-13.05.2.ebuild b/dev-lang/mercury-extras/mercury-extras-13.05.2.ebuild
deleted file mode 100644
index a3abc55dadf1..000000000000
--- a/dev-lang/mercury-extras/mercury-extras-13.05.2.ebuild
+++ /dev/null
@@ -1,198 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=2
-
-inherit eutils multilib
-
-PATCHSET_VER="3"
-MY_P=mercury-srcdist-${PV}
-
-DESCRIPTION="Additional libraries and tools that are not part of the Mercury standard library"
-HOMEPAGE="http://www.mercurylang.org/index.html"
-SRC_URI="http://dl.mercurylang.org/release/${MY_P}.tar.gz
- mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
-
-LICENSE="GPL-2 LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-IUSE="X cairo examples glut iodbc ncurses odbc opengl ssl tcl tk xml"
-
-RDEPEND="~dev-lang/mercury-${PV}
- cairo? ( >=x11-libs/cairo-1.10.0 )
- glut? ( media-libs/freeglut )
- odbc? ( dev-db/unixODBC )
- iodbc? ( !odbc? ( dev-db/libiodbc ) )
- ncurses? ( sys-libs/ncurses )
- opengl? (
- virtual/opengl
- virtual/glu
- )
- tcl? ( tk? (
- dev-lang/tcl:0
- dev-lang/tk:0
- x11-libs/libX11
- x11-libs/libXmu
- )
- )"
-
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}"/${MY_P}/extras
-
-src_prepare() {
- cd "${WORKDIR}"
-
- EPATCH_FORCE=yes
- EPATCH_SUFFIX=patch
- epatch "${WORKDIR}"/${PV}
-
- if use odbc; then
- epatch "${WORKDIR}"/${PV}-odbc/${P}-odbc.patch
- elif use iodbc; then
- epatch "${WORKDIR}"/${PV}-odbc/${P}-iodbc.patch
- fi
-
- cd "${S}"
- sed -i -e "s:references:references solver_types/library:" \
- -e "s:windows_installer_generator::" \
- Mmakefile || die "sed default packages failed"
-
- if use cairo; then
- sed -i -e "s:lex[ \t]*\\\\:graphics/mercury_cairo lex \\\\:" Mmakefile \
- || die "sed cairo failed"
- fi
-
- if use glut; then
- sed -i -e "s:lex[ \t]*\\\\:graphics/mercury_glut lex \\\\:" Mmakefile \
- || die "sed glut failed"
- fi
-
- if use opengl; then
- sed -i -e "s:lex[ \t]*\\\\:graphics/mercury_opengl lex \\\\:" Mmakefile \
- || die "sed opengl failed"
- fi
-
- if use tcl && use tk; then
- sed -i -e "s:lex[ \t]*\\\\:graphics/mercury_tcltk lex \\\\:" Mmakefile \
- || die "sed tcltk failed"
- fi
-
- if use odbc || use iodbc; then
- sed -i -e "s:moose:moose odbc:" Mmakefile \
- || die "sed odbc failed"
- fi
-
- if use ncurses; then
- sed -i -e "s:complex_numbers:complex_numbers curs curses:" Mmakefile \
- || die "sed ncurses failed"
- fi
-
- if ! use xml; then
- sed -i -e "s:xml::" Mmakefile \
- || die "sed xml failed"
- fi
-
- sed -i -e "s:@libdir@:$(get_libdir):" \
- dynamic_linking/Mmakefile \
- || die "sed libdir failed"
-
- # disable broken packages
- sed -i -e "s:references::" Mmakefile \
- || die "sed broken packages failed"
-}
-
-src_compile() {
- # Mercury dependency generation must be run single-threaded
- mmake \
- -j1 depend || die "mmake depend failed"
-
- # Compiling Mercury submodules is not thread-safe
- mmake -j1 \
- EXTRA_MLFLAGS=--no-strip \
- EXTRA_LDFLAGS="${LDFLAGS}" \
- EXTRA_LD_LIBFLAGS="${LDFLAGS}" \
- || die "mmake failed"
-}
-
-src_install() {
- # Compiling Mercury submodules is not thread-safe
- mmake -j1 \
- EXTRA_LD_LIBFLAGS="${LDFLAGS}" \
- INSTALL_PREFIX="${D}"/usr \
- install || die "mmake install failed"
-
- find "${D}"/usr/$(get_libdir)/mercury -type l | xargs rm
-
- cd "${S}"
- if use examples; then
- insinto /usr/share/doc/${PF}/samples/base64
- doins base64/*.m || die
-
- insinto /usr/share/doc/${PF}/samples/complex_numbers
- doins complex_numbers/samples/* || die
-
- insinto /usr/share/doc/${PF}/samples/dynamic_linking
- doins dynamic_linking/hello.m || die
-
- insinto /usr/share/doc/${PF}/samples/error
- doins error/* || die
-
- insinto /usr/share/doc/${PF}/samples/fixed
- doins fixed/*.m || die
-
- insinto /usr/share/doc/${PF}/samples/gator
- doins -r gator/* || die
-
- insinto /usr/share/doc/${PF}/samples/lex
- doins lex/samples/* || die
-
- insinto /usr/share/doc/${PF}/samples/log4m
- doins log4m/*.m || die
-
- insinto /usr/share/doc/${PF}/samples/monte
- doins monte/*.m || die
-
- insinto /usr/share/doc/${PF}/samples/moose
- doins moose/samples/* || die
-
- insinto /usr/share/doc/${PF}/samples/net
- doins net/*.m || die
-
- if use ncurses; then
- insinto /usr/share/doc/${PF}/samples/curs
- doins curs/samples/* || die
-
- insinto /usr/share/doc/${PF}/samples/curses
- doins curses/sample/* || die
- fi
-
- if use X; then
- insinto /usr/share/doc/${PF}/samples/graphics
- doins graphics/easyx/samples/*.m || die
- fi
-
- if use glut && use opengl; then
- insinto /usr/share/doc/${PF}/samples/graphics
- doins graphics/samples/calc/* || die
- doins graphics/samples/gears/* || die
- doins graphics/samples/maze/* || die
- doins graphics/samples/pent/* || die
- fi
-
- if use opengl && use tcl && use tk; then
- insinto /usr/share/doc/${PF}/samples/graphics
- doins graphics/samples/pent/*.m || die
- fi
-
- if use ssl; then
- insinto /usr/share/doc/${PF}/samples/mopenssl
- doins mopenssl/*.m || die
- fi
-
- ecvs_clean
- fi
-
- dodoc README || die
-}
diff --git a/dev-lang/mercury-extras/mercury-extras-14.01.ebuild b/dev-lang/mercury-extras/mercury-extras-14.01.ebuild
deleted file mode 100644
index e6be7669abd1..000000000000
--- a/dev-lang/mercury-extras/mercury-extras-14.01.ebuild
+++ /dev/null
@@ -1,198 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils multilib
-
-PATCHSET_VER="1"
-MY_P=mercury-srcdist-${PV}
-
-DESCRIPTION="Additional libraries and tools that are not part of the Mercury standard library"
-HOMEPAGE="http://www.mercurylang.org/index.html"
-SRC_URI="http://dl.mercurylang.org/release/${MY_P}.tar.gz
- mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
-
-LICENSE="GPL-2 LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="X cairo examples glut iodbc ncurses odbc opengl ssl tcl tk xml"
-
-RDEPEND="~dev-lang/mercury-${PV}
- cairo? ( >=x11-libs/cairo-1.10.0 )
- glut? ( media-libs/freeglut )
- odbc? ( dev-db/unixODBC )
- iodbc? ( !odbc? ( dev-db/libiodbc ) )
- ncurses? ( sys-libs/ncurses:= )
- opengl? (
- virtual/opengl
- virtual/glu
- )
- tcl? ( tk? (
- dev-lang/tcl:0
- dev-lang/tk:0
- x11-libs/libX11
- x11-libs/libXmu
- )
- )"
-
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}"/${MY_P}/extras
-
-mercury_pkgs()
-{
- echo "base64
- cgi
- complex_numbers
- dynamic_linking
- error
- fixed
- lex
- moose
- posix
- solver_types/library
- $(use ncurses && echo curs curses)
- $(use glut && echo graphics/mercury_glut)
- $(use opengl && echo graphics/mercury_opengl)
- $(use tcl && use tk && echo graphics/mercury_tcltk)
- $(use odbc && echo odbc || use iodbc && echo odbc)
- $(has_version dev-lang/mercury[-minimal] && echo references)
- $(usev xml)"
-}
-
-src_prepare() {
- cd "${WORKDIR}"
-
- EPATCH_FORCE=yes
- EPATCH_SUFFIX=patch
- if [[ -d "${WORKDIR}"/${PV} ]] ; then
- epatch "${WORKDIR}"/${PV}
- fi
-
- cd "${S}"
- if use odbc; then
- cp odbc/Mmakefile.odbc odbc/Mmakefile
- elif use iodbc; then
- cp odbc/Mmakefile.iodbc odbc/Mmakefile
- fi
-}
-
-src_compile() {
- local MERCURY_PKGS="$(mercury_pkgs)"
-
- # Mercury dependency generation must be run single-threaded
- mmake -j1 \
- SUBDIRS="${MERCURY_PKGS}" \
- depend || die "mmake depend failed"
-
- # Compiling Mercury submodules is not thread-safe
- mmake -j1 \
- SUBDIRS="${MERCURY_PKGS}" \
- EXTRA_MLFLAGS=--no-strip \
- EXTRA_CFLAGS="${CFLAGS}" \
- EXTRA_LDFLAGS="${LDFLAGS}" \
- EXTRA_LD_LIBFLAGS="${LDFLAGS}" \
- || die "mmake failed"
-
- if use cairo; then
- cd "${S}"/graphics/mercury_cairo
- mmc --make libmercury_cairo \
- || die "mmc --make libmercury_cairo failed"
- fi
-}
-
-src_install() {
- local MERCURY_PKGS="$(mercury_pkgs)"
-
- # Compiling Mercury submodules is not thread-safe
- mmake -j1 \
- SUBDIRS="${MERCURY_PKGS}" \
- EXTRA_MLFLAGS=--no-strip \
- EXTRA_CFLAGS="${CFLAGS}" \
- EXTRA_LDFLAGS="${LDFLAGS}" \
- EXTRA_LD_LIBFLAGS="${LDFLAGS}" \
- INSTALL_PREFIX="${D}"/usr \
- install || die "mmake install failed"
-
- if use cairo; then
- cd "${S}"/graphics/mercury_cairo
- INSTALL_PREFIX="${D}"/usr \
- mmc --make libmercury_cairo.install \
- || die "mmc --make libmercury_cairo.install failed"
- fi
-
- find "${D}"/usr/$(get_libdir)/mercury -type l | xargs rm
-
- cd "${S}"
- if use examples; then
- insinto /usr/share/doc/${PF}/samples/base64
- doins base64/*.m || die
-
- insinto /usr/share/doc/${PF}/samples/complex_numbers
- doins complex_numbers/samples/* || die
-
- insinto /usr/share/doc/${PF}/samples/dynamic_linking
- doins dynamic_linking/hello.m || die
-
- insinto /usr/share/doc/${PF}/samples/error
- doins error/* || die
-
- insinto /usr/share/doc/${PF}/samples/fixed
- doins fixed/*.m || die
-
- insinto /usr/share/doc/${PF}/samples/gator
- doins -r gator/* || die
-
- insinto /usr/share/doc/${PF}/samples/lex
- doins lex/samples/* || die
-
- insinto /usr/share/doc/${PF}/samples/log4m
- doins log4m/*.m || die
-
- insinto /usr/share/doc/${PF}/samples/monte
- doins monte/*.m || die
-
- insinto /usr/share/doc/${PF}/samples/moose
- doins moose/samples/* || die
-
- insinto /usr/share/doc/${PF}/samples/net
- doins net/*.m || die
-
- if use ncurses; then
- insinto /usr/share/doc/${PF}/samples/curs
- doins curs/samples/* || die
-
- insinto /usr/share/doc/${PF}/samples/curses
- doins curses/sample/* || die
- fi
-
- if use X; then
- insinto /usr/share/doc/${PF}/samples/graphics
- doins graphics/easyx/samples/*.m || die
- fi
-
- if use glut && use opengl; then
- insinto /usr/share/doc/${PF}/samples/graphics
- doins graphics/samples/calc/* || die
- doins graphics/samples/gears/* || die
- doins graphics/samples/maze/* || die
- doins graphics/samples/pent/* || die
- fi
-
- if use opengl && use tcl && use tk; then
- insinto /usr/share/doc/${PF}/samples/graphics
- doins graphics/samples/pent/*.m || die
- fi
-
- if use ssl; then
- insinto /usr/share/doc/${PF}/samples/mopenssl
- doins mopenssl/*.m || die
- fi
-
- ecvs_clean
- fi
-
- dodoc README || die
-}