# -*- 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 115945 2014-01-15 04:44:53Z royliu@macports.org $ PortSystem 1.0 PortGroup github 1.0 github.setup fletcher MultiMarkdown-4 4.5 name multimarkdown categories textproc # peg-markdown is released under both the GPL and MIT licenses. # You may pick the license that best fits your needs. license {GPL-2+ MIT} maintainers nomaintainer installs_libs no 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 http://fletcherpenney.net/multimarkdown/ platforms darwin # https://github.com/fletcher/MultiMarkdown-4/issues/7 fetch.type git post-fetch { system -W ${worksrcpath} "git submodule update --init" } use_configure no variant universal {} build.args CC="${configure.cc} [get_canonical_archflags]" build.target test.run yes destroot { xinstall ${worksrcpath}/${name} ${destroot}${prefix}/bin/ set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} LICENSE README.md ${destroot}${docdir} }