# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 name py-pygments version 2.1.3 categories-append devel platforms darwin license BSD supported_archs noarch python.versions 26 27 33 34 35 maintainers 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 164f2442fa402b7c9d34bfc39cca3f1f4e13b984 \ sha256 88e4c8a91b2af5962bfa5ea2447ec6dd357018e86e94c7d14bd8cacbc5b55d81 if {${name} ne ${subport}} { depends_lib-append port:py${python.version}-setuptools 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 } livecheck.type none } else { livecheck.name Pygments livecheck.type pypi }