aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-06-25 19:00:15 +0200
committerJustin Lecher <jlec@gentoo.org>2011-06-25 19:00:15 +0200
commitf5548837cf53a7dd3c36741d2651560c6fbfdeb5 (patch)
tree0205b91b7314bd9ab9c90253286b31742eed300a /sci-misc/sfst
parentCleaned ebuild (diff)
downloadsci-f5548837cf53a7dd3c36741d2651560c6fbfdeb5.tar.gz
sci-f5548837cf53a7dd3c36741d2651560c6fbfdeb5.tar.bz2
sci-f5548837cf53a7dd3c36741d2651560c6fbfdeb5.zip
Cleaned ebuild
(Portage version: 2.2.0_alpha41/git/Linux x86_64, signed Manifest commit with key 70EB7916)
Diffstat (limited to 'sci-misc/sfst')
-rw-r--r--sci-misc/sfst/ChangeLog4
-rw-r--r--sci-misc/sfst/Manifest20
-rw-r--r--sci-misc/sfst/metadata.xml12
-rw-r--r--sci-misc/sfst/sfst-1.1.ebuild75
-rw-r--r--sci-misc/sfst/sfst-1.2.ebuild77
-rw-r--r--sci-misc/sfst/sfst-1.3.ebuild78
-rw-r--r--sci-misc/sfst/sfst-1.4.2.ebuild37
7 files changed, 36 insertions, 267 deletions
diff --git a/sci-misc/sfst/ChangeLog b/sci-misc/sfst/ChangeLog
index f2e64acf2..b9ed4f737 100644
--- a/sci-misc/sfst/ChangeLog
+++ b/sci-misc/sfst/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 25 Jun 2011; Justin Lecher <jlec@gentoo.org> -sfst-1.1.ebuild,
+ -sfst-1.2.ebuild, -sfst-1.3.ebuild, sfst-1.4.2.ebuild, metadata.xml:
+ Cleaned ebuild
+
*sfst-1.4.2 (09 May 2011)
09 May 2011; <flammie@gentoo.org> +sfst-1.4.2.ebuild:
diff --git a/sci-misc/sfst/Manifest b/sci-misc/sfst/Manifest
index c7238e94c..8e86a68d6 100644
--- a/sci-misc/sfst/Manifest
+++ b/sci-misc/sfst/Manifest
@@ -1,25 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
AUX 50sfst-gentoo.el 215 RMD160 80bbc30f9e67a4a065d521593fa2a598dd721494 SHA1 f5c7c4e6a13ad8178465876f706cb42eeecf1be2 SHA256 d8207a2fb7d0d4d3c81b014cd0e5501b8efcfb196d18e100ac011776cc34addf
AUX SFST-1.3-gcc43.patch 1404 RMD160 b5b6e0c54a7dded1009fcd7aa06d09738fae2b96 SHA1 496fbe1a5ce5241c042614e920f4da5cb6f5f112 SHA256 0e25d451d9e7a7108492c59e4d605ea2c6909eba6f7677ad1f8d158be05180b8
AUX ftdetect-sfst.vim 83 RMD160 13bac861a8cd65f7896274c979a719795b8a69aa SHA1 15a75ae33e048a72bc00bd7ebb8f7d7db2811775 SHA256 8e48a335cebddc3f82af95bd826717b30e53164559f92124c20442eafac869e0
-DIST SFST-1.1.tar.gz 474747 RMD160 91c7bf5f39d97225ff6fb315f4308e584380d882 SHA1 6aec4935b6479990199b2ec8b6ff75c382fb6236 SHA256 10792517303cdae430c13990e655c8332fe78fed177623e52746fd51074e0be9
-DIST SFST-1.2.tar.gz 470537 RMD160 00674aac48bd7d69ab19a247ce74b07b1159740b SHA1 527d13c6526f212ac036c32d0a0343309e92350a SHA256 4c3e99d1250e969904b21114b1d5cb30f6f9f1141455639047ff8289b3b3bb26
-DIST SFST-1.3.tar.gz 470992 RMD160 ae767b482d453fc8ca78f36ae6340fdea545064c SHA1 642f9c0cacc9a248aae05b2e87ed4cd58b936ffa SHA256 4a6ef3e0dab446598b7471de8d45550e2e131e96cde714df47b4070d4c1326b2
DIST SFST-1.4.2.tar.gz 490458 RMD160 77b0fd451026067ce91f6837d16cd6f55064ba35 SHA1 948f73fb6e66f30aadfb12311cbd4a8c7101494d SHA256 0f3040f9e79faa7fee083d3344a87db533dfd84340b43eb86e79a208c70ad7be
DIST sfst.el 4752 RMD160 b322b17fc4a0b9d22938af5438524cfac18f7a02 SHA1 779b36a5f60ea6ff6894950f82cce186397a6802 SHA256 b47ff59f5ff24482dbbb2f1e71a8b9ca234c4154487f83eb2118f1a62bb9eb5f
DIST vim-mode.tar.gz 1104 RMD160 c7e3f79fb5bd466724c3d456a92fbeb07d355515 SHA1 83b9651a7e4ca9642b16be416e616734e8c3f88c SHA256 a62ba91c40da75be389a334db62cc2b4904bedfac657b185012b10f3f55dfe09
-EBUILD sfst-1.1.ebuild 1835 RMD160 77c69e2cae7f7d03c386f3d40c2e81ce4c22da52 SHA1 8b362fe370f75563076559028c84d7d6ac78769f SHA256 5b75e0b7ee95b4e42b9a1ebc68958d14a2dd6d1949b89fe007e7111cac3c33c3
-EBUILD sfst-1.2.ebuild 1841 RMD160 ca0ed79bba109e4f229ebb72572ba3771b90768a SHA1 9f58f84ba167553f90d9f24f87a635c99953adc6 SHA256 06eb0e6b2193dbbce59f39eefafeafe90030e96616a345e60bf3c43200b7eb87
-EBUILD sfst-1.3.ebuild 1909 RMD160 07aeea878b5f869bf3936c4c892d2e698e3dd11b SHA1 4c61c8d292abf8b2a8facfb4d3abf271d4d4a641 SHA256 1eb2ea6cf62d4a51037fdf034bf1d7aef0e91bb37b912182ea7f9b4fba38ce7c
-EBUILD sfst-1.4.2.ebuild 2085 RMD160 4ae2f73c1d6aee3c5fdf3e862ae7819fe7b6a1f8 SHA1 ef77c087f30299ae69c231926ae0bd17e0da517e SHA256 1960ae69a48c6a4ef9e3b05705187dbadf77d92ca7a91291edf25cda324621b8
-MISC ChangeLog 1014 RMD160 2c2501bcce89760a14ed39b8b426400dbda4ddd2 SHA1 198c994649f8eb66064f29aa6ae51f5410947026 SHA256 6a3e5a302797de075265a2e1d2346a7d3b6b6f6b3cd0b867185338c7f750a13e
-MISC metadata.xml 493 RMD160 ea55577c02d3767473d78e1e2b00cd8b556b9a13 SHA1 2a237598bbecb05fe3f58923c084cf8b12cbe52e SHA256 7b452c2e5e1db167cf8064c8620a80101a4f5e8c655efff6e3e34de20ed98e73
+EBUILD sfst-1.4.2.ebuild 2006 RMD160 cf05b1605e9bfc7590c2e4e33e5a39d5a09e9ac1 SHA1 d0a59a97d498df6401e0c21c7a8f53de83b9ec67 SHA256 675801be3feb19e31a691491b35cdab3bdb306ad2517c16676d6d294f123f395
+MISC ChangeLog 1168 RMD160 f01cf9b7b1d2829720725f26bccacec4d0876649 SHA1 b35ed0389e472eb94e551336128bcb0c766d2c5f SHA256 ab244f9e3f15a47650efa899c0ce2d5bf503f17cb75cfe806ef7a5db866121c1
+MISC metadata.xml 497 RMD160 0ef821b2a7bab621a959c7a021e851aff35a238b SHA1 b0cf3723f544a94e3e238863c485994c63d501cb SHA256 46240ab2b0ffdce64dfc703181f202108da06030291692169417d2015cae0d43
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk4ErTEACgkQgAnW8HDreRZLigCgvPo53557e/WZgkAYcqFqb1Zd
-3oIAnA5DVXF6v8Qw16HJcfQe+cSEBANm
-=mPU7
+iEYEAREIAAYFAk4GFB8ACgkQgAnW8HDreRalpACgikOwdweGqycr2Bfa31/sqNG7
+3VgAn1nqJdorzDrzj7mtXEZH5bMTtsWc
+=lnv+
-----END PGP SIGNATURE-----
diff --git a/sci-misc/sfst/metadata.xml b/sci-misc/sfst/metadata.xml
index 913dfd00e..2ec953e0d 100644
--- a/sci-misc/sfst/metadata.xml
+++ b/sci-misc/sfst/metadata.xml
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>no-herd</herd>
-<maintainer>
- <email>flammie@gentoo.org</email>
- <description>N.B. This is used in my master’s thesis project</description>
-</maintainer>
-<longdescription>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>flammie@gentoo.org</email>
+ <description>N.B. This is used in my master’s thesis project</description>
+ </maintainer>
+ <longdescription>
SFST is open source package for compiling and using Finite State
Transducers, mainly for linguistic uses, made in university of
Stuttgart, Germany.
diff --git a/sci-misc/sfst/sfst-1.1.ebuild b/sci-misc/sfst/sfst-1.1.ebuild
deleted file mode 100644
index 5c6014f8d..000000000
--- a/sci-misc/sfst/sfst-1.1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit elisp
-
-MY_PN="SFST"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Uni Stuttgart Finite State Transducer tools"
-HOMEPAGE="http://www.ims.uni-stuttgart.de/projekte/gramotron/SOFTWARE/SFST.html"
-SRC_URI="ftp://ftp.ims.uni-stuttgart.de/pub/corpora/${MY_PN}/${MY_P}.tar.gz
-vim-syntax? ( ftp://ftp.ims.uni-stuttgart.de/pub/corpora/${MY_PN}/vim-mode.tar.gz )
-emacs? ( http://www.cis.uni-muenchen.de/~wastl/emacs/sfst.el )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE="emacs vim-syntax"
-
-DEPEND="sys-libs/readline
-sys-devel/bison
-sys-devel/flex
-sys-apps/sed"
-RDEPEND="sys-libs/readline"
-
-S="${WORKDIR}/${MY_PN}"
-
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -i -e 's_/usr/local_$(destdir)/usr_g' -e 's/= install/= install -D/g' \
- -e 's/^strip:/all:/g' -e 's/strip $(ALLPROGRAMS)/echo/g' \
- -e "s/^CFLAGS = -O4 \(.*\)/CFLAGS = ${CFLAGS} \1/g" \
- src/Makefile || die "sed failed"
- if use emacs ; then
- cp "${DISTDIR}/sfst.el" "${S}"
- fi
- if use vim-syntax ; then
- mv "${WORKDIR}"/INSTALL "${S}"/INSTALL-vim-syntax
- mv "${WORKDIR}"/sfst.vim "${S}"/
- fi
-}
-
-src_compile() {
- cd "${S}/src"
- emake || die "make failed"
- if use emacs ; then
- cd "${S}"
- elisp_src_compile
- fi
-}
-
-src_install() {
- cd "${S}/src"
- emake destdir="${D}" install maninstall || die "install failed"
- cd "${S}"
- dodoc README || die "doc failed"
- insinto /usr/share/doc/${PF}/
- doins doc/SFST-Manual.pdf doc/SFST-Tutorial.pdf || die "doc failed"
- insinto /usr/share/${PN}
- doins -r data/*
- if use vim-syntax ; then
- insinto /usr/share/vim/vimfiles/syntax/
- doins sfst.vim
- insinto /usr/share/vim/vimfiles/ftdetect/
- newins "${FILESDIR}"/ftdetect-sfst.vim sfst.vim
- dodoc INSTALL-vim-syntax
- fi
- if use emacs ; then
- elisp_src_install
- fi
-}
-
diff --git a/sci-misc/sfst/sfst-1.2.ebuild b/sci-misc/sfst/sfst-1.2.ebuild
deleted file mode 100644
index 67018b21c..000000000
--- a/sci-misc/sfst/sfst-1.2.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit elisp
-
-MY_PN="SFST"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Uni Stuttgart Finite State Transducer tools"
-HOMEPAGE="http://www.ims.uni-stuttgart.de/projekte/gramotron/SOFTWARE/SFST.html"
-SRC_URI="ftp://ftp.ims.uni-stuttgart.de/pub/corpora/${MY_PN}/${MY_P}.tar.gz
-vim-syntax? ( ftp://ftp.ims.uni-stuttgart.de/pub/corpora/${MY_PN}/vim-mode.tar.gz )
-emacs? ( http://www.cis.uni-muenchen.de/~wastl/emacs/sfst.el )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE="emacs vim-syntax"
-
-DEPEND="sys-libs/readline
-sys-devel/bison
-sys-devel/flex
-sys-apps/sed"
-RDEPEND="sys-libs/readline"
-
-S="${WORKDIR}/${MY_PN}"
-
-
-src_unpack() {
- unpack ${A}
- # settings in makefile are a bit hacky
- sed -i -e "s/^CFLAGS = -O3/CFLAGS = ${CFLAGS}/g" \
- -e "s/local//g" \
- -e 's/strip/echo strip removed: /g' \
- "${S}"/src/Makefile || die "sed failed"
- cd "${S}"
- if use emacs ; then
- cp "${DISTDIR}/sfst.el" "${S}"
- fi
- if use vim-syntax ; then
- mv "${WORKDIR}"/INSTALL "${S}"/INSTALL-vim-syntax
- mv "${WORKDIR}"/sfst.vim "${S}"/
- fi
-}
-
-src_compile() {
- cd "${S}/src"
- emake || die "make failed"
- if use emacs ; then
- cd "${S}"
- elisp_src_compile
- fi
-}
-
-src_install() {
- cd "${S}/src"
- # destdir works but prefix fails
- emake DESTDIR="${D}" install maninstall || die "install failed"
- cd "${S}"
- dodoc README || die "doc failed"
- insinto /usr/share/doc/${PF}/
- doins doc/SFST-Manual.pdf doc/SFST-Tutorial.pdf || die "doc failed"
- insinto /usr/share/${PN}
- doins -r data/*
- if use vim-syntax ; then
- insinto /usr/share/vim/vimfiles/syntax/
- doins sfst.vim
- insinto /usr/share/vim/vimfiles/ftdetect/
- newins "${FILESDIR}"/ftdetect-sfst.vim sfst.vim
- dodoc INSTALL-vim-syntax
- fi
- if use emacs ; then
- elisp_src_install
- fi
-}
-
diff --git a/sci-misc/sfst/sfst-1.3.ebuild b/sci-misc/sfst/sfst-1.3.ebuild
deleted file mode 100644
index 654cd1e88..000000000
--- a/sci-misc/sfst/sfst-1.3.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit elisp eutils
-
-MY_PN="SFST"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Uni Stuttgart Finite State Transducer tools"
-HOMEPAGE="http://www.ims.uni-stuttgart.de/projekte/gramotron/SOFTWARE/SFST.html"
-SRC_URI="ftp://ftp.ims.uni-stuttgart.de/pub/corpora/${MY_PN}/${MY_P}.tar.gz
-vim-syntax? ( ftp://ftp.ims.uni-stuttgart.de/pub/corpora/${MY_PN}/vim-mode.tar.gz )
-emacs? ( http://www.cis.uni-muenchen.de/~wastl/emacs/sfst.el )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="emacs vim-syntax"
-
-DEPEND="sys-libs/readline
-sys-devel/bison
-sys-devel/flex
-sys-apps/sed"
-RDEPEND="sys-libs/readline"
-
-S="${WORKDIR}/${MY_PN}"
-
-
-src_unpack() {
- unpack ${A}
- # settings in makefile are a bit hacky
- #epatch "${FILESDIR}"/SFST-1.3-gcc43.patch || die "patch failed"
- sed -i -e "s/^CFLAGS = -O3/CFLAGS = ${CFLAGS}/g" \
- -e "s/local//g" \
- -e 's/strip/echo strip removed: /g' \
- "${S}"/src/Makefile || die "sed failed"
- cd "${S}"
- if use emacs ; then
- cp "${DISTDIR}/sfst.el" "${S}"
- fi
- if use vim-syntax ; then
- mv "${WORKDIR}"/INSTALL "${S}"/INSTALL-vim-syntax
- mv "${WORKDIR}"/sfst.vim "${S}"/
- fi
-}
-
-src_compile() {
- cd "${S}/src"
- emake || die "make failed"
- if use emacs ; then
- cd "${S}"
- elisp_src_compile
- fi
-}
-
-src_install() {
- cd "${S}/src"
- # destdir works but prefix fails
- emake DESTDIR="${D}" install maninstall || die "install failed"
- cd "${S}"
- dodoc README || die "doc failed"
- insinto /usr/share/doc/${PF}/
- doins doc/SFST-Manual.pdf doc/SFST-Tutorial.pdf || die "doc failed"
- insinto /usr/share/${PN}
- doins -r data/*
- if use vim-syntax ; then
- insinto /usr/share/vim/vimfiles/syntax/
- doins sfst.vim
- insinto /usr/share/vim/vimfiles/ftdetect/
- newins "${FILESDIR}"/ftdetect-sfst.vim sfst.vim
- dodoc INSTALL-vim-syntax
- fi
- if use emacs ; then
- elisp_src_install
- fi
-}
-
diff --git a/sci-misc/sfst/sfst-1.4.2.ebuild b/sci-misc/sfst/sfst-1.4.2.ebuild
index f7c5aa793..73d5664b6 100644
--- a/sci-misc/sfst/sfst-1.4.2.ebuild
+++ b/sci-misc/sfst/sfst-1.4.2.ebuild
@@ -2,6 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+EAPI=4
+
inherit elisp eutils
MY_PN="SFST"
@@ -9,36 +11,37 @@ MY_P="${MY_PN}-${PV}"
DESCRIPTION="Uni Stuttgart Finite State Transducer tools"
HOMEPAGE="http://www.ims.uni-stuttgart.de/projekte/gramotron/SOFTWARE/SFST.html"
-SRC_URI="ftp://ftp.ims.uni-stuttgart.de/pub/corpora/${MY_PN}/${MY_P}.tar.gz
-vim-syntax? ( ftp://ftp.ims.uni-stuttgart.de/pub/corpora/${MY_PN}/vim-mode.tar.gz )
-emacs? ( http://www.cis.uni-muenchen.de/~wastl/emacs/sfst.el )"
+SRC_URI="
+ ftp://ftp.ims.uni-stuttgart.de/pub/corpora/${MY_PN}/${MY_P}.tar.gz
+ vim-syntax? ( ftp://ftp.ims.uni-stuttgart.de/pub/corpora/${MY_PN}/vim-mode.tar.gz )
+ emacs? ( http://www.cis.uni-muenchen.de/~wastl/emacs/sfst.el )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="emacs vim-syntax"
-DEPEND="sys-libs/readline
-sys-devel/bison
-sys-devel/flex
-sys-apps/sed"
+DEPEND="
+ sys-libs/readline
+ sys-devel/bison
+ sys-devel/flex
+ sys-apps/sed"
RDEPEND="sys-libs/readline"
S="${WORKDIR}/${MY_PN}"
-
-src_unpack() {
- unpack ${A}
+src_prepare() {
# settings in makefile are a bit hacky
#epatch "${FILESDIR}"/SFST-1.3-gcc43.patch || die "patch failed"
- sed -i -e "s/^CFLAGS = -O3/CFLAGS = ${CFLAGS}/g" \
+ sed \
+ -e "s/^CFLAGS = -O3/CFLAGS = ${CFLAGS}/g" \
-e "s/local//g" \
-e 's/strip/echo strip removed: /g' \
-e 's/# FPIC/FPIC/' \
-e 's/ $(PREFIX/ $(DESTDIR)$(PREFIX/g' \
-e 's/ldconfig/true/' \
-e 's/$(INSTALL_LIBS)/$(INSTALL_DIR) $(DESTDIR)$(PREFIX)\/lib\n\t\0/' \
- "${S}"/src/Makefile || die "sed failed"
+ -i "${S}"/src/Makefile || die "sed failed"
cd "${S}"
if use emacs ; then
cp "${DISTDIR}/sfst.el" "${S}"
@@ -50,8 +53,7 @@ src_unpack() {
}
src_compile() {
- cd "${S}/src"
- emake || die "make failed"
+ emake -C "${S}/src"
if use emacs ; then
cd "${S}"
elisp_src_compile
@@ -61,11 +63,11 @@ src_compile() {
src_install() {
cd "${S}/src"
# destdir works but prefix fails
- emake DESTDIR="${D}" install maninstall libinstall || die "install failed"
+ emake DESTDIR="${D}" install maninstall libinstall
cd "${S}"
- dodoc README || die "doc failed"
+ dodoc README
insinto /usr/share/doc/${PF}/
- doins doc/SFST-Manual.pdf doc/SFST-Tutorial.pdf || die "doc failed"
+ doins doc/SFST-Manual.pdf doc/SFST-Tutorial.pdf
insinto /usr/share/${PN}
doins -r data/*
if use vim-syntax ; then
@@ -79,4 +81,3 @@ src_install() {
elisp_src_install
fi
}
-