diff options
Diffstat (limited to 'app-dicts/wordnet')
-rw-r--r-- | app-dicts/wordnet/wordnet-3.0-r4.ebuild | 71 | ||||
-rw-r--r-- | app-dicts/wordnet/wordnet-3.0-r5.ebuild | 75 |
2 files changed, 0 insertions, 146 deletions
diff --git a/app-dicts/wordnet/wordnet-3.0-r4.ebuild b/app-dicts/wordnet/wordnet-3.0-r4.ebuild deleted file mode 100644 index 8fc6f3f46f76..000000000000 --- a/app-dicts/wordnet/wordnet-3.0-r4.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit autotools epatch flag-o-matic multilib - -DESCRIPTION="A lexical database for the English language" -HOMEPAGE="https://wordnet.princeton.edu/" -SRC_URI=" - ftp://ftp.cogsci.princeton.edu/pub/wordnet/${PV}/WordNet-${PV}.tar.gz - mirror://gentoo/${P}-patchset-1.tar.bz2" -LICENSE="Princeton" - -SLOT="0" -KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" -IUSE="doc" - -# In contrast to what the configure script seems to imply, Tcl/Tk is NOT optional. -# cf. bug 163478 for details. (Yes, it's about 2.1 but it's still the same here.) -DEPEND=" - dev-lang/tcl:0= - dev-lang/tk:0=" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/WordNet-${PV}" - -PATCHES=( - # Don't install into PREFIX/dict but PREFIX/share/wordnet/dict - "${WORKDIR}/${P}-dict-location.patch" - # Fixes bug 130024, make an additional shared lib - "${WORKDIR}/${P}-shared-lib.patch" - # Don't install the docs directly into PREFIX/doc but PREFIX/doc/PN - "${WORKDIR}/${P}-docs-path.patch" - "${WORKDIR}"/${P}-CVE-2008-3908.patch #211491 - "${WORKDIR}"/${P}-CVE-2008-2149.patch #211491 - - "${FILESDIR}"/${P}-tcl8.6.patch - "${FILESDIR}"/${P}-format-security.patch - "${FILESDIR}"/${P}-src_stubs_c.patch -) - -src_prepare() { - epatch "${PATCHES[@]}" - # Don't install all the extra docs (html, pdf, ps) without doc USE flag. - if ! use doc; then - sed -i -e "s:SUBDIRS =.*:SUBDIRS = man:" doc/Makefile.am || die - fi - - # Drop installation of OLD tk.h headers #255590 - sed '/^SUBDIRS/d' -i include/Makefile.am || die - sed 's: include/tk/Makefile::' -i configure.ac || die - rm -rf include/tk/ || die - - rm -f configure || die - eautoreconf - MAKEOPTS+=" -e" -} - -src_configure() { - append-cppflags -DUNIX -I"${T}"/usr/include - - PLATFORM=linux WN_ROOT="${T}/usr" \ - WN_DICTDIR="${T}/usr/share/wordnet/dict" \ - WN_MANDIR="${T}/usr/share/man" \ - WN_DOCDIR="${T}/usr/share/doc/wordnet-${PV}" \ - WNHOME="${EPREFIX}/usr/share/wordnet" \ - econf \ - --with-tcl="${EPREFIX}"/usr/$(get_libdir) \ - --with-tk="${EPREFIX}"/usr/$(get_libdir) -} diff --git a/app-dicts/wordnet/wordnet-3.0-r5.ebuild b/app-dicts/wordnet/wordnet-3.0-r5.ebuild deleted file mode 100644 index fc8af0edea2c..000000000000 --- a/app-dicts/wordnet/wordnet-3.0-r5.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools epatch flag-o-matic - -DESCRIPTION="A lexical database for the English language" -HOMEPAGE="https://wordnet.princeton.edu/" -SRC_URI=" - http://wordnetcode.princeton.edu/${PV}/WordNet-${PV}.tar.gz - mirror://gentoo/${P}-patchset-1.tar.bz2" -LICENSE="Princeton" - -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" -IUSE="doc" - -# In contrast to what the configure script seems to imply, Tcl/Tk is NOT -# optional. cf. bug 163478 for details. (Yes, it's about 2.1 but it's -# still the same here.) -DEPEND=" - dev-lang/tcl:0= - dev-lang/tk:0=" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/WordNet-${PV}" - -PATCHES=( - # Don't install into PREFIX/dict but PREFIX/share/wordnet/dict - "${WORKDIR}/${P}-dict-location.patch" - # Fixes bug 130024, make an additional shared lib - "${WORKDIR}/${P}-shared-lib.patch" - # Don't install the docs directly into PREFIX/doc but PREFIX/doc/PN - "${WORKDIR}/${P}-docs-path.patch" - "${WORKDIR}"/${P}-CVE-2008-3908.patch #211491 - "${WORKDIR}"/${P}-CVE-2008-2149.patch #211491 - - "${FILESDIR}"/${P}-tcl8.6.patch - "${FILESDIR}"/${P}-format-security.patch - "${FILESDIR}"/${P}-src_stubs_c.patch - "${FILESDIR}"/${P}-fix-indexing-bug-314799.patch -) - -src_prepare() { - epatch "${PATCHES[@]}" - eapply_user - - # Don't install all the extra docs (html, pdf, ps) without doc USE flag. - if ! use doc; then - sed -i -e "s:SUBDIRS =.*:SUBDIRS = man:" doc/Makefile.am || die - fi - - # Drop installation of OLD tk.h headers #255590 - sed '/^SUBDIRS/d' -i include/Makefile.am || die - sed 's: include/tk/Makefile::' -i configure.ac || die - rm -rf include/tk/ || die - - rm -f configure || die - eautoreconf - MAKEOPTS+=" -e" -} - -src_configure() { - append-cppflags -DUNIX -I"${T}"/usr/include - - PLATFORM=linux WN_ROOT="${T}/usr" \ - WN_DICTDIR="${T}/usr/share/wordnet/dict" \ - WN_MANDIR="${T}/usr/share/man" \ - WN_DOCDIR="${T}/usr/share/doc/wordnet-${PV}" \ - WNHOME="${EPREFIX}/usr/share/wordnet" \ - econf \ - --with-tcl="${EPREFIX}"/usr/$(get_libdir) \ - --with-tk="${EPREFIX}"/usr/$(get_libdir) -} |