[84357] trunk/dports/python
singingwolfboy at macports.org
singingwolfboy at macports.org
Fri Sep 23 11:13:28 PDT 2011
Revision: 84357
http://trac.macports.org/changeset/84357
Author: singingwolfboy at macports.org
Date: 2011-09-23 11:13:27 -0700 (Fri, 23 Sep 2011)
Log Message:
-----------
New port: py-jsbeautifier
Added Paths:
-----------
trunk/dports/python/py-jsbeautifier/
trunk/dports/python/py-jsbeautifier/Portfile
Added: trunk/dports/python/py-jsbeautifier/Portfile
===================================================================
--- trunk/dports/python/py-jsbeautifier/Portfile (rev 0)
+++ trunk/dports/python/py-jsbeautifier/Portfile 2011-09-23 18:13:27 UTC (rev 84357)
@@ -0,0 +1,28 @@
+# $Id: Portfile 80236 2011-07-07 14:45:02Z jmr at macports.org $
+# -*- 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
+PortGroup python 1.0
+
+name py-jsbeautifier
+version 1.0
+python.versions 24 25 26 27
+categories-append textproc
+license MIT
+platforms darwin
+supported_archs noarch
+maintainers singingwolfboy openmaintainer
+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/
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110923/9a411c84/attachment.html>
More information about the macports-changes
mailing list