[98316] trunk/dports/python/py-oauth2client/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Oct 2 17:00:31 PDT 2012


Revision: 98316
          http://trac.macports.org//changeset/98316
Author:   ryandesign at macports.org
Date:     2012-10-02 17:00:31 -0700 (Tue, 02 Oct 2012)
Log Message:
-----------
py-oauth2client: fix stub port by moving post-destroot block inside {$subport != $name} block; add modeline

Modified Paths:
--------------
    trunk/dports/python/py-oauth2client/Portfile

Modified: trunk/dports/python/py-oauth2client/Portfile
===================================================================
--- trunk/dports/python/py-oauth2client/Portfile	2012-10-02 23:57:49 UTC (rev 98315)
+++ trunk/dports/python/py-oauth2client/Portfile	2012-10-03 00:00:31 UTC (rev 98316)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem          1.0
@@ -18,12 +19,14 @@
 master_sites        http://pypi.python.org/packages/source/o/oauth2client
 distname            oauth2client-${version}
 
+if {$subport != $name} {
 post-destroot {
     set egg-info ${destroot}${python.pkgd}/oauth2client-${version}-py${python.branch}.egg-info
     foreach d [glob -dir ${egg-info} *] {
         file attributes ${d} -permissions 0644
     }
 }
+}
 
 checksums           rmd160  41f2fd682491042e5f1e596ba24be865730fdaa3 \
                     sha256  9122e21921eabe3d33da0ed096f49ce347457e9b293000a2859c850e9417bbba
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121002/50b73e52/attachment-0001.html>


More information about the macports-changes mailing list