Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dns/libidn: ChangeLog libidn-1.13.ebuild
Date: Sun, 22 Mar 2009 06:38:51
Message-Id: E1LlHKa-0003VJ-Sw@stork.gentoo.org
1 matsuu 09/03/22 06:38:48
2
3 Modified: ChangeLog
4 Added: libidn-1.13.ebuild
5 Log:
6 Version bumped. Fixed java-pkg_newjar.
7 (Portage version: 2.1.6.8/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.90 net-dns/libidn/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/ChangeLog?rev=1.90&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/ChangeLog?rev=1.90&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/ChangeLog?r1=1.89&r2=1.90
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v
19 retrieving revision 1.89
20 retrieving revision 1.90
21 diff -u -r1.89 -r1.90
22 --- ChangeLog 27 Nov 2008 21:33:35 -0000 1.89
23 +++ ChangeLog 22 Mar 2009 06:38:48 -0000 1.90
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-dns/libidn
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v 1.89 2008/11/27 21:33:35 jer Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v 1.90 2009/03/22 06:38:48 matsuu Exp $
30 +
31 +*libidn-1.13 (22 Mar 2009)
32 +
33 + 22 Mar 2009; MATSUU Takuto <matsuu@g.o> +libidn-1.13.ebuild:
34 + Version bumped. Fixed java-pkg_newjar.
35
36 *libidn-1.11 (27 Nov 2008)
37
38
39
40
41 1.1 net-dns/libidn/libidn-1.13.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/libidn-1.13.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/libidn-1.13.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libidn-1.13.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/libidn-1.13.ebuild,v 1.1 2009/03/22 06:38:48 matsuu Exp $
51
52 inherit java-pkg-opt-2 mono elisp-common
53
54 DESCRIPTION="Internationalized Domain Names (IDN) implementation"
55 HOMEPAGE="http://www.gnu.org/software/libidn/"
56 SRC_URI="mirror://gnu/libidn/${P}.tar.gz"
57
58 LICENSE="LGPL-2.1 GPL-3"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
61 IUSE="doc emacs java mono nls"
62
63 COMMON_DEPEND="emacs? ( virtual/emacs )
64 mono? ( >=dev-lang/mono-0.95 )"
65 DEPEND="${COMMON_DEPEND}
66 nls? ( >=sys-devel/gettext-0.17 )
67 java? ( >=virtual/jdk-1.4 dev-java/gjdoc )"
68 RDEPEND="${COMMON_DEPEND}
69 nls? ( virtual/libintl )
70 java? ( >=virtual/jre-1.4 )"
71
72 SITEFILE=50${PN}-gentoo.pl
73
74 src_unpack() {
75 unpack ${A}
76 # bundled, with wrong bytecode
77 rm "${S}/java/${P}.jar" || die
78 }
79
80 src_compile() {
81 econf \
82 $(use_enable nls) \
83 $(use_enable java) \
84 $(use_enable mono csharp mono) \
85 --with-lispdir="${SITELISP}/${PN}" \
86 || die
87
88 emake || die
89
90 if use emacs; then
91 elisp-compile src/*.el || die
92 fi
93 }
94
95 src_install() {
96 emake install DESTDIR="${D}" || die
97 dodoc AUTHORS ChangeLog FAQ NEWS README THANKS TODO || die
98
99 if use emacs; then
100 # *.el are installed by the build system
101 elisp-install ${PN} src/*.elc || die
102 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
103 else
104 rm -rf "${D}/usr/share/emacs"
105 fi
106
107 if use doc ; then
108 dohtml -r doc/reference/html/* || die
109 fi
110
111 if use java ; then
112 java-pkg_newjar java/${P}.jar ${PN}.jar || die
113 rm -rf "${D}"/usr/share/java || die
114
115 if use doc ; then
116 java-pkg_dojavadoc doc/java
117 fi
118 fi
119 }
120
121 pkg_postinst() {
122 use emacs && elisp-site-regen
123 }
124
125 pkg_postrm() {
126 use emacs && elisp-site-regen
127 }