source: trunk/dports/php/php-markdown/Portfile

Last change on this file was 124944, checked in by ryandesign@…, 3 years ago

add php56 subports

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 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 124944 2014-09-01 01:05:32Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           php 1.1
6
7name                php-markdown
8version             1.0.0
9revision            1
10categories          php textproc devel
11platforms           darwin
12maintainers         ryandesign openmaintainer
13license             BSD
14
15php.branches        5.3 5.4 5.5 5.6
16php.pecl            yes
17
18description         A fast Markdown parser
19
20long_description    Markdown is an extension to parse a Markdown text, from \
21                    a string or a file. It is fast and has a simple API.
22
23checksums           rmd160  71e6b3c87436a1d3e253d542d187746903ef60a6 \
24                    sha256  67fd0ec9cda29ce4e39aea012bcd230f7076e12bef671d40331e256a0e985ca6
25
26use_parallel_build  yes
27
28test.run            yes
29
30if {${name} ne ${subport}} {
31    post-destroot {
32        set docdir ${prefix}/share/doc/${subport}
33        xinstall -d ${destroot}${docdir} ${destroot}${prefix}/share/examples
34        xinstall -m 644 -W ${worksrcpath} CREDITS README ${destroot}${docdir}
35        copy ${worksrcpath}/examples ${destroot}${prefix}/share/examples/${subport}
36    }
37}
Note: See TracBrowser for help on using the repository browser.