source: trunk/dports/php/pear-Inline_C/Portfile

Last change on this file was 126731, checked in by pixilla@…, 3 years ago

php/pear-*:

  • Drop maintainer.
  • 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 126731 2014-10-14 17:51:23Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           pear 1.0
6
7pear.setup          Inline_C 0.1 pear.php.net
8revision            1
9categories-append   net www
10platforms           darwin
11maintainers         nomaintainer
12
13description         PEAR Inline_C package
14long_description    ${description}
15
16checksums           rmd160  8bf21ba99a94930da346d69797f69e4445bdaef3 \
17                    sha256  45abc0d02d2334a4a7c1bf680dc4885b776aaf512d0a014726b681e972a42e41
18
19post-patch {
20    move ${pear.sourceroot}/Inline_C.php.in \
21            ${pear.sourceroot}/Inline_C.php
22    reinplace "s|role=\"php\" ||g" \
23            ${pear.sourceroot}/package.xml
24    reinplace "s|name=\"Inline_C.php.in\"|name=\"Inline_C.php\" role=\"php\"|g" \
25            ${pear.sourceroot}/package.xml
26    reinplace "s|name=\"Inline_C.xml\"|name=\"Inline_C.xml\" role=\"doc\"|g" \
27            ${pear.sourceroot}/package.xml
28    reinplace -E "s|name=\"mkbuildtree\.(\[^\"\]+)\"|name=\"mkbuildtree.\\1\" role=\"doc\"|g" \
29            ${pear.sourceroot}/package.xml
30    reinplace "s|name=\"test.php\"|name=\"test.php\" role=\"test\"|g" \
31            ${pear.sourceroot}/package.xml
32}
Note: See TracBrowser for help on using the repository browser.