# -*- 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 PortGroup select 1.0 name py-pygments version 2.3.1 revision 0 categories-append devel platforms darwin license BSD supported_archs noarch python.versions 27 34 35 36 37 maintainers {stromnov @stromnov} 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. homepage http://pygments.org/ master_sites pypi:P/Pygments distname Pygments-${version} checksums rmd160 28d5989a475da06733ccf67b18dad1ca3b3cebfb \ sha256 5ffada19f6203563680669ee7f53b64dabbeb100eb51b61996085e99c03b284a \ size 3124216 if {${name} ne ${subport}} { depends_lib-append port:py${python.version}-setuptools depends_run-append port:pygments_select if {${python.version} == 34} { version 2.2.0 revision 1 distname Pygments-${version} checksums rmd160 8c676e2a67d76148573abcd44a927e6d762abb6b \ sha256 dbae1046def0efb574852fab9e90209b23f556367b5a320c0bcb871c77c3e8cc \ size 2113944 } post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} AUTHORS CHANGES LICENSE TODO \ ${destroot}${docdir} set man1 ${python.prefix}/share/man/man1 xinstall -d ${destroot}${man1} xinstall -m 644 ${worksrcpath}/doc/pygmentize.1 ${destroot}${man1} ln -sf ${man1}/pygmentize.1 \ ${destroot}${prefix}/share/man/man1/pygmentize-${python.branch}.1 } select.group pygments select.file ${filespath}/py${python.version}-pygments notes " To make the Python ${python.branch} version of Pygments the one that is run when\ you execute the commands without a version suffix, e.g. 'pygmentize', run: port select --set ${select.group} [file tail ${select.file}] " livecheck.type none } else { livecheck.name Pygments }