summaryrefslogtreecommitdiff
path: root/www/ap-auth-pam
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-pam
parent8178212f8f6506c59e9a15c954c2b8bfdb9c7c4f (diff)
downloadpkgsrc-066b6e68c5518c8783c6c9ddb3cd6e184b4cb745.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"