[107432] trunk/dports/python/py-jsbeautifier/Portfile
jmr at macports.org
jmr at macports.org
Fri Jun 28 23:46:15 PDT 2013
Revision: 107432
https://trac.macports.org/changeset/107432
Author: jmr at macports.org
Date: 2013-06-28 23:46:15 -0700 (Fri, 28 Jun 2013)
Log Message:
-----------
py-jsbeautifier: use github portgroup and update to 1.4.0
Modified Paths:
--------------
trunk/dports/python/py-jsbeautifier/Portfile
Modified: trunk/dports/python/py-jsbeautifier/Portfile
===================================================================
--- trunk/dports/python/py-jsbeautifier/Portfile 2013-06-29 06:10:48 UTC (rev 107431)
+++ trunk/dports/python/py-jsbeautifier/Portfile 2013-06-29 06:46:15 UTC (rev 107432)
@@ -3,10 +3,10 @@
PortSystem 1.0
PortGroup python 1.0
+PortGroup github 1.0
+github.setup einars js-beautify 1.4.0 v
name py-jsbeautifier
-version 1.0
-python.versions 24 25 26 27
categories-append textproc
license MIT
platforms darwin
@@ -15,14 +15,17 @@
description JS beautifier written in Python
long_description ${description}
homepage http://jsbeautifier.org/
+
+checksums rmd160 283f13781596246d898b8383aaf1725d3d8ce76a \
+ sha256 fb364b3df2057a50e3199411eaeb3d99ac4aebd309e8a043f3dfcf25487e0bac
+
+python.versions 24 25 26 27
+
if {$subport != $name} {
- fetch.type git
- git.url https://github.com/einars/js-beautify.git
- distname js-beautify
build.dir ${worksrcpath}/python
post-destroot {
reinplace "s|#! /usr/bin/env python|#!${python.bin}|" ${build.dir}/js-beautify
- xinstall -m 755 ${build.dir}/js-beautify ${destroot}${prefix}/bin/
+ xinstall -m 755 ${build.dir}/js-beautify ${destroot}${python.prefix}/bin
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130628/8d911e2a/attachment-0001.html>
More information about the macports-changes
mailing list