Ticket #33516: saxon-portfile.diff
File saxon-portfile.diff, 2.1 KB (added by gallafent, 13 years ago) |
---|
-
Portfile
old new 2 2 3 3 PortSystem 1.0 4 4 name saxon 5 version 8.95 version 9.4.0.3 6 6 categories textproc java 7 7 maintainers nomaintainer 8 description saxon " basic" - collection of tools to process XML documents8 description saxon "home edition" - collection of tools to process XML documents 9 9 long_description \ 10 Saxon includes an XSLT 2.0 processor, an XPath 2.0 processor, an XQuery \ 11 1.0 processor, and an XML Schema 1.0 processor. 12 10 Saxon-HE provides implementations of XSLT 2.0, XQuery 1.0, \ 11 and XPath 2.0 at the basic level of conformance defined by W3C. 13 12 platforms darwin 14 13 14 set shortversion [string range ${version} 0 2] 15 set dashedfullversion [regsub -all {\.} ${version} -] 16 set dashedshortversion [string range ${dashedfullversion} 0 2] 17 15 18 homepage http://saxon.sourceforge.net/ 16 master_sites sourceforge19 master_sites sourceforge:project/saxon/Saxon-HE/${shortversion} 17 20 use_zip yes 18 set dashedversion [regsub {\.} ${version} -] 19 distname ${name}b${dashedversion}j 21 distname [string toupper ${name} 0 0]HE${dashedfullversion}J 20 22 set jardistfile [suffix ${distname}] 21 set docdistfile [suffix ${name}-resources${dashed version}]23 set docdistfile [suffix ${name}-resources${dashedshortversion}] 22 24 distfiles ${jardistfile} ${docdistfile} 23 25 24 26 checksums ${jardistfile} \ 25 md5 2ea99ad88c7867cdd92428af46dec541\26 sha1 b00f5298ba644a0d124bf8b225d290eb633db274\27 md5 e0a1f55685ec24fe404571ee11852e97 \ 28 sha1 c225b9cab236293f68609b43ff89779e7c3a7bfc \ 27 29 ${docdistfile} \ 28 md5 65a14ea4f55a98c1d762433842145962\29 sha1 a58daa9cc56cceaf073183ccefc282563b33aabe30 md5 ee369e18ed43701fb4db164aa4e2f433 \ 31 sha1 ced75192d9b73e0ea2476534f2a3c8c78479777b 30 32 31 33 depends_lib bin:java:kaffe 32 34 … … 47 49 ${destroot}${prefix}/share/java 48 50 eval copy [glob ${worksrcpath}/doc/*] \ 49 51 ${destroot}${prefix}/share/doc/${name} 50 copy ${worksrcpath}/samples ${worksrcpath}/source .zip \52 copy ${worksrcpath}/samples ${worksrcpath}/source-userdoc.zip \ 51 53 ${worksrcpath}/use-cases ${destroot}${prefix}/share/${name} 52 54 } 53 55