mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
42 lines
1.4 KiB
Tcl
42 lines
1.4 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup php 1.1
|
|
|
|
name php-svn
|
|
version 1.0.3
|
|
categories-append devel
|
|
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
|
|
license PHP-3.01
|
|
|
|
php.branches 5.3 5.4 5.5 5.6
|
|
php.pecl yes
|
|
|
|
description PHP bindings for Subversion
|
|
|
|
long_description ${description}
|
|
|
|
checksums rmd160 fb7a7c33ab6609c0802055332a725f72931e3e55 \
|
|
sha256 8ccf1dd78b92649486d1875102ecb899c1e4e5ddf674f2d87adf611c16295089
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib-append port:subversion
|
|
|
|
patchfiles patch-hook_emailcommit.php
|
|
|
|
post-patch {
|
|
reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/examples/hook_emailcommit.php
|
|
}
|
|
|
|
configure.args-append --with-svn=${prefix} \
|
|
--with-svn-apr=${prefix}/bin/apr-1-config
|
|
|
|
# error: "for" loop initial declaration used outside C99 mode
|
|
configure.cflags-append -std=c99
|
|
|
|
post-destroot {
|
|
xinstall -d ${destroot}${prefix}/share/examples
|
|
copy ${worksrcpath}/examples ${destroot}${prefix}/share/examples/${subport}
|
|
}
|
|
}
|