diff options
author | tv <tv@pkgsrc.org> | 1999-05-04 00:09:39 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 1999-05-04 00:09:39 +0000 |
commit | fbdecff8f09cbe25732cad4a35e12b8774dc8521 (patch) | |
tree | 5484a8b83c324c40d79cc9599e68246c0f118c7c /www/php3-ldap | |
parent | 72a191db1c236b672c5b86978616b022bfd9a510 (diff) | |
download | pkgsrc-fbdecff8f09cbe25732cad4a35e12b8774dc8521.tar.gz |
PHP3 module for LDAP access, builds on top of OpenLDAP.
Diffstat (limited to 'www/php3-ldap')
-rw-r--r-- | www/php3-ldap/Makefile | 20 | ||||
-rw-r--r-- | www/php3-ldap/pkg/COMMENT | 1 | ||||
-rw-r--r-- | www/php3-ldap/pkg/DESCR | 2 | ||||
-rw-r--r-- | www/php3-ldap/pkg/PLIST | 2 |
4 files changed, 25 insertions, 0 deletions
diff --git a/www/php3-ldap/Makefile b/www/php3-ldap/Makefile new file mode 100644 index 00000000000..b406937e229 --- /dev/null +++ b/www/php3-ldap/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/05/04 00:09:39 tv Exp $ +# + +PKGNAME= php-ldap-${PHP_VERSION} + +DEPENDS+= openldap-1.2.1p1:../../databases/openldap + +CONFIGURE_ARGS+=--with-ldap=/usr/pkg + +BUILDING_EXTENSION_MODULE=yes + +do-build: + cd ${WRKSRC}/functions && \ + ${COMPILE.c} -I.. -I. -I${LOCALBASE}/include -fPIC -DPIC -DCOMPILE_DL ldap.c && \ + ld -Bshareable -o ldap.so ldap.o -L${LOCALBASE}/lib -R${LOCALBASE}/lib -lldap -llber + +do-install: + ${INSTALL_DATA} ${WRKSRC}/functions/ldap.so ${PREFIX}/lib/php3/ + +.include "../php3/Makefile" diff --git a/www/php3-ldap/pkg/COMMENT b/www/php3-ldap/pkg/COMMENT new file mode 100644 index 00000000000..9abc27e6731 --- /dev/null +++ b/www/php3-ldap/pkg/COMMENT @@ -0,0 +1 @@ +PHP3 extension for LDAP databases diff --git a/www/php3-ldap/pkg/DESCR b/www/php3-ldap/pkg/DESCR new file mode 100644 index 00000000000..66aabece2a8 --- /dev/null +++ b/www/php3-ldap/pkg/DESCR @@ -0,0 +1,2 @@ +PHP is a programming language designed to be embedded into web pages. +This module provides access to LDAP databases. diff --git a/www/php3-ldap/pkg/PLIST b/www/php3-ldap/pkg/PLIST new file mode 100644 index 00000000000..4df93d6609b --- /dev/null +++ b/www/php3-ldap/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/05/04 00:09:39 tv Exp $ +lib/php3/ldap.so |