You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
xmlgraphics-commons: update to 2.11
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
PortSystem 1.0
|
||||
|
||||
name xmlgraphics-commons
|
||||
version 1.4
|
||||
version 2.11
|
||||
platforms any
|
||||
categories java graphics
|
||||
maintainers nomaintainer
|
||||
@@ -26,26 +26,28 @@ master_sites apache:xmlgraphics/commons/source/
|
||||
distname ${name}-${version}-src
|
||||
worksrcdir ${name}-${version}
|
||||
|
||||
checksums md5 d2b56a1671d2ca63480e38acd9629ea7 \
|
||||
sha1 096a179035c0ee12b9570627caccfa181db55b58 \
|
||||
rmd160 a690633f92abf34b314d339fa10ebf839af1cf4c
|
||||
checksums rmd160 6c2a68818e74efb227d152cd08e18cf003e44137 \
|
||||
sha256 6cb4b78bbd4b56e2b0b0110e8f78da8dd7f029ba18ef0ca8055308397be170ee \
|
||||
size 2564533
|
||||
|
||||
depends_build bin:ant:apache-ant
|
||||
depends_build bin:mvn3:maven3 \
|
||||
|
||||
depends_lib port:junit \
|
||||
port:commons-io \
|
||||
port:commons-logging
|
||||
set maven_local_repository ${worksrcpath}/.m2/repository
|
||||
|
||||
patchfiles patch-build.xml.diff
|
||||
|
||||
post-patch {
|
||||
reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/build.xml
|
||||
pre-build {
|
||||
file mkdir ${maven_local_repository}
|
||||
}
|
||||
|
||||
use_configure no
|
||||
|
||||
build.cmd ant
|
||||
build.target all
|
||||
build.cmd mvn3
|
||||
build.target "package"
|
||||
build.pre_args-append \
|
||||
-Dmaven.repo.local=${maven_local_repository} \
|
||||
-DskipTests
|
||||
|
||||
destroot {
|
||||
xinstall -m 755 -d \
|
||||
@@ -53,7 +55,7 @@ destroot {
|
||||
${destroot}${prefix}/share/doc/${name}
|
||||
|
||||
xinstall -m 644 \
|
||||
${worksrcpath}/build/${name}-${version}.jar \
|
||||
${worksrcpath}/target/${name}-${version}.jar \
|
||||
${destroot}${prefix}/share/java/
|
||||
|
||||
xinstall -m 644 -W ${worksrcpath} \
|
||||
|
||||
Reference in New Issue
Block a user