source: trunk/dports/sysutils/qlmarkdown/Portfile

Last change on this file was 143547, checked in by sean@…, 20 months ago

qlmarkdown: update to 1.3.5

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 962 bytes
Line 
1# -*- 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
2# $Id: Portfile 143547 2015-12-15 00:22:10Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           xcode 1.0
7
8github.setup        toland qlmarkdown 1.3.5 v
9name                QLMarkdown
10categories          sysutils
11
12platforms           darwin
13license             BSD
14maintainers         sean openmaintainer
15
16description         QuickLook generator for Markdown files
17long_description    ${description}
18
19# QLMarkdown uses git submodules
20fetch.type          git
21
22destroot.violate_mtree  yes
23
24post-extract {
25    system -W ${worksrcpath} "git submodule update --init"
26}
27
28destroot {
29    xinstall -d ${destroot}/Library/QuickLook
30    file copy ${worksrcpath}/build/Release/${name}.qlgenerator ${destroot}/Library/QuickLook
31}
32
33# force quicklook to reload plugins
34post-activate {
35    system "qlmanage -r"
36}
37
38post-deactivate {
39    system "qlmanage -r"
40}
Note: See TracBrowser for help on using the repository browser.