[91983] trunk/dports/science/yorick-yao/Portfile

cal at macports.org cal at macports.org
Sat Apr 14 08:29:12 PDT 2012


Revision: 91983
          https://trac.macports.org/changeset/91983
Author:   cal at macports.org
Date:     2012-04-14 08:29:10 -0700 (Sat, 14 Apr 2012)
Log Message:
-----------
yorick-yao: add license, add openmaintainer, update pygtk dependency to py27 (maintainer, #34029)

Modified Paths:
--------------
    trunk/dports/science/yorick-yao/Portfile

Modified: trunk/dports/science/yorick-yao/Portfile
===================================================================
--- trunk/dports/science/yorick-yao/Portfile	2012-04-14 14:36:35 UTC (rev 91982)
+++ trunk/dports/science/yorick-yao/Portfile	2012-04-14 15:29:10 UTC (rev 91983)
@@ -6,10 +6,12 @@
 
 set uname           yao
 github.setup        frigaut ${uname} 4.9.0
+revision            1
+license             GPL-2+
 name                yorick-${uname}
 categories          science
 platforms           darwin
-maintainers         users.sourceforge.net:paumard
+maintainers         users.sourceforge.net:paumard openmaintainer
 description         A Yorick-based adaptive optics system simulator
 long_description    Yao is a monte-carlo simulation package for adaptive \
                     optics. It can be used stand-alone through a GTK-based \
@@ -20,15 +22,20 @@
 checksums           rmd160  7409982765176d27bb046839293d2cd1ed042914 \
                     sha256  eeff60aad302a8c81e4af13d77e407964b4c7ffbb539f53d3d107a2aaaaacb90
 
-depends_lib-append  port:yorick \
+depends_lib-append  path:bin/yorick:yorick \
                     port:yorick-imutil \
                     port:fftw-3-single
 
 depends_run         port:yorick-yutils \
-                    port:py26-gtk
+                    port:py27-gtk
 
 universal_variant   no
 
+post-patch {
+    reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python2.7|" \
+        ${worksrcpath}/${uname}.py
+}
+
 configure.cmd       ${prefix}/bin/yorick
 configure.pre_args
 configure.args      -batch make.i
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120414/6f1b1c9b/attachment.html>


More information about the macports-changes mailing list