[64751] trunk/dports/python/py26-pygments/Portfile
nox at macports.org
nox at macports.org
Mon Mar 15 06:16:36 PDT 2010
Revision: 64751
http://trac.macports.org/changeset/64751
Author: nox at macports.org
Date: 2010-03-15 06:16:36 -0700 (Mon, 15 Mar 2010)
Log Message:
-----------
Update py26-pygments to 1.3.1
Also install binary symlink, manpage and documentation.
Modified Paths:
--------------
trunk/dports/python/py26-pygments/Portfile
Modified: trunk/dports/python/py26-pygments/Portfile
===================================================================
--- trunk/dports/python/py26-pygments/Portfile 2010-03-15 13:16:24 UTC (rev 64750)
+++ trunk/dports/python/py26-pygments/Portfile 2010-03-15 13:16:36 UTC (rev 64751)
@@ -4,7 +4,8 @@
PortGroup python26 1.0
name py26-pygments
-version 1.1.1
+version 1.3.1
+license BSD
categories-append devel
maintainers openmaintainer erickt
description Python syntax highlighter
@@ -22,10 +23,27 @@
depends_lib port:py26-setuptools
-checksums md5 80ac64669a75e2d6647822b2778e38c8 \
- sha1 383fdffd0dd1edfe2e46c0d2d14340b63966a2cf \
- rmd160 e684a09c40575fa4c440ae7bba34e131ef93dc31
+checksums md5 54be67c04834f13d7e255e1797d629a5 \
+ sha1 947f90c5f71e83ec68161b33204b860a4cfd0742 \
+ rmd160 f5c6ea125a5faa4eef9ead232cae698cdf080d5a
+post-destroot {
+ ln -sf ${python.prefix}/bin/pygmentize \
+ ${destroot}/opt/local/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+)*)}
\ No newline at end of file
+livecheck.regex {Pygments-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100315/9e02dca0/attachment.html>
More information about the macports-changes
mailing list