[83030] trunk/dports/devel/griffon/Portfile

breskeby at macports.org breskeby at macports.org
Tue Aug 23 21:53:15 PDT 2011


Revision: 83030
          http://trac.macports.org/changeset/83030
Author:   breskeby at macports.org
Date:     2011-08-23 21:53:15 -0700 (Tue, 23 Aug 2011)
Log Message:
-----------
griffon: version upgrade to 0.9.3

Modified Paths:
--------------
    trunk/dports/devel/griffon/Portfile

Modified: trunk/dports/devel/griffon/Portfile
===================================================================
--- trunk/dports/devel/griffon/Portfile	2011-08-24 04:48:01 UTC (rev 83029)
+++ trunk/dports/devel/griffon/Portfile	2011-08-24 04:53:15 UTC (rev 83030)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name                griffon
-version             0.9.2
+version             0.9.3
 set branch          [join [lrange [split ${version} .] 0 1] .]
 categories          devel java
 maintainers         breskeby
@@ -20,24 +20,24 @@
 
 homepage            http://griffon.codehaus.org/
 conflicts			griffon-devel
-distname            ${name}-${version}-bin
-master_sites        http://dist.codehaus.org/griffon/griffon/${branch}.x
+
+distname            griffon-${version}-bin
+master_sites        http://dist.codehaus.org/griffon/griffon/${branch}.x/
 extract.suffix      .tgz
 
-checksums           md5 4104da3f48f5fea0941e803b5f12da70 \
-                    sha1 1c042737297ba3267fdffd674df4b76fe4b39a13 \
-                    rmd160 d124bd5b748d6221ba465c7955b6eaebfe4c6e36
+checksums           md5 252e962a4f51f470b4f65bcbb85b5154 \
+                    sha1 4630538bff792456beb30d24479626380bb9d5cb \
+                    rmd160 9f1fa1bd8c3659815e5037094f92159b33f49e03
 
-worksrcdir          ${name}-${version}
+worksrcdir          .
 set workTarget      ""
-
 use_configure       no
 
 build.cmd           true
 
 pre-destroot {
     # Remove extraneous bat files
-    foreach f [glob -directory ${worksrcpath}/bin *.bat] {
+    foreach f [glob -directory ${worksrcpath}${workTarget}/griffon-${version}/bin *.bat] {
         file delete $f
     }
 }
@@ -47,19 +47,20 @@
     xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}
 
     # Copy over the needed elements of our directory tree
-    file copy ${worksrcpath}/bash		\
-              ${worksrcpath}/conf		\
-              ${worksrcpath}/dist		\
-              ${worksrcpath}/INSTALL	\
-              ${worksrcpath}/lib		\
-              ${worksrcpath}/LICENSE	\
-              ${worksrcpath}/media		\
-              ${worksrcpath}/scripts	\
+    file copy ${worksrcpath}/griffon-${version}/bash					\
+              ${worksrcpath}/griffon-${version}/conf					\
+              ${worksrcpath}/griffon-${version}/dist					\
+              ${worksrcpath}/griffon-${version}/INSTALL					\
+              ${worksrcpath}/griffon-${version}/lib						\
+              ${worksrcpath}/griffon-${version}/LICENSE					\
+              ${worksrcpath}/griffon-${version}/media					\
+              ${worksrcpath}/griffon-${version}/src						\
+              ${worksrcpath}/griffon-${version}/scripts					\
               ${destroot}${prefix}/share/java/${name}/
 
 	xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}/bin
-	eval xinstall -m 755 [glob ${worksrcpath}/bin/*] ${destroot}${prefix}/share/java/${name}/bin   
-
+	eval xinstall -m 755 [glob ${worksrcpath}/griffon-${version}/bin/*] ${destroot}${prefix}/share/java/${name}/bin   
+   	
    	# Symlink programs into the bin directory
     ln -s ${prefix}/share/java/${name}/bin/griffon ${destroot}${prefix}/bin
     ln -s ${prefix}/share/java/${name}/bin/startGriffon ${destroot}${prefix}/bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110823/825b5674/attachment-0001.html>


More information about the macports-changes mailing list