aboutsummaryrefslogtreecommitdiff
blob: ca8bc4d6e0d9aaa941a5aeb228489abb4e762bd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

inherit eutils

DESCRIPTION="TIGR Foundation for C++"
HOMEPAGE="http://sourceforge.net/apps/mediawiki/amos/index.php?title=AutoEditor"
SRC_URI="ftp://ftp.cbcb.umd.edu/pub/software/autoEditor/autoEditor-1.20.tar.gz"

# the one bundled in autoEditor-1.20/TigrFoundation-2.0/ is same with the one in bambus
# but in bambus-2.33/src/TIGR_Foundation_CC/ there are 3 getopt.* files in addition

LICENSE="Artistic"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

S="${WORKDIR}"/autoEditor-1.20/TigrFoundation-2.0

src_prepare(){
	epatch "${FILESDIR}"/TigrFoundation-all-patches.patch
	sed -i "s:/export/usr/local:${ED}/usr:g" Makefile || die
	default
}

src_install(){
	emake install DESTDIR="${D}/${EPREFIX}"/usr # Makefile does not respect DESTDIR
}