# -*- 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           cmake 1.1
PortGroup           github 1.0

github.setup        fletcher MultiMarkdown-6 6.7.0
revision            0
checksums           rmd160  9d0f0f83a87b8134195ec3cabaa22eb141b8eacf \
                    sha256  aa386f54631dbc4e0beeb6b9cf9eb769db95a3f505a69b663140a80008cf0595 \
                    size    3329318

name                multimarkdown
conflicts           mtools
categories          textproc
license             MIT
maintainers         {ryandesign @ryandesign} openmaintainer

description         turn minimally marked-up plain text into well \
                    formatted documents

long_description    MultiMarkdown, or MMD, is a tool to help turn \
                    minimally marked-up plain text into well formatted \
                    documents, including HTML, PDF (by way of LaTeX), \
                    OPML, or OpenDocument. MMD is a superset of the \
                    Markdown syntax, originally created by John Gruber. \
                    It adds multiple syntax features (tables, footnotes, \
                    and citations, to name a few), in addition to the \
                    various output formats listed above (Markdown only \
                    creates HTML). Additionally, it builds in “smart” \
                    typography for various languages (proper left- and \
                    right-sided quotes, for example).

homepage            https://fletcherpenney.net/multimarkdown/
github.tarball_from archive

depends_lib-append  port:curl

compiler.c_standard 2011

# Blacklist compilers that do not support -fbracket-depth
compiler.blacklist  {clang < 500}

configure.args-append \
                    -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF

test.run            yes
