diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-09-18 21:14:47 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-09-18 21:14:47 +0000 |
commit | c3fb8525bc7545bf76dccde21bc929180542c017 (patch) | |
tree | 301d15439df231b24a714fa390ee41f7b7c61cc3 /app-text/expander/expander-2.0.5-r1.ebuild | |
parent | Respect CFLAGS (bug #336026). (diff) | |
download | historical-c3fb8525bc7545bf76dccde21bc929180542c017.tar.gz historical-c3fb8525bc7545bf76dccde21bc929180542c017.tar.bz2 historical-c3fb8525bc7545bf76dccde21bc929180542c017.zip |
Respect LDFLAGS (bug #336155, and do not duplicate in the emake call what the patch was already trying to do). Do not set empty DEPEND. Merge cd into emake call.
Package-Manager: portage-2.2_rc83/cvs/Linux i686
Diffstat (limited to 'app-text/expander/expander-2.0.5-r1.ebuild')
-rw-r--r-- | app-text/expander/expander-2.0.5-r1.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/app-text/expander/expander-2.0.5-r1.ebuild b/app-text/expander/expander-2.0.5-r1.ebuild new file mode 100644 index 000000000000..af604b8f823f --- /dev/null +++ b/app-text/expander/expander-2.0.5-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/expander/expander-2.0.5-r1.ebuild,v 1.1 2010/09/18 21:14:47 jer Exp $ + +EAPI="2" + +inherit eutils toolchain-funcs + +DESCRIPTION="Expander is a utility that acts as a filter for text editors." +HOMEPAGE="http://www.nedit.org" +SRC_URI="ftp://ftp.nedit.org/pub/contrib/misc/nedit_expander_kit_2.05.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~x86-linux ~ppc-macos" +IUSE="" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + +} + +src_compile() { + emake -C src CC=$(tc-getCC) || die "make failed" +} + +src_install() { + cd src + dobin expander boxcomment align_columns align_comments where_is + dosym /usr/bin/boxcomment /usr/bin/unboxcomment + + insinto /usr/share/${P} + doins "${S}"/service + for x in defs macros misc templates ; do + insinto /usr/share/${P}/${x} + doins "${S}"/${x}/* + done + + cd "${S}"/docs + doman *.1 + + cd "${S}" + dodoc ChangeLog INSTALL README USAGE +} + +pkg_postinst() { + elog + elog "Instructions for using expander with NEdit are in /usr/share/doc/${PF}/INSTALL" + elog "Macro, definition and template files can be found in /usr/share/${P}" + elog +} |