source: trunk/dports/textproc/multimarkdown/Portfile

Last change on this file was 115945, checked in by royliu@…, 4 years ago

multimarkdown: update to 4.5

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- 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
2# $Id: Portfile 115945 2014-01-15 04:44:53Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        fletcher MultiMarkdown-4 4.5
8name                multimarkdown
9categories          textproc
10# peg-markdown is released under both the GPL and MIT licenses.
11# You may pick the license that best fits your needs.
12license             {GPL-2+ MIT}
13maintainers         nomaintainer
14installs_libs       no
15
16description         turn minimally marked-up plain text into well \
17                    formatted documents
18long_description    MultiMarkdown, or MMD, is a tool to help turn \
19                    minimally marked-up plain text into well formatted \
20                    documents, including HTML, PDF (by way of LaTeX), \
21                    OPML, or OpenDocument. MMD is a superset of the \
22                    Markdown syntax, originally created by John Gruber. \
23                    It adds multiple syntax features (tables, footnotes, \
24                    and citations, to name a few), in addition to the \
25                    various output formats listed above (Markdown only \
26                    creates HTML). Additionally, it builds in smart \
27                    typography for various languages (proper left- and \
28                    right-sided quotes, for example).
29
30homepage            http://fletcherpenney.net/multimarkdown/
31platforms           darwin
32
33# https://github.com/fletcher/MultiMarkdown-4/issues/7
34fetch.type          git
35post-fetch {
36    system -W ${worksrcpath} "git submodule update --init"
37}
38
39use_configure       no
40
41variant universal {}
42
43build.args          CC="${configure.cc} [get_canonical_archflags]"
44build.target
45
46test.run            yes
47
48destroot {
49    xinstall ${worksrcpath}/${name} ${destroot}${prefix}/bin/
50
51    set docdir ${prefix}/share/doc/${subport}
52    xinstall -d ${destroot}${docdir}
53    xinstall -m 644 -W ${worksrcpath} LICENSE README.md ${destroot}${docdir}
54}
Note: See TracBrowser for help on using the repository browser.