/[gentoo-x86]/dev-tex/latex-unicode/latex-unicode-20040307.ebuild
Gentoo

Contents of /dev-tex/latex-unicode/latex-unicode-20040307.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Wed Jun 17 07:26:57 2009 UTC (10 years, 4 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
remove old
(Portage version: 2.2_rc33/cvs/Linux x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-tex/latex-unicode/latex-unicode-20040307.ebuild,v 1.8 2008/09/03 11:40:31 opfer Exp $
4
5 inherit latex-package
6
7 DESCRIPTION="Unicode support for LaTeX"
8 HOMEPAGE="http://www.unruh.de/DniQ/latex/unicode/"
9 # Taken from
10 #SRC_URI="http://www.unruh.de/DniQ/latex/unicode/unicode.tgz"
11 SRC_URI="mirror://gentoo/${P}.tar.gz
12 http://www.unicode.org/Public/UNIDATA/UnicodeData.txt"
13
14 LICENSE="LPPL-1.2"
15
16 SLOT="0"
17 KEYWORDS="~x86 amd64 ~ppc ~sparc"
18 IUSE="cjk"
19
20 DEPEND="!dev-texlive/texlive-latexrecommended
21 cjk? ( dev-tex/cjk-latex )"
22
23 S=${WORKDIR}/ucs
24
25 src_unpack() {
26 unpack ${P}.tar.gz
27 cp "${DISTDIR}"/UnicodeData.txt "${S}"
28 }
29
30 src_compile() {
31
32 latex-package_src_compile
33
34 if ! use cjk ; then
35 rm -rf data/*
36 perl makeunidef.pl -t data -v --nocomments --exclude cjkbg5,cjkgb,cjkjis,cjkhangul config/* || die "makeunidef.pl failed"
37 fi
38 }
39
40 src_install() {
41
42 latex-package_src_doinstall
43 pushd contrib
44 latex-package_src_doinstall styles || die
45 popd
46 pushd data
47 latex-package_src_doinstall styles || die
48 popd
49
50 insinto /usr/share/texmf/tex/latex/latex-unicode
51 doins data/uninames.dat
52 doins config/* contrib/cenccmn.tex
53
54 dodoc FAQ README VERSION languages.ps.gz ltxmacrs.txt
55 }
56
57 pkg_postinst() {
58
59 latex-package_pkg_postinst
60 elog
61 elog "Please refer to /usr/share/doc/${P}/README.gz"
62 elog "and languages.ps in that directory for language-specific examples."
63 elog
64 }

  ViewVC Help
Powered by ViewVC 1.1.20