summaryrefslogtreecommitdiff
path: root/www/ap-auth-pam/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/ap-auth-pam/Makefile')
-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"