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 128279 2014-11-18 05:51:44Z larryv@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | github.setup Orc discount 2.1.8 v |
---|
8 | categories textproc devel |
---|
9 | platforms darwin freebsd |
---|
10 | maintainers gmail.com:mmpestorich \ |
---|
11 | openmaintainer |
---|
12 | license BSD |
---|
13 | |
---|
14 | description An implementation of John Gruber’s Markdown language |
---|
15 | |
---|
16 | long_description Markdown provides a library that gives you formatting \ |
---|
17 | functions suitable for marking down entire documents or \ |
---|
18 | lines of text, a command-line program that you can use to \ |
---|
19 | mark down documents interactively or from a script, and a \ |
---|
20 | tiny (3 programs so far) suite of example programs that \ |
---|
21 | show how to fully utilize the markdown library. \ |
---|
22 | \ |
---|
23 | My markdown also does, by default, various \ |
---|
24 | smartypants-style substitutions. |
---|
25 | |
---|
26 | homepage http://www.pell.portland.or.us/~orc/Code/discount/ |
---|
27 | |
---|
28 | checksums rmd160 e471ae4e59a47deb74e6d5d54e49911149476d99 \ |
---|
29 | sha256 8526ebd3db19f482b49ff4f0c77a9427e7c6169b8b387ae39afd79ba41d12b52 |
---|
30 | |
---|
31 | configure.cmd ./configure.sh |
---|
32 | configure.args --mandir=${prefix}/share/man \ |
---|
33 | --with-dl=Both \ |
---|
34 | --enable-all-features \ |
---|
35 | --shared |
---|
36 | post-configure { |
---|
37 | if { ${os.platform} eq "darwin" } { |
---|
38 | set suffix .dylib |
---|
39 | } else { |
---|
40 | set suffix .so |
---|
41 | } |
---|
42 | reinplace \ |
---|
43 | "s|-dynamiclib|& -install_name ${prefix}/lib/libmarkdown${suffix}|" \ |
---|
44 | ${worksrcpath}/librarian.sh |
---|
45 | } |
---|
46 | |
---|
47 | destroot.target install.everything |
---|
48 | |
---|
49 | use_parallel_build yes |
---|
50 | |
---|