Lines 2-18
Link Here
|
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: /home/cvsroot/gentoo-x86/app-text/a2ps/a2ps-4.13b-r4.ebuild,v 1.11 2003/05/23 23:18:28 agriffis Exp $ |
3 |
# $Header: /home/cvsroot/gentoo-x86/app-text/a2ps/a2ps-4.13b-r4.ebuild,v 1.11 2003/05/23 23:18:28 agriffis Exp $ |
4 |
|
4 |
|
5 |
inherit gnuconfig |
5 |
inherit gnuconfig eutils |
6 |
|
6 |
|
7 |
S=${WORKDIR}/${P/b/} |
7 |
S=${WORKDIR}/${P/b/} |
8 |
DESCRIPTION="Any to PostScript filter" |
8 |
DESCRIPTION="Any to PostScript filter" |
9 |
SRC_URI="ftp://ftp.enst.fr/pub/unix/a2ps/${P}.tar.gz" |
9 |
SRC_URI="ftp://ftp.enst.fr/pub/unix/a2ps/${P}.tar.gz |
|
|
10 |
cjk? ( http://www.on.cs.keio.ac.jp/~yasu/linux/GNU/a2ps-4.13-ja_nls.patch ) " |
11 |
PATCHES="${FILESDIR}/a2ps-stdout.diff" |
12 |
|
13 |
if use cjk; then |
14 |
PATCHES="${PATCHES} ${DISTDIR}/a2ps-4.13-ja_nls.patch" |
15 |
fi |
16 |
|
10 |
HOMEPAGE="http://www-inf.enst.fr/~demaille/a2ps/" |
17 |
HOMEPAGE="http://www-inf.enst.fr/~demaille/a2ps/" |
11 |
|
18 |
|
12 |
SLOT="0" |
19 |
SLOT="0" |
13 |
LICENSE="GPL-2" |
20 |
LICENSE="GPL-2" |
14 |
KEYWORDS="x86 ppc sparc alpha" |
21 |
KEYWORDS="x86 ppc sparc alpha" |
15 |
IUSE="nls tetex" |
22 |
IUSE="nls tetex cjk" |
16 |
|
23 |
|
17 |
DEPEND=">=app-text/ghostscript-6.23 |
24 |
DEPEND=">=app-text/ghostscript-6.23 |
18 |
>=app-text/psutils-1.17 |
25 |
>=app-text/psutils-1.17 |
Lines 25-30
Link Here
|
25 |
if use alpha; then |
32 |
if use alpha; then |
26 |
gnuconfig_update || die "gnuconfig_update failed" |
33 |
gnuconfig_update || die "gnuconfig_update failed" |
27 |
fi |
34 |
fi |
|
|
35 |
xpatch $PATCHES | die |
28 |
} |
36 |
} |
29 |
|
37 |
|
30 |
src_compile() { |
38 |
src_compile() { |
Lines 40-44
Link Here
|
40 |
lispdir=${D}/usr/share/emacs/site-lisp \ |
48 |
lispdir=${D}/usr/share/emacs/site-lisp \ |
41 |
|| die "einstall failed" |
49 |
|| die "einstall failed" |
42 |
|
50 |
|
|
|
51 |
sed -i -e "s,${D},,g" "${D}/etc/a2ps/a2ps.cfg" |
43 |
dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README THANKS TODO |
52 |
dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README THANKS TODO |
44 |
} |
53 |
} |