Opened 20 years ago
Last modified 9 years ago
#2302 closed enhancement
UPDATE: commons-digester-1.6 (Java) — at Initial Version
Reported by: | james@… | Owned by: | darwinports-bugs@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: | commons-digester |
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@…
@@ -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}
}