summaryrefslogtreecommitdiff
path: root/www/ap-auth-pam
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-pam
parent0308c366f3f2f095725a0e08936b828c9d2b3f00 (diff)
downloadpkgsrc-e2d4eac84308f8d5d36783b1b2d148bd1c859f23.tar.gz
use apache/module.mk.
Diffstat (limited to 'www/ap-auth-pam')
-rw-r--r--www/ap-auth-pam/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/www/ap-auth-pam/Makefile b/www/ap-auth-pam/Makefile
index 4485053854a..f86c42d8848 100644
--- a/www/ap-auth-pam/Makefile
+++ b/www/ap-auth-pam/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2002/08/25 21:51:45 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2003/02/17 22:49:57 grant Exp $
DISTNAME= mod_auth_pam-1.0a
PKGNAME= ap-auth-pam-1.0a
@@ -10,22 +10,19 @@ HOMEPAGE= http://pam.sourceforge.net/mod_auth_pam/
COMMENT= module to allow Apache authentication using PAM
USE_BUILDLINK2= YES
-APACHE_MODULE= YES
-LIBS+= -lpam
+APACHE_MODULE_NAME= mod_auth_pam.so
+LDFLAGS+= -lpam
+
EGDIR= ${PREFIX}/share/examples/mod_auth_pam
HTMLDIR= ${PREFIX}/share/doc/html/mod_auth_pam
-do-build:
- cd ${WRKSRC}; ${APXS} -c $(CPPFLAGS) $(LDFLAGS) $(LIBS) mod_auth_pam.c
-
-do-install:
- @cd ${WRKSRC}; ${APXS} -i mod_auth_pam.so
+post-install:
${INSTALL_DATA_DIR} ${EGDIR} ${HTMLDIR}
${INSTALL_DATA} ${WRKSRC}/samples/httpd ${EGDIR}/httpd.pam
${INSTALL_DATA} ${WRKSRC}/doc/configure.html ${HTMLDIR}
${INSTALL_DATA} ${WRKSRC}/doc/faq.html ${HTMLDIR}
.include "../../security/PAM/buildlink2.mk"
-.include "../../www/apache/buildlink2.mk"
+.include "../../www/apache/module.mk"
.include "../../mk/bsd.pkg.mk"