diff -urtN orig/Portfile new/Portfile
--- orig/Portfile	1970-01-01 01:00:00.000000000 +0100
+++ new/Portfile	2011-03-15 23:40:17.000000000 +0100
@@ -0,0 +1,65 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+
+name                play
+version             1.1.1
+categories          devel java
+maintainers         googlemail.com:ciserlohn
+
+description         Rapid webapplication development framework
+long_description    The Play framework is a clean alternative to bloated Enterprise Java stacks. \
+                    It focuses on developer productivity and targets RESTful architectures. \
+                    Play is a perfect companion to agile software development. \
+                    Play is a pure Java framework and allows you to keep your preferred \
+                    development tools and libraries. If you already use Java as a  \
+                    development platform you don’t need to switch to another language, \
+                    another IDE and other libraries. \
+                    The Play framework’s goal is to ease web applications \
+                    development while sticking with Java. (From the documentation)
+
+homepage            http://www.playframework.org
+platforms           darwin
+license             Apache License 2.0
+
+fetch.type          git
+git.url             https://github.com/playframework/play.git
+git.branch          ${version}
+
+use_configure       no
+
+patchfiles          patch-framework-build.xml.diff
+
+build.cmd           ant
+build.target        package
+
+pre-build {
+          worksrcdir ${distname}/framework      
+}
+
+post-extract {
+    # delete windows specific files
+    file delete ${worksrcpath}/play.bat
+    file delete -force ${worksrcpath}/python
+}
+
+destroot        {
+    xinstall -m 755 -d ${destroot}${prefix}/share/java/${distname}
+    file attributes ${workpath}/${worksrcdir}/dist/play -permissions rwxr-xr-x
+    foreach f [glob -directory ${workpath}/${worksrcdir}/dist *] {
+        file copy $f ${destroot}${prefix}/share/java/${distname}
+    }
+
+    # symlink play into the bin directory
+    system "cd ${destroot}${prefix}/bin && ln -s ${prefix}/share/java/${distname}/play"
+
+    # symlink the documentation
+    set docdir ${destroot}${prefix}/share/doc/${distname}
+    xinstall -d $docdir
+    system "cd $docdir && ln -s ${prefix}/share/java/${distname}/documentation/api"
+    system "cd $docdir && ln -s ${prefix}/share/java/${distname}/samples-and-tests"
+    # symlink the repository conifguration
+    xinstall -d ${destroot}${prefix}/etc/${distname}
+    system "cd ${destroot}${prefix}/etc/${distname} && ln -s ${prefix}/share/java/${distname}/repositories"
+}
diff -urtN orig/files/patch-framework-build.xml.diff new/files/patch-framework-build.xml.diff
--- orig/files/patch-framework-build.xml.diff	1970-01-01 01:00:00.000000000 +0100
+++ new/files/patch-framework-build.xml.diff	2011-03-15 23:40:17.000000000 +0100
@@ -0,0 +1,31 @@
+--- framework/build.xml.orig    2011-03-13 21:53:45.000000000 +0100
++++ framework/build.xml 2011-03-13 21:53:41.000000000 +0100
+@@ -38,9 +38,9 @@
+     <target name="version" unless="version">
+         <exec executable="git" outputproperty="gitversion" errorproperty="giterror" failonerror="false" failifexecutionfails="false">
+             <arg value="describe" />
+-            <arg value="--always" />
++            <arg value="--tags" />
+         </exec>
+-        <condition property="version" value="${baseversion}-${gitversion}" else="${baseversion}-localbuild">
++        <condition property="version" value="${gitversion}" else="${baseversion}-localbuild">
+             <equals arg1="" arg2="${giterror}" trim="true" />
+         </condition> 
+         <echo message="Version ${version}"></echo>
+@@ -301,11 +301,11 @@
+     
+     <target name="package" depends="clean,version,jar,javadoc">
+         <mkdir dir="dist" /> 
+-        <zip destfile="dist/play-${version}.zip" comment="Play! ${version}" update="false">
+-            <zipfileset prefix="play-${version}" dir=".." includes="**/*" excludes="**/cobertura.ser,**/*.pyc,hs_err*,.*,.*/*,framework/dist/**,id,play,nbproject/**,**/.bzr/**,**/.git/**,*.bzrignore,support/textmate/**,framework/classes/**,framework/tests-results/**,samples-and-tests/**/test-result,samples-and-tests/**/i-am-working-here,samples-and-tests/**/data,samples-and-tests/**/logs,samples-and-tests/**/tmp,samples-and-tests/**/db,samples-and-tests/**/attachments,modules/**" />   
+-            <zipfileset prefix="play-${version}" dir=".." includes="play" filemode="777" />
+-            <zipfileset prefix="play-${version}" dir=".." includes="modules/grizzly/**,modules/crud/**,modules/secure/**,modules/docviewer/**,modules/testrunner/**" excludes="**/*.pyc" />
+-        </zip>
++        <copy todir="dist">
++            <fileset dir=".." includes="**/*" excludes="**/cobertura.ser,**/*.pyc,hs_err*,.*,.*/*,framework/dist/**,id,play,nbproject/**,**/.bzr/**,**/.git/**,*.bzrignore,support/textmate/**,framework/classes/**,framework/tests-results/**,samples-and-tests/**/test-result,samples-and-tests/i-am-a-developer/**,samples-and-tests/**/data,samples-and-tests/**/logs,samples-and-tests/**/tmp,samples-and-tests/**/db,samples-and-tests/**/attachments,modules/**" />   
++            <fileset dir=".." includes="play" />
++            <fileset dir=".." includes="modules/grizzly/**,modules/crud/**,modules/secure/**,modules/docviewer/**,modules/testrunner/**" excludes="**/*.pyc" />
++        </copy>
+     </target>
+     
+ </project>
