You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
34b3070336
for pf in */*/Portfile
do
ed -s "$pf" <<-'EOF'
1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
1g/^[[:space:]]*$/d
w
q
EOF
done
48 lines
1.3 KiB
Tcl
48 lines
1.3 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup php 1.1
|
|
|
|
name php-amf
|
|
version 0.9.2
|
|
revision 1
|
|
license PHP
|
|
categories php devel
|
|
platforms darwin
|
|
maintainers ryandesign openmaintainer
|
|
|
|
php.branches 5.3 5.4 5.5 5.6
|
|
php.pecl yes
|
|
php.pecl.name amfext
|
|
php.pecl.prerelease yes
|
|
|
|
description ActionScript Message Format extension
|
|
|
|
long_description \
|
|
Allows to encode and decode PHP data in ActionScript Message Format (AMF) \
|
|
version 0 and 3.
|
|
|
|
checksums md5 c5899ca580f19ef7f057b6ea41c2d236 \
|
|
sha1 f2f40d4ddc4416fa09f17e94ed037f907fd87ec4 \
|
|
rmd160 d55426eb9da3513058fc58db51f5ba35cff831a9
|
|
|
|
if {${name} ne ${subport}} {
|
|
post-extract {
|
|
# DOS to UNIX line endings so we can patch.
|
|
reinplace "s|\r||g" ${worksrcpath}/amf.c
|
|
}
|
|
|
|
patchfiles patch-amf.c.diff
|
|
|
|
configure.args --with-amf
|
|
|
|
use_parallel_build yes
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 644 -W ${worksrcpath} CREDITS ChangeLog LICENSE README \
|
|
${destroot}${docdir}
|
|
}
|
|
}
|