summaryrefslogtreecommitdiff
path: root/www/ap-auth-ldap
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-02-17 22:46:01 +0000
committergrant <grant@pkgsrc.org>2003-02-17 22:46:01 +0000
commite2d4eac84308f8d5d36783b1b2d148bd1c859f23 (patch)
treeb8595289d6d160f1b37694a3fa62ff2c196ef23d /www/ap-auth-ldap
parent0308c366f3f2f095725a0e08936b828c9d2b3f00 (diff)
downloadpkgsrc-e2d4eac84308f8d5d36783b1b2d148bd1c859f23.tar.gz
use apache/module.mk.
Diffstat (limited to 'www/ap-auth-ldap')
-rw-r--r--www/ap-auth-ldap/Makefile20
1 files changed, 7 insertions, 13 deletions
diff --git a/www/ap-auth-ldap/Makefile b/www/ap-auth-ldap/Makefile
index 419e356721f..d0a87ad1f83 100644
--- a/www/ap-auth-ldap/Makefile
+++ b/www/ap-auth-ldap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2002/10/08 23:48:21 jlam Exp $
+# $NetBSD: Makefile,v 1.16 2003/02/17 22:46:01 grant Exp $
DISTNAME= auth_ldap-1.6.0
PKGNAME= ap-auth-ldap-1.6.0
@@ -12,17 +12,11 @@ COMMENT= Module to allow apache authentication against an LDAP directory
USE_BUILDLINK2= # defined
-do-build:
- @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${APXS} -c \
- -DWITH_OPENLDAP \
- -I${BUILDLINK_PREFIX.openldap}/include \
- -L${BUILDLINK_PREFIX.openldap}/lib \
- -Wl,-R${BUILDLINK_PREFIX.openldap}/lib -lldap -llber \
- auth_ldap.c auth_ldap_cache.c auth_ldap_cache_mgr.c \
- auth_ldap_config.c
-
-do-install:
- @cd ${WRKSRC} && ${APXS} -i auth_ldap.so
+APACHE_MODULE_NAME= auth_ldap.so
+CPPFLAGS+= -DWITH_OPENLDAP
+LDFLAGS+= -lldap -llber
+
+post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_auth_ldap
${INSTALL_DATA} ${WRKSRC}/FAQ.html \
${PREFIX}/share/doc/mod_auth_ldap
@@ -34,6 +28,6 @@ do-install:
BUILDLINK_DEPMETHOD.apache= full
.include "../../databases/openldap/buildlink2.mk"
-.include "../../www/apache/buildlink2.mk"
+.include "../../www/apache/module.mk"
.include "../../mk/bsd.pkg.mk"