[121345] trunk/dports/sysutils/qlmarkdown/Portfile

sean at macports.org sean at macports.org
Mon Jun 23 14:56:07 PDT 2014


Revision: 121345
          https://trac.macports.org/changeset/121345
Author:   sean at macports.org
Date:     2014-06-23 14:56:07 -0700 (Mon, 23 Jun 2014)
Log Message:
-----------
qlmarkdown: update to 1.3.3

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

Modified: trunk/dports/sysutils/qlmarkdown/Portfile
===================================================================
--- trunk/dports/sysutils/qlmarkdown/Portfile	2014-06-23 21:56:02 UTC (rev 121344)
+++ trunk/dports/sysutils/qlmarkdown/Portfile	2014-06-23 21:56:07 UTC (rev 121345)
@@ -2,11 +2,10 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           github 1.0
 PortGroup           xcode 1.0
 
-github.setup        toland qlmarkdown 1.3.1 v
 name                QLMarkdown
+version             1.3.3
 categories          sysutils
 
 platforms           darwin
@@ -16,11 +15,17 @@
 description         QuickLook generator for Markdown files
 long_description    ${description}
 
-checksums           rmd160  b9144cc8ac687a1cfc45022b0d34fb7bcf8b073a \
-                    sha256  05de5e3289249637dd99f886b296bc7ebf5653d3be1f6e47ba5be982ff209ef5
+# QLMarkdown uses git submodules so we can't use the github port group
+fetch.type          git
+git.url             git://github.com/toland/qlmarkdown.git
+git.branch          v${version}
 
 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
@@ -34,3 +39,7 @@
 post-deactivate {
     system "qlmanage -r"
 }
+
+livecheck.type      regex
+livecheck.url       https://github.com/toland/qlmarkdown/releases
+livecheck.regex     /tag/v(\[0-9.\]+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140623/869a39d3/attachment.html>


More information about the macports-changes mailing list