[109456] trunk/dports/textproc/saxon/Portfile

macsforever2000 at macports.org macsforever2000 at macports.org
Thu Aug 15 13:16:25 PDT 2013


Revision: 109456
          https://trac.macports.org/changeset/109456
Author:   macsforever2000 at macports.org
Date:     2013-08-15 13:16:25 -0700 (Thu, 15 Aug 2013)
Log Message:
-----------
saxon: add license and modeline. de-tab. de-lint.

Modified Paths:
--------------
    trunk/dports/textproc/saxon/Portfile

Modified: trunk/dports/textproc/saxon/Portfile
===================================================================
--- trunk/dports/textproc/saxon/Portfile	2013-08-15 20:13:39 UTC (rev 109455)
+++ trunk/dports/textproc/saxon/Portfile	2013-08-15 20:16:25 UTC (rev 109456)
@@ -1,54 +1,58 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem			1.0
-name				saxon
-version				9.5.1.1
-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
-supported_archs		noarch
+PortSystem          1.0
 
-description			saxon "home edition" - collection of tools to process XML documents
+name                saxon
+version             9.5.1.1
+set branch          [join [lrange [split ${version} .] 0 1] .]
+set dashed_version  [strsed ${version} {g/\\./-/}]
+set dashed_branch   [strsed ${branch} {g/\\./-/}]
+categories          textproc java
+license             MPL-1
+maintainers         nomaintainer
 
+supported_archs     noarch
+
+description         saxon home edition - collection of tools to process XML documents
+
 long_description \
-	Saxon-HE provides implementations of XSLT 2.0, XQuery 1.0, \
-	and XPath 2.0 at the basic level of conformance defined by W3C.
+    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
+platforms           darwin
 
-homepage			http://saxon.sourceforge.net/
-master_sites		sourceforge:project/saxon/Saxon-HE/${branch}
-use_zip				yes
-distname			[string toupper ${name} 0 0]HE${dashed_version}J
-set jardistfile		[suffix ${distname}]
-set docdistfile		[suffix ${name}-resources${dashed_branch}]
-distfiles			${jardistfile} ${docdistfile}
+homepage            http://saxon.sourceforge.net/
+master_sites        sourceforge:project/saxon/Saxon-HE/${branch}
+use_zip             yes
+distname            [string toupper ${name} 0 0]HE${dashed_version}J
+set jardistfile     [suffix ${distname}]
+set docdistfile     [suffix ${name}-resources${dashed_branch}]
+distfiles           ${jardistfile} ${docdistfile}
 
-checksums			${jardistfile} \
-						rmd160  af67cae4b9caaceb44837dc0df2ef216aeb83681 \
-						sha256  0e2b625264128593e8c05a1672691d093b4a54923cf9f59d442764101712636a \
-					${docdistfile} \
-						rmd160  4b58fbfcd7c6fec60f0b91fe23d9f9cc22042980 \
-						sha256  7cdbcfc4d88015f6f53bef3b25e78c3447e0fc18d268307159be0595399881e2
+checksums           ${jardistfile} \
+                        rmd160  af67cae4b9caaceb44837dc0df2ef216aeb83681 \
+                        sha256  0e2b625264128593e8c05a1672691d093b4a54923cf9f59d442764101712636a \
+                    ${docdistfile} \
+                        rmd160  4b58fbfcd7c6fec60f0b91fe23d9f9cc22042980 \
+                        sha256  7cdbcfc4d88015f6f53bef3b25e78c3447e0fc18d268307159be0595399881e2
 
-depends_lib			bin:java:kaffe
+depends_lib         bin:java:kaffe
 
-extract.mkdir		yes
+extract.mkdir       yes
 
-use_configure		no
+use_configure       no
 
-build				{}
+build               {}
 
 destroot {
-	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
-		${destroot}${prefix}/share/java ${destroot}${prefix}/share/${name}
-	eval xinstall -m 644 [glob ${worksrcpath}/*.jar] \
-		${destroot}${prefix}/share/java
-	eval copy [glob ${worksrcpath}/doc/*] \
-		${destroot}${prefix}/share/doc/${name}
-	copy ${worksrcpath}/samples ${worksrcpath}/source-userdoc.zip \
-		${worksrcpath}/use-cases ${destroot}${prefix}/share/${name}
+    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
+        ${destroot}${prefix}/share/java ${destroot}${prefix}/share/${name}
+    eval xinstall -m 644 [glob ${worksrcpath}/*.jar] \
+        ${destroot}${prefix}/share/java
+    eval copy [glob ${worksrcpath}/doc/*] \
+        ${destroot}${prefix}/share/doc/${name}
+    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/20130815/9497c0a5/attachment.html>


More information about the macports-changes mailing list