mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
61 lines
1.8 KiB
Tcl
61 lines
1.8 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 github 1.0
|
|
PortGroup php 1.1
|
|
|
|
# Note: The developer is an ass. Avoid contact.
|
|
|
|
github.setup videlalvaro mypeb 0.20b
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
name php-peb
|
|
revision 1
|
|
license BSD
|
|
categories-append devel
|
|
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
|
|
|
|
php.branches 5.3 5.4 5.5 5.6
|
|
|
|
description PHP-Erlang Bridge
|
|
|
|
long_description \
|
|
peb (PHP-Erlang Bridge) is an open-source PHP extension to run PHP as an \
|
|
Erlang cnode
|
|
|
|
master_sites googlecode:mypeb
|
|
distname ${php.rootname}-${version}
|
|
|
|
checksums md5 5ccde4b9e8bcd0dc0a420e290941703a \
|
|
sha1 c9c940b79d8b739af95a456a2ad90f93d8ef6982 \
|
|
rmd160 169f7d6bfcb855c45c132db1091fad428f739a30
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append port:erlang
|
|
|
|
# erlang is not universal, but that doesn't need to prevent peb from being universal
|
|
depends_skip_archcheck erlang
|
|
|
|
worksrcdir peb_release
|
|
|
|
patchfiles patch-peb.c.diff
|
|
|
|
pre-configure {
|
|
set ei_dir [glob -directory ${prefix}/lib/erlang/lib/ erl_interface-*/]
|
|
configure.cppflags-append -I${ei_dir}/include
|
|
configure.ldflags-append -L${ei_dir}/lib
|
|
}
|
|
|
|
use_parallel_build yes
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 644 -W ${worksrcpath} CREDITS EXPERIMENTAL LICENSE \
|
|
${destroot}${docdir}
|
|
copy ${worksrcpath}/manual ${destroot}${docdir}/html
|
|
}
|
|
}
|
|
|
|
livecheck.type none
|