summaryrefslogtreecommitdiff
path: root/www/ap-auth-ldap
diff options
context:
space:
mode:
authorgrant <grant>2003-02-17 22:46:01 +0000
committergrant <grant>2003-02-17 22:46:01 +0000
commit066b6e68c5518c8783c6c9ddb3cd6e184b4cb745 (patch)
treeb8595289d6d160f1b37694a3fa62ff2c196ef23d /www/ap-auth-ldap
parent8178212f8f6506c59e9a15c954c2b8bfdb9c7c4f (diff)
downloadpkgsrc-066b6e68c5518c8783c6c9ddb3cd6e184b4cb745.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"