# -*- 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 89064 2012-01-19 04:10:51Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           github 1.0
PortGroup           xcode 1.0

github.setup        suminb readown 1.0.4
name                Readown
categories          aqua textproc
platforms           darwin
maintainers         ryandesign
license             LGPL-3

description         markdown reader GUI

long_description    ${name} is a simple ${description}.

fetch.type          git
git.branch          0db1abfd6cb2a03335a46717172499094b2787bd

post-destroot {
    set docdir ${destroot}${prefix}/share/doc/${name}
    xinstall -d ${docdir}
    xinstall -m 644 -W ${worksrcpath} \
        LICENSE.markdown \
        README.markdown \
        ${docdir}
}

livecheck.type      regexm
livecheck.url       ${github.raw}/master/Info.plist
livecheck.regex     {<key>CFBundleVersion</key>\s*<string>([^<]+)</string>}
