[62449] trunk/dports/devel/griffon-devel/Portfile
breskeby at macports.org
breskeby at macports.org
Fri Jan 8 04:03:51 PST 2010
Revision: 62449
http://trac.macports.org/changeset/62449
Author: breskeby at macports.org
Date: 2010-01-08 04:03:49 -0800 (Fri, 08 Jan 2010)
Log Message:
-----------
##23185 initial commit of beta release 0.3-BETA-1
Added Paths:
-----------
trunk/dports/devel/griffon-devel/Portfile
Added: trunk/dports/devel/griffon-devel/Portfile
===================================================================
--- trunk/dports/devel/griffon-devel/Portfile (rev 0)
+++ trunk/dports/devel/griffon-devel/Portfile 2010-01-08 12:03:49 UTC (rev 62449)
@@ -0,0 +1,70 @@
+# $Id: Portfile 62436 2010-01-08 02:37:00Z ryandesign at macports.org $
+
+PortSystem 1.0
+
+name griffon-devel
+version 0.3-BETA-1
+set branch [lindex [split ${version} -] 0]
+categories devel java
+maintainers breskeby
+platforms darwin
+
+description Griffon is a Grails like application framework for developing desktop applications in Groovy.
+long_description Griffon aims to bring the "coding by convention" paradigm to Groovy. \
+ It is an open-source application framework that leverages the Groovy \
+ language and complements Java desktop development. \
+ You can use Griffon as a standalone development environment that hides all \
+ configuration details or integrate your Java business logic. \
+ Griffon aims to make development as simple as possible and hence \
+ should appeal to a wide range of developers not just those from the Java community.
+
+homepage http://griffon.codehaus.org/
+conflicts griffon
+
+distname griffon-bin-${version}
+master_sites http://dist.codehaus.org/griffon/griffon/${branch}.x/BETA
+
+checksums md5 2a2596eae0774a701ef8334c3d0ff9d1 \
+ sha1 4c9d00e4b509364740a1202b04e128c51d3dc91c \
+ rmd160 75032837aca6b0c2ea41ca1bb7b036e3bc3f1337
+
+worksrcdir griffon-${version}
+set workTarget ""
+
+use_configure no
+
+build.cmd true
+
+pre-destroot {
+ # Remove extraneous bat files
+ foreach f [glob -directory ${worksrcpath}${workTarget}/bin *.bat] {
+ file delete $f
+ }
+}
+
+destroot {
+ # Create the target java directory
+ xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}
+
+ # Copy over the needed elements of our directory tree
+ file copy ${worksrcpath}/bin \
+ ${worksrcpath}/dist \
+ ${worksrcpath}/conf \
+ ${worksrcpath}/lib \
+ ${worksrcpath}/media \
+ ${worksrcpath}/scripts \
+ ${worksrcpath}/src \
+ ${worksrcpath}/build.properties \
+ ${destroot}${prefix}/share/java/${name}
+
+ # 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
+}
+
+post-activate {
+ ui_msg "****************************************************************************"
+ ui_msg "* Remember to set the environment variable GRIFFON_HOME to the path to"
+ ui_msg "* the griffon distribution: ${prefix}/share/java/${name}"
+ ui_msg "****************************************************************************"
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100108/d698cd3b/attachment.html>
More information about the macports-changes
mailing list