@comment PKG_FORMAT_REVISION:1.1
@name php5-pgsql-5.4.5
@comment ORIGIN:databases/php5-pgsql
@cwd /usr/local
@pkgdep expat-2.0.1_2
@comment DEPORIGIN:textproc/expat2
@pkgdep perl-5.16.0
@comment DEPORIGIN:lang/perl5.16
@pkgdep pkgconf-0.8.5
@comment DEPORIGIN:devel/pkgconf
@pkgdep pcre-8.31
@comment DEPORIGIN:devel/pcre
@pkgdep gdbm-1.9.1
@comment DEPORIGIN:databases/gdbm
@pkgdep db42-4.2.52_5
@comment DEPORIGIN:databases/db42
@pkgdep libiconv-1.14
@comment DEPORIGIN:converters/libiconv
@pkgdep libxml2-2.7.8_3
@comment DEPORIGIN:textproc/libxml2
@pkgdep apr-ipv6-devrandom-gdbm-db42-1.4.5.1.3.12_1
@comment DEPORIGIN:devel/apr1
@pkgdep apache-2.2.22_5
@comment DEPORIGIN:www/apache22
@pkgdep php5-5.4.5
@comment DEPORIGIN:lang/php5
@pkgdep gettext-0.18.1.1
@comment DEPORIGIN:devel/gettext
@pkgdep postgresql-client-9.1.4
@comment DEPORIGIN:databases/postgresql91-client
share/licenses/php5-pgsql-5.4.5/catalog.mk
@comment MD5:478782c1a6ee220f5eeda4a7373d5c59
share/licenses/php5-pgsql-5.4.5/LICENSE
@comment MD5:4ac5d13752ad01375a53f8eb19eb4df0
share/licenses/php5-pgsql-5.4.5/PHP301
@comment MD5:cb564efdf78cce8ea6e4b5a4f7c05d97
@cwd 
@dirrm share/licenses/php5-pgsql-5.4.5
@unexec rmdir %D/share/licenses 2>/dev/null || true
lib/php/20100525/pgsql.so
@comment MD5:98e8f78a44b0fad27df948d1708e346f
@unexec rmdir %D/lib/php/20100525 2> /dev/null || true
include/php/ext/pgsql/config.h
@comment MD5:d33c0647e5707ed4cbfecf3d259bcd3a
include/php/ext/pgsql/php_pgsql.h
@comment MD5:3a48009f849cf75d4ee37991e2608a44
@dirrm include/php/ext/pgsql
@exec echo \#include \"ext/pgsql/config.h\" >> %D/include/php/ext/php_config.h
@unexec cp %D/include/php/ext/php_config.h %D/include/php/ext/php_config.h.orig
@unexec grep -v ext/pgsql/config.h %D/include/php/ext/php_config.h.orig > %D/include/php/ext/php_config.h || true
@unexec rm %D/include/php/ext/php_config.h.orig
@exec mkdir -p %D/etc/php
@exec echo extension=pgsql.so >> %D/etc/php/extensions.ini
@unexec cp %D/etc/php/extensions.ini %D/etc/php/extensions.ini.orig
@unexec grep -v extension=pgsql\\.so %D/etc/php/extensions.ini.orig > %D/etc/php/extensions.ini || true
@unexec rm %D/etc/php/extensions.ini.orig
@unexec [ -s %D/etc/php/extensions.ini ] || rm %D/etc/php/extensions.ini
@unexec rmdir %D/etc/php 2> /dev/null || true
