[82350] trunk/dports/devel/play/Portfile

ciserlohn at macports.org ciserlohn at macports.org
Fri Aug 12 14:37:48 PDT 2011


Revision: 82350
          http://trac.macports.org/changeset/82350
Author:   ciserlohn at macports.org
Date:     2011-08-12 14:37:47 -0700 (Fri, 12 Aug 2011)
Log Message:
-----------
play: add apache-ant as build time dependency and python27 as runtime dependency; bump revision

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

Modified: trunk/dports/devel/play/Portfile
===================================================================
--- trunk/dports/devel/play/Portfile	2011-08-12 21:36:28 UTC (rev 82349)
+++ trunk/dports/devel/play/Portfile	2011-08-12 21:37:47 UTC (rev 82350)
@@ -6,7 +6,7 @@
 name                play
 conflicts           sox
 version             1.2.2
-revision            1
+revision            2
 categories          devel java www
 platforms           darwin
 license             Apache-2
@@ -34,6 +34,10 @@
 # stealth update at 1.2.2
 dist_subdir         ${name}/${version}_1
 
+depends_build       port:apache-ant
+
+depends_lib         port:python27
+
 post-extract {
     file rename [glob ${workpath}/playframework-play-*] ${worksrcpath}
 
@@ -43,6 +47,10 @@
 
 patchfiles          patch-framework-build.xml.diff
 
+post-patch {
+    reinplace "s|/usr/bin/env python|${prefix}/bin/python2.7|" ${worksrcpath}/play
+}
+
 use_configure       no
 
 build.cmd           ant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110812/26a8f7c9/attachment.html>


More information about the macports-changes mailing list