From: | "Rafael Martins (rafaelmartins)" <rafaelmartins@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-tex/abntex: abntex-0.9_beta2.ebuild metadata.xml ChangeLog |
Date: | Sun, 08 May 2011 16:26:18 |
Message-Id: | 20110508162608.E1DDF20054@flycatcher.gentoo.org |
1 | rafaelmartins 11/05/08 16:26:08 |
2 | |
3 | Added: abntex-0.9_beta2.ebuild metadata.xml ChangeLog |
4 | Log: |
5 | Initial version. |
6 | |
7 | (Portage version: 2.2.0_alpha29/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-tex/abntex/abntex-0.9_beta2.ebuild |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/abntex/abntex-0.9_beta2.ebuild?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/abntex/abntex-0.9_beta2.ebuild?rev=1.1&content-type=text/plain |
14 | |
15 | Index: abntex-0.9_beta2.ebuild |
16 | =================================================================== |
17 | # Copyright 1999-2011 Gentoo Foundation |
18 | # Distributed under the terms of the GNU General Public License v2 |
19 | # $Header: /var/cvsroot/gentoo-x86/dev-tex/abntex/abntex-0.9_beta2.ebuild,v 1.1 2011/05/08 16:26:08 rafaelmartins Exp $ |
20 | |
21 | EAPI=3 |
22 | |
23 | inherit latex-package |
24 | |
25 | MY_PV="${PV/_/-}" |
26 | MY_P="${PN}-${MY_PV}" |
27 | |
28 | DESCRIPTION="LaTeX macros for writing documents following the ABNT norms." |
29 | HOMEPAGE="http://abntex.codigolivre.org.br/ http://abntex.sourceforge.net/" |
30 | SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz |
31 | doc? ( mirror://sourceforge/${PN}/${PN}-doc-${MY_PV}.tar.gz )" |
32 | |
33 | LICENSE="LPPL-1.3c" |
34 | SLOT="0" |
35 | KEYWORDS="~amd64 ~x86" |
36 | |
37 | IUSE="doc examples lyx" |
38 | |
39 | DEPEND="dev-texlive/texlive-latex |
40 | dev-texlive/texlive-latexrecommended |
41 | lyx? ( app-office/lyx )" |
42 | RDEPEND="${DEPEND}" |
43 | |
44 | S="${WORKDIR}/${MY_P%-*}" |
45 | |
46 | src_prepare() { |
47 | # fix permissions |
48 | find . -type f -exec chmod 0644 "{}" + || die 'chmod 0644 failed.' |
49 | find . -type d -exec chmod 0755 "{}" + || die 'chmod 0755 failed.' |
50 | } |
51 | |
52 | src_install() { |
53 | dobin bin/geratss || die 'dobin failed.' |
54 | |
55 | if use examples; then |
56 | insinto /usr/share/doc/${PF}/examples |
57 | doins -r texmf/doc/* || die 'could not install examples.' |
58 | fi |
59 | |
60 | rm -rf texmf/doc |
61 | |
62 | insinto /usr/share/texmf-site |
63 | doins -r texmf/* || die 'could not install texmf.' |
64 | |
65 | if use lyx; then |
66 | insinto /usr/share/lyx |
67 | doins -r lyx/* || die 'could not install lyx files.' |
68 | fi |
69 | |
70 | dodoc LEIAME || die 'could not install LEIAME' |
71 | |
72 | if use doc; then |
73 | insinto /usr/share/doc/${PF}/docs |
74 | doins -r compiled.docs/* || die "could not install doc" |
75 | fi |
76 | } |
77 | |
78 | |
79 | |
80 | 1.1 dev-tex/abntex/metadata.xml |
81 | |
82 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/abntex/metadata.xml?rev=1.1&view=markup |
83 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/abntex/metadata.xml?rev=1.1&content-type=text/plain |
84 | |
85 | Index: metadata.xml |
86 | =================================================================== |
87 | <?xml version="1.0" encoding="UTF-8"?> |
88 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
89 | <pkgmetadata> |
90 | <herd>tex</herd> |
91 | <maintainer> |
92 | <email>rafaelmartins@g.o</email> |
93 | <name>Rafael G. Martins</name> |
94 | </maintainer> |
95 | <use> |
96 | <flag name='lyx'>Install with <pkg>app-office/lyx</pkg> layout</flag> |
97 | </use> |
98 | </pkgmetadata> |
99 | |
100 | |
101 | |
102 | 1.1 dev-tex/abntex/ChangeLog |
103 | |
104 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/abntex/ChangeLog?rev=1.1&view=markup |
105 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/abntex/ChangeLog?rev=1.1&content-type=text/plain |
106 | |
107 | Index: ChangeLog |
108 | =================================================================== |
109 | # ChangeLog for dev-tex/abntex |
110 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
111 | # $Header: /var/cvsroot/gentoo-x86/dev-tex/abntex/ChangeLog,v 1.1 2011/05/08 16:26:08 rafaelmartins Exp $ |
112 | |
113 | *abntex-0.9_beta2 (08 May 2011) |
114 | |
115 | 08 May 2011; Rafael G. Martins <rafaelmartins@g.o> |
116 | +abntex-0.9_beta2.ebuild, +metadata.xml: |
117 | Initial version. |