[26880] trunk/dports/textproc/saxon/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Tue Jul 10 19:25:21 PDT 2007
Revision: 26880
http://trac.macosforge.org/projects/macports/changeset/26880
Author: boeyms at macports.org
Date: 2007-07-10 19:25:21 -0700 (Tue, 10 Jul 2007)
Log Message:
-----------
textproc/saxon:
* Update to latest version (8.9), including handling the splitting of the
documentation into a separate archive (add details for second archive and -o
switch to extract.pre_args so that common files between the two archives
overwrite one another instead of causing extract to fail);
* Restructure the Portfile so that we need only change the version variable in
future in order to handle changes to file names and so on (hence addition of
dashedversion variable);
* Change from using "file copy" to MacPorts internal "copy" in the destroot
phase.
Modified Paths:
--------------
trunk/dports/textproc/saxon/Portfile
Modified: trunk/dports/textproc/saxon/Portfile
===================================================================
--- trunk/dports/textproc/saxon/Portfile 2007-07-11 02:18:46 UTC (rev 26879)
+++ trunk/dports/textproc/saxon/Portfile 2007-07-11 02:25:21 UTC (rev 26880)
@@ -2,7 +2,7 @@
PortSystem 1.0
name saxon
-version 8.3
+version 8.9
categories textproc java
maintainers nomaintainer at macports.org
description saxon "basic" - collection of tools to process XML documents
@@ -14,17 +14,26 @@
homepage http://saxon.sourceforge.net/
master_sites sourceforge
-distname ${name}b8-3
use_zip yes
+set dashedversion [regsub {\.} ${version} -]
+distname ${name}b${dashedversion}j
+set jardistfile [suffix ${distname}]
+set docdistfile [suffix ${name}-resources${dashedversion}]
+distfiles ${jardistfile} ${docdistfile}
-checksums md5 9472089dccde30c23361810490a7c52b \
- sha1 6acc09b9954cea75fbd13ae34e18a1939076c7e2
+checksums ${jardistfile} \
+ md5 2ea99ad88c7867cdd92428af46dec541 \
+ sha1 b00f5298ba644a0d124bf8b225d290eb633db274 \
+ ${docdistfile} \
+ md5 65a14ea4f55a98c1d762433842145962 \
+ sha1 a58daa9cc56cceaf073183ccefc282563b33aabe
depends_lib bin:java:kaffe
pre-extract {
file mkdir ${worksrcpath}
extract.post_args "-d ${worksrcpath}"
+ extract.pre_args-append "-o"
}
use_configure no
@@ -36,9 +45,9 @@
${destroot}${prefix}/share/java ${destroot}${prefix}/share/${name}
eval xinstall -m 644 [glob ${worksrcpath}/*.jar] \
${destroot}${prefix}/share/java
- eval file copy [glob ${worksrcpath}/doc/*] \
+ eval copy [glob ${worksrcpath}/doc/*] \
${destroot}${prefix}/share/doc/${name}
- file copy ${worksrcpath}/samples ${worksrcpath}/source.zip \
+ copy ${worksrcpath}/samples ${worksrcpath}/source.zip \
${worksrcpath}/use-cases ${destroot}${prefix}/share/${name}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070710/27828c7c/attachment.html
More information about the macports-changes
mailing list