1 |
wltjr 08/03/22 21:36:02 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: struts-1.2.9-r2.ebuild |
5 |
Log: |
6 |
Switched to java-virtuals/servlet-api and EAPI=1 slots |
7 |
(Portage version: 2.1.4.1) |
8 |
|
9 |
Revision Changes Path |
10 |
1.38 dev-java/struts/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/struts/ChangeLog?rev=1.38&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/struts/ChangeLog?rev=1.38&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/struts/ChangeLog?r1=1.37&r2=1.38 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/struts/ChangeLog,v |
19 |
retrieving revision 1.37 |
20 |
retrieving revision 1.38 |
21 |
diff -u -r1.37 -r1.38 |
22 |
--- ChangeLog 8 Feb 2008 15:23:39 -0000 1.37 |
23 |
+++ ChangeLog 22 Mar 2008 21:36:01 -0000 1.38 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-java/struts |
26 |
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/struts/ChangeLog,v 1.37 2008/02/08 15:23:39 betelgeuse Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/struts/ChangeLog,v 1.38 2008/03/22 21:36:01 wltjr Exp $ |
29 |
+ |
30 |
+*struts-1.2.9-r2 (22 Mar 2008) |
31 |
+ |
32 |
+ 22 Mar 2008; William L. Thomson Jr. <wltjr@g.o> |
33 |
+ +struts-1.2.9-r2.ebuild: |
34 |
+ Switched to java-virtuals/servlet-api and EAPI=1 slots |
35 |
|
36 |
08 Feb 2008; Petteri Räty <betelgeuse@g.o> -struts-1.1-r5.ebuild: |
37 |
struts:1.1 moved to java overlay as nothing in the main tree needs it |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-java/struts/struts-1.2.9-r2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/struts/struts-1.2.9-r2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/struts/struts-1.2.9-r2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: struts-1.2.9-r2.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/struts/struts-1.2.9-r2.ebuild,v 1.1 2008/03/22 21:36:01 wltjr Exp $ |
51 |
|
52 |
EAPI=1 |
53 |
JAVA_PKG_IUSE="doc examples source" |
54 |
WANT_ANT_TASKS="ant-trax" |
55 |
|
56 |
inherit java-pkg-2 java-ant-2 |
57 |
|
58 |
MY_P="${P}-src" |
59 |
DESCRIPTION="A powerful Model View Controller Framework for JSP/Servlets" |
60 |
SRC_URI="mirror://apache/struts/source/${MY_P}.tar.gz" |
61 |
HOMEPAGE="http://jakarta.apache.org/struts/index.html" |
62 |
LICENSE="Apache-2.0" |
63 |
SLOT="1.2" |
64 |
COMMON_DEPS=" |
65 |
dev-java/antlr |
66 |
dev-java/commons-beanutils:1.7 |
67 |
>=dev-java/commons-collections-2.1 |
68 |
>=dev-java/commons-digester-1.5 |
69 |
>=dev-java/commons-fileupload-1.0 |
70 |
>=dev-java/commons-logging-1.0.4 |
71 |
~dev-java/commons-validator-1.1.4 |
72 |
dev-java/jakarta-oro:2.0 |
73 |
java-virtuals/servlet-api:2.3" |
74 |
RDEPEND=">=virtual/jre-1.4 |
75 |
${COMMON_DEPS}" |
76 |
DEPEND=">=virtual/jdk-1.4 |
77 |
${COMMON_DEPS}" |
78 |
IUSE="" |
79 |
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" |
80 |
|
81 |
S="${WORKDIR}/${MY_P}" |
82 |
|
83 |
src_unpack() { |
84 |
unpack ${A} |
85 |
|
86 |
# the build.xml expects this directory to exist |
87 |
mkdir "${S}/lib" |
88 |
cd "${S}/lib" |
89 |
|
90 |
# No property exists for this |
91 |
java-pkg_jar-from commons-collections |
92 |
} |
93 |
|
94 |
src_compile() { |
95 |
local antflags="compile.library" |
96 |
|
97 |
# In the order the build process asks for these |
98 |
# They are copied in the build.xml to ${S}/target/library/ |
99 |
antflags="${antflags} -Dcommons-beanutils.jar=$(java-pkg_getjar commons-beanutils-1.7 commons-beanutils.jar)" |
100 |
antflags="${antflags} -Dcommons-digester.jar=$(java-pkg_getjars commons-digester)" |
101 |
antflags="${antflags} -Dcommons-fileupload.jar=$(java-pkg_getjars commons-fileupload)" |
102 |
antflags="${antflags} -Dcommons-logging.jar=$(java-pkg_getjar commons-logging commons-logging.jar)" |
103 |
antflags="${antflags} -Dcommons-validator.jar=$(java-pkg_getjars commons-validator)" |
104 |
antflags="${antflags} -Djakarta-oro.jar=$(java-pkg_getjars jakarta-oro-2.0)" |
105 |
|
106 |
# Needed to compile |
107 |
antflags="${antflags} -Dservlet.jar=$(java-pkg_getjars servlet-api-2.3)" |
108 |
antflags="${antflags} -Dantlr.jar=$(java-pkg_getjars antlr)" |
109 |
|
110 |
# only needed for contrib stuff which we don't currently build |
111 |
# antflags="${antflags} -Dstruts-legacy.jar=$(java-pkg_getjars struts-legacy)" |
112 |
|
113 |
eant ${antflags} $(use_doc compile.javadoc) |
114 |
} |
115 |
|
116 |
src_install() { |
117 |
java-pkg_dojar target/library/${PN}.jar |
118 |
|
119 |
#install the tld files |
120 |
insinto /usr/share/${PN}-${SLOT}/lib |
121 |
doins target/library/*.tld |
122 |
|
123 |
dodoc README STATUS.txt || die |
124 |
use doc && java-pkg_dohtml -r target/documentation/ |
125 |
if use examples; then |
126 |
dodir /usr/share/doc/${PF}/examples |
127 |
cp -r src/example*/* "${D}/usr/share/doc/${PF}/examples" |
128 |
fi |
129 |
use source && java-pkg_dosrc src/share/* |
130 |
} |
131 |
|
132 |
|
133 |
|
134 |
-- |
135 |
gentoo-commits@l.g.o mailing list |