aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlammie Pirinen <flammie@gentoo.org>2012-08-01 03:44:54 +0300
committerFlammie Pirinen <flammie@gentoo.org>2012-08-01 03:44:54 +0300
commit7b2f61c42b449e1a5f1b3388bd9740d6d214ba74 (patch)
tree8aef14cdd9db66bc18c0721030db723a3841adbc /sci-misc/sfst
parentBump foma to version 0.9.16alpha. (diff)
downloadsci-7b2f61c42b449e1a5f1b3388bd9740d6d214ba74.tar.gz
sci-7b2f61c42b449e1a5f1b3388bd9740d6d214ba74.tar.bz2
sci-7b2f61c42b449e1a5f1b3388bd9740d6d214ba74.zip
Version bump sfst to 1.4.6g
(Portage version: 2.1.10.65/git/Linux i686, unsigned Manifest commit)
Diffstat (limited to 'sci-misc/sfst')
-rw-r--r--sci-misc/sfst/ChangeLog7
-rw-r--r--sci-misc/sfst/Manifest7
-rw-r--r--sci-misc/sfst/sfst-1.4.6g.ebuild83
3 files changed, 93 insertions, 4 deletions
diff --git a/sci-misc/sfst/ChangeLog b/sci-misc/sfst/ChangeLog
index 127bdf946..ac6a40d94 100644
--- a/sci-misc/sfst/ChangeLog
+++ b/sci-misc/sfst/ChangeLog
@@ -1,7 +1,12 @@
# ChangeLog for sci-misc/sfst
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*sfst-1.4.6g (01 Aug 2012)
+
+ 01 Aug 2012; Flammie Pirinen <flammie@gentoo.org> +sfst-1.4.6g.ebuild:
+ Version bump sfst to 1.4.6g.
+
24 Oct 2011; Justin Lecher <jlec@gentoo.org> metadata.xml:
Removed no-herd from herd tag in metadata.xml
diff --git a/sci-misc/sfst/Manifest b/sci-misc/sfst/Manifest
index 03d6f2d1e..3fea2be41 100644
--- a/sci-misc/sfst/Manifest
+++ b/sci-misc/sfst/Manifest
@@ -1,3 +1,4 @@
-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
+DIST SFST-1.4.2.tar.gz 490458 SHA256 0f3040f9e79faa7fee083d3344a87db533dfd84340b43eb86e79a208c70ad7be SHA512 9466d929e33141db7e2e19eb9dbcdf095a561677ba0e0ae9158a813a92ac3b389462a47a253fca5c61d14413c2559e0f1cfe3d3222f456836b5b5f93b33b42ea WHIRLPOOL e1aa43b8902812a75aa8d4ac598aa029cf38e23e52c9cc8c140eda03d5b514bcc5cc60f820b0eedd00d060b175aff74e05ce72c860337297553a228ab3b6425b
+DIST SFST-1.4.6g.tar.gz 486283 SHA256 5ed88df7ca993fc62e9ca85464ffc78fde83425344826e26debc984f32621bf8 SHA512 cd92a952389e5ec1cf965362b249f992bc20dca58c9dd3f8cc873ccbdc80507d4962681725943d2611956d92c116338a0b46f18653d89486f0a4986fb58fbd13 WHIRLPOOL 79f0dadb16f12507b58bf3971df0b6aba42f2f7b5fe95a796e6d2c15ddfdf95fc30dea4e387f77080f440810acdbfbba0ebe29f3fe7de1102f79edfec540129c
+DIST sfst.el 4752 SHA256 b47ff59f5ff24482dbbb2f1e71a8b9ca234c4154487f83eb2118f1a62bb9eb5f SHA512 88c808044919d49b7c647c16caffb0e67d6fae9ae948434247dbcef7d78168a7b67e7a5b64c5dbeb634f273d6b8ccb93d449af097a1418a6d48a7852f6ad9bbe WHIRLPOOL c8075858fde4c0986acdebab6e5935b1a8022065db09f722d0844d5a020414e8b19d3f321a6f1eeb96e4609643ed4dc62375d8c11be471b5d2e6b7212f6af273
+DIST vim-mode.tar.gz 1104 SHA256 a62ba91c40da75be389a334db62cc2b4904bedfac657b185012b10f3f55dfe09 SHA512 8b808553dbf7a6d6aebb0d6382339bfbe56584effe0b1b0b9096969f81324305e4b66760188dc8fdfbb69118aa5688c66e2bd880dabb57b494068fd620ff540d WHIRLPOOL 252b7bd1110f3522caf0e2921550a52a552611227fd0da0029485f6eaf467ad476758deaee2774cf3c0e882d5dca63b82362e3e5a8fd378171286f7c1682fa77
diff --git a/sci-misc/sfst/sfst-1.4.6g.ebuild b/sci-misc/sfst/sfst-1.4.6g.ebuild
new file mode 100644
index 000000000..6222fddd1
--- /dev/null
+++ b/sci-misc/sfst/sfst-1.4.6g.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit elisp-common 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="~x86"
+IUSE="emacs vim-syntax"
+
+RDEPEND="sys-libs/readline"
+DEPEND="${RDEPEND}
+ sys-devel/bison
+ sys-devel/flex
+ sys-apps/sed
+ emacs? ( virtual/emacs )"
+
+S="${WORKDIR}/${MY_PN}"
+
+src_prepare() {
+ # settings in makefile are a bit hacky
+ #epatch "${FILESDIR}"/SFST-1.3-gcc43.patch || die "patch failed"
+ 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/' \
+ -i "${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() {
+ emake -C "${S}/src"
+ if use emacs ; then
+ cd "${S}"
+ elisp-compile *.el || die "could not compile elisp"
+ fi
+}
+
+src_install() {
+ cd "${S}/src"
+ # destdir works but prefix fails
+ emake DESTDIR="${D}" install maninstall libinstall
+ cd "${S}"
+ dodoc README
+ insinto /usr/share/doc/${PF}/
+ doins doc/SFST-Manual.pdf doc/SFST-Tutorial.pdf
+ 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-install ${PN} *.el *.elc || die "could not install elisp"
+ fi
+}