# -*- 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
categories devel java www
maintainers {ciserlohn @ci42}
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/
master_sites https://github.com/playframework/play/tarball/${version}
checksums rmd160 c0e96c2539e0d90503a17c2b6155f7f7a3cc0275 \
sha256 b2f8622ddba0fbaff6cde717a8b2ceb534d0fb8295554e2a4716cadecd893933
depends_build port:apache-ant
depends_lib port:python27
file rename [glob ${workpath}/playframework-play1-*] ${worksrcpath}
# delete windows specific files
delete ${worksrcpath}/play.bat ${worksrcpath}/python
patchfiles patch-framework-build.xml.diff
reinplace "s|/usr/bin/env python|${prefix}/bin/python2.7|" ${worksrcpath}/play
build.dir ${worksrcpath}/framework
xinstall -m 755 -d ${destroot}${prefix}/share/java/${distname}
file attributes ${build.dir}/dist/play -permissions rwxr-xr-x
foreach f [glob -directory ${build.dir}/dist *] {
file copy $f ${destroot}${prefix}/share/java/${distname}
ln -s ${prefix}/share/java/${distname}/play ${destroot}${prefix}/bin