[119915] trunk/dports/sysutils

sean at macports.org sean at macports.org
Fri May 9 15:12:53 PDT 2014


Revision: 119915
          https://trac.macports.org/changeset/119915
Author:   sean at macports.org
Date:     2014-05-09 15:12:53 -0700 (Fri, 09 May 2014)
Log Message:
-----------
qlmarkdown: add new port for rendering markdown in quicklook

Added Paths:
-----------
    trunk/dports/sysutils/qlmarkdown/
    trunk/dports/sysutils/qlmarkdown/Portfile

Added: trunk/dports/sysutils/qlmarkdown/Portfile
===================================================================
--- trunk/dports/sysutils/qlmarkdown/Portfile	                        (rev 0)
+++ trunk/dports/sysutils/qlmarkdown/Portfile	2014-05-09 22:12:53 UTC (rev 119915)
@@ -0,0 +1,36 @@
+# -*- 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        toland qlmarkdown 1.3.1 v
+name                QLMarkdown
+categories          sysutils
+
+platforms           darwin
+license             BSD
+maintainers         sean openmaintainer
+
+description         QuickLook generator for Markdown files
+long_description    ${description}
+
+checksums           rmd160  b9144cc8ac687a1cfc45022b0d34fb7bcf8b073a \
+                    sha256  05de5e3289249637dd99f886b296bc7ebf5653d3be1f6e47ba5be982ff209ef5
+
+destroot.violate_mtree  yes
+
+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"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140509/b1172039/attachment.html>


More information about the macports-changes mailing list