1 |
mr_bones_ 10/06/24 20:20:54 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: openjade-1.3.2-r3.ebuild |
5 |
Log: |
6 |
add static-libs support |
7 |
(Portage version: 2.1.8.3/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.55 app-text/openjade/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/openjade/ChangeLog?rev=1.55&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/openjade/ChangeLog?rev=1.55&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/openjade/ChangeLog?r1=1.54&r2=1.55 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-text/openjade/ChangeLog,v |
19 |
retrieving revision 1.54 |
20 |
retrieving revision 1.55 |
21 |
diff -u -r1.54 -r1.55 |
22 |
--- ChangeLog 21 Mar 2010 13:41:32 -0000 1.54 |
23 |
+++ ChangeLog 24 Jun 2010 20:20:54 -0000 1.55 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for app-text/openjade |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/openjade/ChangeLog,v 1.54 2010/03/21 13:41:32 tommy Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/openjade/ChangeLog,v 1.55 2010/06/24 20:20:54 mr_bones_ Exp $ |
29 |
+ |
30 |
+*openjade-1.3.2-r3 (24 Jun 2010) |
31 |
+ |
32 |
+ 24 Jun 2010; Michael Sterrett <mr_bones_@g.o> |
33 |
+ +openjade-1.3.2-r3.ebuild: |
34 |
+ add static-libs support |
35 |
|
36 |
*openjade-1.3.2-r2 (21 Mar 2010) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 app-text/openjade/openjade-1.3.2-r3.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/openjade/openjade-1.3.2-r3.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/openjade/openjade-1.3.2-r3.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: openjade-1.3.2-r3.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2010 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-text/openjade/openjade-1.3.2-r3.ebuild,v 1.1 2010/06/24 20:20:54 mr_bones_ Exp $ |
51 |
|
52 |
EAPI=2 |
53 |
|
54 |
inherit libtool sgml-catalog eutils flag-o-matic multilib |
55 |
|
56 |
DESCRIPTION="Jade is an implementation of DSSSL - an ISO standard for formatting SGML and XML documents" |
57 |
HOMEPAGE="http://openjade.sourceforge.net" |
58 |
SRC_URI="mirror://sourceforge/openjade/${P}.tar.gz" |
59 |
|
60 |
LICENSE="as-is" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
63 |
IUSE="static-libs" |
64 |
|
65 |
RDEPEND="app-text/sgml-common |
66 |
>=app-text/opensp-1.5.1" |
67 |
DEPEND="dev-lang/perl |
68 |
${RDEPEND}" |
69 |
|
70 |
src_prepare() { |
71 |
epatch "${FILESDIR}"/${P}-{deplibs,ldflags,msggen.pl,respect-ldflags,libosp-la}.patch |
72 |
# Please note! Opts are disabled. If you know what you're doing |
73 |
# feel free to remove this line. It may cause problems with |
74 |
# docbook-sgml-utils among other things. |
75 |
ALLOWED_FLAGS="-O -O1 -O2 -pipe -g -march" |
76 |
strip-flags |
77 |
|
78 |
# Default CFLAGS and CXXFLAGS is -O2 but this make openjade segfault |
79 |
# on hppa. Using -O1 works fine. So I force it here. |
80 |
use hppa && replace-flags -O2 -O1 |
81 |
|
82 |
ln -s config/configure.in configure.in |
83 |
#eautoreconf |
84 |
elibtoolize |
85 |
|
86 |
SGML_PREFIX=/usr/share/sgml |
87 |
} |
88 |
|
89 |
src_configure() { |
90 |
econf \ |
91 |
--enable-http \ |
92 |
--enable-default-catalog=/etc/sgml/catalog \ |
93 |
--enable-default-search-path=/usr/share/sgml \ |
94 |
--libdir=/usr/$(get_libdir) \ |
95 |
--datadir=/usr/share/sgml/${P} \ |
96 |
$(use_enable static-libs static) |
97 |
} |
98 |
|
99 |
src_compile() { |
100 |
emake -j1 || die "make failed" |
101 |
} |
102 |
|
103 |
src_install() { |
104 |
insinto /usr/$(get_libdir) |
105 |
|
106 |
make DESTDIR="${D}" \ |
107 |
libdir=/usr/$(get_libdir) \ |
108 |
install install-man || die "make install failed" |
109 |
|
110 |
dosym openjade /usr/bin/jade |
111 |
dosym onsgmls /usr/bin/nsgmls |
112 |
dosym osgmlnorm /usr/bin/sgmlnorm |
113 |
dosym ospam /usr/bin/spam |
114 |
dosym ospent /usr/bin/spent |
115 |
dosym osx /usr/bin/sgml2xml |
116 |
|
117 |
insinto /usr/share/sgml/${P}/ |
118 |
doins dsssl/builtins.dsl |
119 |
|
120 |
echo 'SYSTEM "builtins.dsl" "builtins.dsl"' > ${D}/usr/share/sgml/${P}/catalog |
121 |
insinto /usr/share/sgml/${P}/dsssl |
122 |
doins dsssl/{dsssl.dtd,style-sheet.dtd,fot.dtd} |
123 |
newins "${FILESDIR}"/${P}.dsssl-catalog catalog |
124 |
# Breaks sgml2xml among other things |
125 |
# insinto /usr/share/sgml/${P}/unicode |
126 |
# doins unicode/{catalog,unicode.sd,unicode.syn,gensyntax.pl} |
127 |
insinto /usr/share/sgml/${P}/pubtext |
128 |
doins pubtext/* |
129 |
|
130 |
dodoc NEWS README VERSION |
131 |
dohtml doc/*.htm |
132 |
|
133 |
insinto /usr/share/doc/${PF}/jadedoc |
134 |
doins jadedoc/*.htm |
135 |
insinto /usr/share/doc/${PF}/jadedoc/images |
136 |
doins jadedoc/images/* |
137 |
} |
138 |
|
139 |
sgml-catalog_cat_include "/etc/sgml/${P}.cat" \ |
140 |
"/usr/share/sgml/openjade-${PV}/catalog" |
141 |
sgml-catalog_cat_include "/etc/sgml/${P}.cat" \ |
142 |
"/usr/share/sgml/openjade-${PV}/dsssl/catalog" |
143 |
sgml-catalog_cat_include "/etc/sgml/sgml-docbook.cat" \ |
144 |
"/etc/sgml/${P}.cat" |