[84374] trunk/dports/python/py-jsbeautifier/Portfile

jmr at macports.org jmr at macports.org
Fri Sep 23 21:02:09 PDT 2011


Revision: 84374
          http://trac.macports.org/changeset/84374
Author:   jmr at macports.org
Date:     2011-09-23 21:02:09 -0700 (Fri, 23 Sep 2011)
Log Message:
-----------
py-jsbeautifier: fix stub, set props

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

Property Changed:
----------------
    trunk/dports/python/py-jsbeautifier/Portfile

Modified: trunk/dports/python/py-jsbeautifier/Portfile
===================================================================
--- trunk/dports/python/py-jsbeautifier/Portfile	2011-09-24 03:27:28 UTC (rev 84373)
+++ trunk/dports/python/py-jsbeautifier/Portfile	2011-09-24 04:02:09 UTC (rev 84374)
@@ -1,4 +1,4 @@
-# $Id: Portfile 80236 2011-07-07 14:45:02Z jmr at macports.org $
+# $Id$
 # -*- 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
 
 PortSystem 1.0
@@ -15,14 +15,16 @@
 description         JS beautifier written in Python
 long_description    ${description}
 homepage            http://jsbeautifier.org/
-fetch.type          git
-git.url             https://github.com/einars/js-beautify.git
-distname            js-beautify
-build.dir           ${worksrcpath}/python
-
-depends_lib         port:py${python.version}-distribute
-
-post-destroot {
-    reinplace "s|#! /usr/bin/env python|#!${python.bin}|" ${build.dir}/js-beautify
-    xinstall -m 755 ${build.dir}/js-beautify ${destroot}${prefix}/bin/
+if {$subport != $name} {
+    fetch.type          git
+    git.url             https://github.com/einars/js-beautify.git
+    distname            js-beautify
+    build.dir           ${worksrcpath}/python
+    
+    depends_lib         port:py${python.version}-distribute
+    
+    post-destroot {
+        reinplace "s|#! /usr/bin/env python|#!${python.bin}|" ${build.dir}/js-beautify
+        xinstall -m 755 ${build.dir}/js-beautify ${destroot}${prefix}/bin/
+    }
 }


Property changes on: trunk/dports/python/py-jsbeautifier/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110923/54714d31/attachment.html>


More information about the macports-changes mailing list