[77586] trunk/dports/python
singingwolfboy at macports.org
singingwolfboy at macports.org
Tue Apr 5 08:27:59 PDT 2011
Revision: 77586
http://trac.macports.org/changeset/77586
Author: singingwolfboy at macports.org
Date: 2011-04-05 08:27:58 -0700 (Tue, 05 Apr 2011)
Log Message:
-----------
New port: py32-pygments
Added Paths:
-----------
trunk/dports/python/py32-pygments/
trunk/dports/python/py32-pygments/Portfile
Added: trunk/dports/python/py32-pygments/Portfile
===================================================================
--- trunk/dports/python/py32-pygments/Portfile (rev 0)
+++ trunk/dports/python/py32-pygments/Portfile 2011-04-05 15:27:58 UTC (rev 77586)
@@ -0,0 +1,50 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup python32 1.0
+
+name py32-pygments
+version 1.4
+license BSD
+categories-append devel
+maintainers singingwolfboy openmaintainer
+description Python syntax highlighter
+long_description \
+ Pygments is a fast syntax highlighter written in Python with a \
+ special focus on details. Can highlight source code in many supported \
+ languages: Python, Ruby, PHP, HTML etc. Outputs arbitrarily-styled \
+ HTML or LaTeX, comes with many builtin styles.
+
+platforms darwin
+supported_archs noarch
+
+homepage http://pygments.org
+master_sites http://pypi.python.org/packages/source/P/Pygments
+distname Pygments-${version}
+
+depends_lib port:py32-distribute
+
+checksums md5 d77ac8c93a7fb27545f2522abe9cc462 \
+ sha1 d34f96421a86004aa5d26ecf975edefd09f948b1 \
+ rmd160 52775927f5e1b61c4203ae21fa9347c376f59287
+
+post-destroot {
+ ln -sf ${python.prefix}/bin/pygmentize \
+ ${destroot}${prefix}/bin/pygmentize-${python.branch}
+
+ set docdir ${prefix}/share/doc/${name}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 644 -W ${worksrcpath} AUTHORS CHANGES LICENSE TODO \
+ ${destroot}${docdir}
+ copy ${worksrcpath}/docs/build ${destroot}${docdir}/html
+
+ set man1 ${python.prefix}/share/man/man1
+ xinstall -d ${destroot}${man1}
+ xinstall -m 644 ${worksrcpath}/docs/pygmentize.1 ${destroot}${man1}
+ ln -sf ${man1}/pygmentize.1 \
+ ${destroot}${prefix}/share/man/man1/pygmentize-${python.branch}.1
+}
+
+livecheck.type regex
+livecheck.url ${master_sites}
+livecheck.regex {Pygments-(\d+(?:\.\d+)*)}
Property changes on: trunk/dports/python/py32-pygments/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110405/a54113f0/attachment.html>
More information about the macports-changes
mailing list