From f5548837cf53a7dd3c36741d2651560c6fbfdeb5 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Sat, 25 Jun 2011 19:00:15 +0200 Subject: Cleaned ebuild (Portage version: 2.2.0_alpha41/git/Linux x86_64, signed Manifest commit with key 70EB7916) --- sci-misc/sfst/sfst-1.2.ebuild | 77 ------------------------------------------- 1 file changed, 77 deletions(-) delete mode 100644 sci-misc/sfst/sfst-1.2.ebuild (limited to 'sci-misc/sfst/sfst-1.2.ebuild') 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 -} - -- cgit v1.2.3-65-gdbad