Modified: trunk/dports/python/py-google-api/Portfile (98314 => 98315)
--- trunk/dports/python/py-google-api/Portfile 2012-10-02 21:45:36 UTC (rev 98314)
+++ trunk/dports/python/py-google-api/Portfile 2012-10-02 23:57:49 UTC (rev 98315)
@@ -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
@@ -22,21 +23,21 @@
master_sites googlecode:${realname}
distname ${realname}-${version}
-post-destroot {
- delete ${destroot}${python.pkgd}/uritemplate
- delete ${destroot}${python.pkgd}/oauth2client
-
- set egg-info ${destroot}${python.pkgd}/google_api_python_client-${version}-py${python.branch}.egg-info
- foreach d [glob -dir ${egg-info} *] {
- file attributes ${d} -permissions 0644
- }
-}
-
if {$subport != $name} {
depends_lib-append port:py${python.version}-httplib2 \
port:py${python.version}-gflags \
port:py${python.version}-uritemplate \
port:py${python.version}-oauth2client
+
+ post-destroot {
+ delete ${destroot}${python.pkgd}/uritemplate
+ delete ${destroot}${python.pkgd}/oauth2client
+
+ set egg-info ${destroot}${python.pkgd}/google_api_python_client-${version}-py${python.branch}.egg-info
+ foreach d [glob -dir ${egg-info} *] {
+ file attributes ${d} -permissions 0644
+ }
+ }
}
subport py25-google-api {