Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 90799 | Differences between
and this patch

Collapse All | Expand All

(-)xfig-3.2.4-r2.ebuild.orig (-22 / +10 lines)
Lines 1-8 Link Here
1
# Copyright 1999-2004 Gentoo Foundation
1
# Copyright 1999-2005 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-gfx/xfig/xfig-3.2.4-r2.ebuild,v 1.3 2004/12/16 09:46:19 corsair Exp $
3
# $Header: $
4
4
5
inherit eutils
5
inherit eutils x11-prefix
6
6
7
MY_P=${PN}.${PV}
7
MY_P=${PN}.${PV}
8
S=${WORKDIR}/${MY_P}
8
S=${WORKDIR}/${MY_P}
Lines 11-18 Link Here
11
DESCRIPTION="A menu-driven tool to draw and manipulate objects interactively in an X window."
11
DESCRIPTION="A menu-driven tool to draw and manipulate objects interactively in an X window."
12
HOMEPAGE="http://www.xfig.org"
12
HOMEPAGE="http://www.xfig.org"
13
SRC_URI="http://www.xfig.org/xfigdist/${MY_P}.full.tar.gz
13
SRC_URI="http://www.xfig.org/xfigdist/${MY_P}.full.tar.gz
14
	http://www.ctan.org/tex-archive/graphics/transfig-shapepatch/${SHAPE_P}.tar.gz
14
	http://www.ctan.org/tex-archive/graphics/transfig-shapepatch/${SHAPE_P}.tar.gz"
15
	mirror://gentoo/${P}-gentoo.diff.bz2"
16
15
17
LICENSE="BSD"
16
LICENSE="BSD"
18
SLOT="0"
17
SLOT="0"
Lines 30-56 Link Here
30
src_unpack() {
29
src_unpack() {
31
	unpack ${A}
30
	unpack ${A}
32
	cd ${S}
31
	cd ${S}
33
	epatch ${WORKDIR}/${P}-gentoo.diff
32
	epatch ${FILESDIR}/${P}-gentoo.patch
34
	epatch ${FILESDIR}/${P}-xaw3d.diff
35
	epatch ../${SHAPE_P}/${PN}.${SHAPE_P#*.}.patch	# bug #20877
33
	epatch ../${SHAPE_P}/${PN}.${SHAPE_P#*.}.patch	# bug #20877
36
}
34
	xmkmf || die "xmkmf failed"
37
35
	fix_Imake_Makefile
38
src_compile() {
36
	sed -i "s:/usr/X11R6:/usr:" xfig.desktop
39
	xmkmf || die
40
	make BINDIR=/usr/bin XFIGLIBDIR=/usr/lib/xfig || die
41
}
37
}
42
38
43
src_install() {
39
src_install() {
44
40
	make DESTDIR=${D} install.all \
45
	make \
41
		|| die "make install.all failed"
46
		DESTDIR=${D} \
47
		BINDIR=/usr/bin \
48
		XFIGLIBDIR=/usr/lib/xfig \
49
		MANDIR=/usr/share/man/man1 \
50
		MANSUFFIX=1 \
51
		install install.all || die
52
53
	mv ${D}/usr/share/doc/{${P},${PF}}
54
	dodoc README FIGAPPS CHANGES LATEX.AND.XFIG
42
	dodoc README FIGAPPS CHANGES LATEX.AND.XFIG
55
	dodoc ../${SHAPE_P}/shapepatch.README
43
	dodoc ../${SHAPE_P}/shapepatch.README
56
}
44
}

Return to bug 90799