diff options
author | explorer <explorer> | 1999-05-15 20:07:54 +0000 |
---|---|---|
committer | explorer <explorer> | 1999-05-15 20:07:54 +0000 |
commit | eefc26a4ebd6b26cc5f2bc1dca90f256535a924a (patch) | |
tree | 34bc3447a96a3ccd6aa5ca2f359b606dcc98f8ed /www/php3-pgsql | |
parent | 59151219bbe19a52ebc370bfad067ba153ac3f65 (diff) | |
download | pkgsrc-eefc26a4ebd6b26cc5f2bc1dca90f256535a924a.tar.gz |
php3 postgresql package
Diffstat (limited to 'www/php3-pgsql')
-rw-r--r-- | www/php3-pgsql/Makefile | 20 | ||||
-rw-r--r-- | www/php3-pgsql/pkg/COMMENT | 1 | ||||
-rw-r--r-- | www/php3-pgsql/pkg/DESCR | 2 | ||||
-rw-r--r-- | www/php3-pgsql/pkg/PLIST | 2 |
4 files changed, 25 insertions, 0 deletions
diff --git a/www/php3-pgsql/Makefile b/www/php3-pgsql/Makefile new file mode 100644 index 00000000000..e6327eeaedc --- /dev/null +++ b/www/php3-pgsql/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/05/15 20:07:54 explorer Exp $ +# + +PKGNAME= php-pgsql-${PHP_VERSION} + +DEPENDS+= postgresql-6.4.2:../../databases/postgresql + +CONFIGURE_ARGS+=--with-pgsql=/usr/pkg/pgsql + +BUILDING_EXTENSION_MODULE=yes + +do-build: + cd ${WRKSRC}/functions && \ + ${COMPILE.c} -I.. -I. -I${LOCALBASE}/pgsql/include -fPIC -DPIC -DCOMPILE_DL pgsql.c && \ + ld -Bshareable -o pgsql.so pgsql.o -L${LOCALBASE}/pgsql/lib -R${LOCALBASE}/pgsql/lib -lpq + +do-install: + ${INSTALL_DATA} ${WRKSRC}/functions/pgsql.so ${PREFIX}/lib/php3/ + +.include "../php3/Makefile" diff --git a/www/php3-pgsql/pkg/COMMENT b/www/php3-pgsql/pkg/COMMENT new file mode 100644 index 00000000000..812cae122b3 --- /dev/null +++ b/www/php3-pgsql/pkg/COMMENT @@ -0,0 +1 @@ +PHP3 extension for PostgreSQL databases diff --git a/www/php3-pgsql/pkg/DESCR b/www/php3-pgsql/pkg/DESCR new file mode 100644 index 00000000000..5ec666735fc --- /dev/null +++ b/www/php3-pgsql/pkg/DESCR @@ -0,0 +1,2 @@ +PHP is a programming language designed to be embedded into web pages. +This module provides access to PostgreSQL databases. diff --git a/www/php3-pgsql/pkg/PLIST b/www/php3-pgsql/pkg/PLIST new file mode 100644 index 00000000000..f9f3020b5cd --- /dev/null +++ b/www/php3-pgsql/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/05/15 20:07:54 explorer Exp $ +lib/php3/pgsql.so |