[90827] trunk/dports/textproc/saxon/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Mar 14 22:27:35 PDT 2012
Revision: 90827
https://trac.macports.org/changeset/90827
Author: ryandesign at macports.org
Date: 2012-03-14 22:27:34 -0700 (Wed, 14 Mar 2012)
Log Message:
-----------
saxon: update to 9.4.0.3; see #33516
Modified Paths:
--------------
trunk/dports/textproc/saxon/Portfile
Modified: trunk/dports/textproc/saxon/Portfile
===================================================================
--- trunk/dports/textproc/saxon/Portfile 2012-03-15 03:55:08 UTC (rev 90826)
+++ trunk/dports/textproc/saxon/Portfile 2012-03-15 05:27:34 UTC (rev 90827)
@@ -2,39 +2,40 @@
PortSystem 1.0
name saxon
-version 8.9
+version 9.4.0.3
+set branch [join [lrange [split ${version} .] 0 1] .]
+set dashed_version [strsed ${version} {g/\\./-/}]
+set dashed_branch [strsed ${branch} {g/\\./-/}]
categories textproc java
maintainers nomaintainer
-description saxon "basic" - collection of tools to process XML documents
+supported_archs noarch
+
+description saxon "home edition" - collection of tools to process XML documents
+
long_description \
- Saxon includes an XSLT 2.0 processor, an XPath 2.0 processor, an XQuery \
- 1.0 processor, and an XML Schema 1.0 processor.
+ Saxon-HE provides implementations of XSLT 2.0, XQuery 1.0, \
+ and XPath 2.0 at the basic level of conformance defined by W3C.
platforms darwin
homepage http://saxon.sourceforge.net/
-master_sites sourceforge
+master_sites sourceforge:project/saxon/Saxon-HE/${branch}
use_zip yes
-set dashedversion [regsub {\.} ${version} -]
-distname ${name}b${dashedversion}j
+distname [string toupper ${name} 0 0]HE${dashed_version}J
set jardistfile [suffix ${distname}]
-set docdistfile [suffix ${name}-resources${dashedversion}]
+set docdistfile [suffix ${name}-resources${dashed_branch}]
distfiles ${jardistfile} ${docdistfile}
checksums ${jardistfile} \
- md5 2ea99ad88c7867cdd92428af46dec541 \
- sha1 b00f5298ba644a0d124bf8b225d290eb633db274 \
+ rmd160 bdbc24b4cd0c4641668b9567b070817a73456aee \
+ sha256 6486b48efd4f09c0c9c4c8afdedc7770dd3427ee4d411eeaa17ca9f2779b1685 \
${docdistfile} \
- md5 65a14ea4f55a98c1d762433842145962 \
- sha1 a58daa9cc56cceaf073183ccefc282563b33aabe
+ rmd160 49174115cdc8c75d61887b4521423a2d9224e0aa \
+ sha256 835f7dbdc81c636691745715e74e6936a2ae3df3f0f6306ee3b5e5a7f8526fd4
depends_lib bin:java:kaffe
-pre-extract {
- file mkdir ${worksrcpath}
- extract.post_args "-d ${worksrcpath}"
- extract.pre_args-append "-o"
-}
+extract.mkdir yes
use_configure no
@@ -47,7 +48,7 @@
${destroot}${prefix}/share/java
eval copy [glob ${worksrcpath}/doc/*] \
${destroot}${prefix}/share/doc/${name}
- copy ${worksrcpath}/samples ${worksrcpath}/source.zip \
+ copy ${worksrcpath}/samples ${worksrcpath}/source-userdoc.zip \
${worksrcpath}/use-cases ${destroot}${prefix}/share/${name}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120314/99cfded2/attachment.html>
More information about the macports-changes
mailing list