/[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.6 - (hide annotations) (download)
Tue Dec 28 21:29:20 2004 UTC (14 years, 10 months ago) by absinthe
Branch: MAIN
Changes since 1.5: +2 -2 lines
Stable on amd64.

1 agriffis 1.4 # Copyright 1999-2004 Gentoo Foundation
2 usata 1.1 # Distributed under the terms of the GNU General Public License v2
3 absinthe 1.6 # $Header: /var/cvsroot/gentoo-x86/dev-tex/latex-unicode/latex-unicode-20040307.ebuild,v 1.5 2004/08/18 14:35:43 usata Exp $
4 usata 1.1
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 usata 1.5 http://www.unicode.org/Public/UNIDATA/UnicodeData.txt"
13 usata 1.1
14     LICENSE="LPPL-1.2"
15    
16     SLOT="0"
17 absinthe 1.6 KEYWORDS="~x86 amd64 ~ppc ~sparc"
18 usata 1.1 IUSE="cjk"
19    
20     DEPEND="virtual/tetex
21     cjk? ( dev-tex/cjk-latex )"
22    
23     S=${WORKDIR}/ucs
24    
25 usata 1.5 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 usata 1.1 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     einfo
61     einfo "Please refer to /usr/share/doc/${P}/README.gz"
62     einfo "and languages.ps in that directory for language-specific examples."
63     einfo
64     }

  ViewVC Help
Powered by ViewVC 1.1.20