[71672] trunk/dports/python
singingwolfboy at macports.org
singingwolfboy at macports.org
Sun Sep 19 11:07:57 PDT 2010
Revision: 71672
http://trac.macports.org/changeset/71672
Author: singingwolfboy at macports.org
Date: 2010-09-19 11:07:56 -0700 (Sun, 19 Sep 2010)
Log Message:
-----------
New port: py27-pygments
Added Paths:
-----------
trunk/dports/python/py27-pygments/
trunk/dports/python/py27-pygments/Portfile
Added: trunk/dports/python/py27-pygments/Portfile
===================================================================
--- trunk/dports/python/py27-pygments/Portfile (rev 0)
+++ trunk/dports/python/py27-pygments/Portfile 2010-09-19 18:07:56 UTC (rev 71672)
@@ -0,0 +1,51 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup python27 1.0
+
+name py27-pygments
+version 1.3.1
+revision 1
+license BSD
+categories-append devel
+maintainers nomaintainer
+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:py27-distribute
+
+checksums md5 54be67c04834f13d7e255e1797d629a5 \
+ sha1 947f90c5f71e83ec68161b33204b860a4cfd0742 \
+ rmd160 f5c6ea125a5faa4eef9ead232cae698cdf080d5a
+
+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/py27-pygments/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/20100919/dd651832/attachment.html>
More information about the macports-changes
mailing list