<pre style='margin:0'>
Mojca Miklavec (mojca) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/3564379dc2738383f6264e545ebd762575a2ae97">https://github.com/macports/macports-ports/commit/3564379dc2738383f6264e545ebd762575a2ae97</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 3564379dc2738383f6264e545ebd762575a2ae97
</span>Author: Andrew L. Moore <slewsys@gmail.com>
AuthorDate: Mon May 7 17:24:02 2018 -0400
<span style='display:block; white-space:pre;color:#404040;'> play: update to 1.5.2, use github portgroup
</span>---
devel/play/Portfile | 39 +++++++++----------------
devel/play/files/patch-framework-build.xml.diff | 28 ------------------
2 files changed, 14 insertions(+), 53 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/play/Portfile b/devel/play/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 41bd4ad..dbb6870 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/play/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/play/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,10 +1,11 @@
</span> # -*- 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
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup playframework play1 1.5.2
</span> name play
conflicts sox
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.2.7.2
</span> categories devel java www
platforms darwin
license Apache-2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,24 +25,20 @@ long_description The Play framework is a clean alternative to bloated Enterpr
</span> development while sticking with Java. (From the documentation)
homepage http://www.playframework.org/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites https://github.com/playframework/play/tarball/${version}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 c0e96c2539e0d90503a17c2b6155f7f7a3cc0275 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 b2f8622ddba0fbaff6cde717a8b2ceb534d0fb8295554e2a4716cadecd893933
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 f00eb64c2cfb4b15b314be2c0073dab71fefe63a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 1bb73052ab69867048bce482151665c0d009355d7ffcdd8be1d0b2fca910d2d6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 84041185
</span>
depends_build port:apache-ant
depends_lib port:python27
post-extract {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- file rename [glob ${workpath}/playframework-play1-*] ${worksrcpath}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # delete windows specific files
delete ${worksrcpath}/play.bat ${worksrcpath}/python
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-framework-build.xml.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> post-patch {
reinplace "s|/usr/bin/env python|${prefix}/bin/python2.7|" ${worksrcpath}/play
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -53,23 +50,15 @@ build.target package
</span> build.dir ${worksrcpath}/framework
destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 -d ${destroot}${prefix}/share/java/${distname}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file attributes ${build.dir}/dist/play -permissions rwxr-xr-x
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach f [glob -directory ${build.dir}/dist *] {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file copy $f ${destroot}${prefix}/share/java/${distname}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # symlink the binary
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${prefix}/share/java/${distname}/play ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # symlink the documentation
</span> set docdir ${destroot}${prefix}/share/doc/${name}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${docdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${prefix}/share/java/${distname}/documentation/api ${docdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${prefix}/share/java/${distname}/samples-and-tests ${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set javadir ${destroot}${prefix}/share/java/${distname}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 -d ${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 -d ${javadir}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url ${homepage}download
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex ${name}-(1(\\.\\d+)*).zip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach f [list documentation samples-and-tests support] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${build.dir}/../${f} ${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy [glob -directory ${build.dir}/dist *] ${javadir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 ${build.dir}/../play ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/play/files/patch-framework-build.xml.diff b/devel/play/files/patch-framework-build.xml.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 70da6a5..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/play/files/patch-framework-build.xml.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,28 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- framework/build.xml.orig 2011-07-29 11:30:41.000000000 +0200
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ framework/build.xml 2011-07-29 11:33:02.000000000 +0200
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -2,7 +2,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <project name="play! framework" default="jar" basedir=".">
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- <property name="baseversion" value="1.2.x" />
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ <property name="version" value="1.2.7" />
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <path id="project.classpath">
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <fileset dir=".">
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -353,11 +353,11 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <target name="package" depends="clean,version,jar,javadoc">
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <mkdir dir="dist" />
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- <zip destfile="dist/play-${version}.zip" comment="Play! ${version}" update="false">
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- <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/**" />
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- <zipfileset prefix="play-${version}" dir=".." includes="play" filemode="777" />
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- <zipfileset prefix="play-${version}" dir=".." includes="modules/grizzly/**,modules/crud/**,modules/secure/**,modules/docviewer/**,modules/testrunner/**" excludes="**/*.pyc" />
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- </zip>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ <copy todir="dist">
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ <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/**" />
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ <fileset dir=".." includes="play" />
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ <fileset dir=".." includes="modules/grizzly/**,modules/crud/**,modules/secure/**,modules/docviewer/**,modules/testrunner/**" excludes="**/*.pyc" />
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ </copy>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- </target>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- </project>
</span></pre><pre style='margin:0'>
</pre>