You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
8049860922
In preparation for changing the default.
41 lines
1020 B
Tcl
41 lines
1020 B
Tcl
# -*- 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 github 1.0
|
|
PortGroup xcode 1.0
|
|
|
|
github.setup toland qlmarkdown 1.3.6 v
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
name QLMarkdown
|
|
categories sysutils
|
|
|
|
license BSD
|
|
maintainers nomaintainer
|
|
|
|
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"
|
|
}
|