[58944] trunk/dports/devel/robotframework/Portfile

jwa at macports.org jwa at macports.org
Wed Oct 7 10:18:31 PDT 2009


Revision: 58944
          http://trac.macports.org/changeset/58944
Author:   jwa at macports.org
Date:     2009-10-07 10:18:30 -0700 (Wed, 07 Oct 2009)
Log Message:
-----------
drop some lines to let system locate files in their proper places, put the wrapper scripts in the public bin

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

Modified: trunk/dports/devel/robotframework/Portfile
===================================================================
--- trunk/dports/devel/robotframework/Portfile	2009-10-07 17:14:15 UTC (rev 58943)
+++ trunk/dports/devel/robotframework/Portfile	2009-10-07 17:18:30 UTC (rev 58944)
@@ -8,6 +8,7 @@
 #set internal_name   ${name}
 
 version             2.1.1
+revision			1
 categories-append   devel
 maintainers         jwa
 description         ATDD framework
@@ -25,18 +26,17 @@
                     sha1    256b45442f363ae25e86655fbbbf5d2f342b5a19 \
                     rmd160  52e4b65327f287a05d30ea96b62311e7ca055c74
 
-#patchfiles			setup.py.diff
-use_configure		no
+set framewpath ${frameworks_dir}/Python.framework
+set framewdir  ${framewpath}/Versions/2.6
 
-build.cmd           ${prefix}/bin/python2.6 setup.py
+post-destroot		{
+    reinplace "s;${destroot};;" ${destroot}/${framewdir}/bin/pybot
+    reinplace "s;${destroot};;" ${destroot}/${framewdir}/bin/jybot
+    reinplace "s;${destroot};;" ${destroot}/${framewdir}/bin/rebot
 
-destroot.cmd        ${build.cmd}
-destroot.destdir    --prefix=${prefix} --root=${destroot}
-
-post-destroot		{
-    reinplace "s;${destroot};;" ${destroot}/${prefix}/bin/pybot
-    reinplace "s;${destroot};;" ${destroot}/${prefix}/bin/jybot
-    reinplace "s;${destroot};;" ${destroot}/${prefix}/bin/rebot
+    xinstall ${destroot}/${framewdir}/bin/pybot ${destroot}/${prefix}/bin/pybot
+    xinstall ${destroot}/${framewdir}/bin/pybot ${destroot}/${prefix}/bin/jybot
+    xinstall ${destroot}/${framewdir}/bin/pybot ${destroot}/${prefix}/bin/rebot
 }
 
 livecheck.type     regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091007/284389bc/attachment.html>


More information about the macports-changes mailing list