[74631] trunk/dports/devel/stgit/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Dec 24 14:33:53 PST 2010


Revision: 74631
          http://trac.macports.org/changeset/74631
Author:   ryandesign at macports.org
Date:     2010-12-24 14:33:47 -0800 (Fri, 24 Dec 2010)
Log Message:
-----------
stgit: noarch, and don't symlink a binary with the python version number into ${prefix}/bin since this is just a program, not a python module

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

Modified: trunk/dports/devel/stgit/Portfile
===================================================================
--- trunk/dports/devel/stgit/Portfile	2010-12-24 21:48:11 UTC (rev 74630)
+++ trunk/dports/devel/stgit/Portfile	2010-12-24 22:33:47 UTC (rev 74631)
@@ -6,10 +6,12 @@
 
 name                stgit
 version             0.15
-revision            1
+revision            2
 categories          devel python
 platforms           darwin
 maintainers         boeyms openmaintainer
+supported_archs     noarch
+
 description         Push/pop utility on top of GIT
 long_description    StGIT is a Python application providing similar \
                     functionality to Quilt (i.e. pushing/popping patches \
@@ -40,9 +42,9 @@
     system "cd ${worksrcpath} && PYTHON=${prefix}/bin/python2.6 make all"
 }
 
+python.link_binaries_suffix
+
 post-destroot {
-    ln -s ${python.prefix}/bin/stg ${destroot}${prefix}/bin/stg
-
     move ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6/share/stgit/ \
         ${destroot}${prefix}/share/
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101224/bba2b6f8/attachment.html>


More information about the macports-changes mailing list