# -*- 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: Portfile 121447 2014-06-25 19:26:00Z sean@macports.org $ PortSystem 1.0 PortGroup github 1.0 PortGroup xcode 1.0 github.setup toland qlmarkdown 1.3.3 v name QLMarkdown categories sysutils platforms darwin license BSD maintainers sean openmaintainer description QuickLook generator for Markdown files long_description ${description} # QLMarkdown uses git submodules fetch.type git destroot.violate_mtree yes post-extract { system -W ${worksrcpath} "git submodule update --init" } 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" }