1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils toolchain-funcs
9 DESCRIPTION="Expander is a utility that acts as a filter for text editors"
10 HOMEPAGE="http://www.nedit.org"
11 SRC_URI="ftp://ftp.nedit.org/pub/contrib/misc/nedit_expander_kit_2.05.tar.gz"
15 KEYWORDS="~amd64 ~x86 ~x86-linux ~ppc-macos"
21 epatch "${FILESDIR}"/${P}-gentoo.patch
25 emake -C src CC=$(tc-getCC)
30 dobin expander boxcomment align_columns align_comments where_is
31 dosym /usr/bin/boxcomment /usr/bin/unboxcomment
33 insinto /usr/share/${P}
35 for x in defs macros misc templates ; do
36 insinto /usr/share/${P}/${x}
44 dodoc ChangeLog INSTALL README USAGE
49 elog "Instructions for using expander with NEdit are in /usr/share/doc/${PF}/INSTALL"
50 elog "Macro, definition and template files can be found in /usr/share/${P}"