# -*- 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 github 1.0 PortGroup xcode 1.0 github.setup anthonygelibert QLColorCode 2.0.8 release- categories sysutils platforms darwin license GPL-2 maintainers sean openmaintainer description Quick Look plugin that renders source code with syntax highlighting long_description ${description} checksums rmd160 0cbbfcd13c259fb48a91d4a110de9fe9f1c6df98 \ sha256 eafbc4b6d458854ad52e71f6fe62576ce5a08c79463a17af90e32ea24b51dd8e depends_lib port:highlight destroot.violate_mtree yes # remove build phase that copies to the user's home directory patchfiles-append patch-xcode.diff post-extract { reinplace -W ${worksrcpath} "s,open \$PROJECT_DIR/release,," QLColorCode.xcodeproj/project.pbxproj } destroot { xinstall -d ${destroot}/Library/QuickLook file copy ${worksrcpath}/build/Release/${name}.qlgenerator ${destroot}/Library/QuickLook } # force quicklook to reload plugins post-activate { system "qlmanage -r" } post-deactivate { system "qlmanage -r" } livecheck.regex archive/[join ${github.tag_prefix} ""](\[^"b\]+)${extract.suffix}