Revision
74631
Author
ryandesign@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

Diff

Modified: trunk/dports/devel/stgit/Portfile (74630 => 74631)


--- 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/