[MacPorts] #2302: UPDATE: commons-digester-1.6 (Java)
MacPorts
noreply at macports.org
Thu Mar 24 05:43:17 PDT 2016
#2302: UPDATE: commons-digester-1.6 (Java)
-------------------------------+--------------------
Reporter: james@… | Owner: mww@…
Type: enhancement | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.0
Resolution: fixed | Keywords:
Port: commons-digester |
-------------------------------+--------------------
Changes (by ryandesign@…):
* type: defect => enhancement
* port: => commons-digester
Old description:
> commons-digester-1.6
>
> Diffs to Portfile, attached.
>
> Description: Revise port to build additional jar commons-digester-rss.jar
> required by struts.
>
> ======= INLINE: Portfile.diff=======
>
> Index: Portfile
> ===============================================================
> ====
> RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/java/commons-
> digester/Portfile,v
> retrieving revision 1.1
> diff -u -r1.1 Portfile
> --- Portfile 5 Oct 2004 21:05:40 -0000 1.1
> +++ Portfile 8 Oct 2004 05:03:17 -0000
> @@ -4,6 +4,7 @@
>
> name commons-digester
> version 1.6
> +revision 1
>
> categories java
> maintainers james at jberry.us
> @@ -33,11 +34,18 @@
> -Dcommons-
> beanutils.jar=${prefix}/share/java/commons-beanutils.jar \
> -Dcommons-
> collections.jar=${prefix}/share/java/commons-collections.jar \
> -Dcommons-
> logging.jar=${prefix}/share/java/commons-logging.jar
> +
> +post-build {
> + # Secondary ant build to build the digester rss jar
> + system "cd ${worksrcpath}/src/examples/rss && ant ${build.args} \
> + -Ddigester.home=${worksrcpath} dist"
> +}
>
> destroot {
> xinstall -m 755 -d ${destroot}${prefix}/share/java \
> ${destroot}${prefix}/share/doc
> xinstall -m 644 ${worksrcpath}/dist/commons-digester.jar \
> + ${worksrcpath}/src/examples/rss/dist/commons-digester-
> rss.jar \
> ${destroot}${prefix}/share/java/
> file copy ${worksrcpath}/dist/docs
> ${destroot}${prefix}/share/doc/${name}
> }
New description:
commons-digester-1.6
Diffs to Portfile, attached.
Description: Revise port to build additional jar commons-digester-rss.jar
required by struts.
======= INLINE: Portfile.diff=======
{{{
Index: Portfile
===================================================================
RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/java/commons-
digester/Portfile,v
retrieving revision 1.1
diff -u -r1.1 Portfile
--- Portfile 5 Oct 2004 21:05:40 -0000 1.1
+++ Portfile 8 Oct 2004 05:03:17 -0000
@@ -4,6 +4,7 @@
name commons-digester
version 1.6
+revision 1
categories java
maintainers james at jberry.us
@@ -33,11 +34,18 @@
-Dcommons-
beanutils.jar=${prefix}/share/java/commons-beanutils.jar \
-Dcommons-
collections.jar=${prefix}/share/java/commons-collections.jar \
-Dcommons-
logging.jar=${prefix}/share/java/commons-logging.jar
+
+post-build {
+ # Secondary ant build to build the digester rss jar
+ system "cd ${worksrcpath}/src/examples/rss && ant ${build.args} \
+ -Ddigester.home=${worksrcpath} dist"
+}
destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/java \
${destroot}${prefix}/share/doc
xinstall -m 644 ${worksrcpath}/dist/commons-digester.jar \
+ ${worksrcpath}/src/examples/rss/dist/commons-digester-
rss.jar \
${destroot}${prefix}/share/java/
file copy ${worksrcpath}/dist/docs
${destroot}${prefix}/share/doc/${name}
}
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/2302#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list