337c6b1297
all PEAR packages to php?-pear-* and all Apache packages to ap13-* or ap2-* respectively. Add new variables to simplify the Makefile handling. Add CONFLICTS on the old names. Reset revisions of bumped packages. ap-php will now depend on the default Apache and PHP version. All programs using it have an implicit option of the Apache version as well. OK from jlam@ and adrianp@.
29 lines
869 B
Makefile
29 lines
869 B
Makefile
# $NetBSD: Makefile,v 1.14 2006/06/02 18:27:58 joerg Exp $
|
|
|
|
DISTNAME= mod_auth_pam-1.0a
|
|
PKGNAME= ap13-auth-pam-1.0a
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://pam.sourceforge.net/mod_auth_pam/dist/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://pam.sourceforge.net/mod_auth_pam/
|
|
COMMENT= Module to allow Apache authentication using PAM
|
|
|
|
CONFLICTS= ap-auth-pam-[0-9]*
|
|
|
|
APACHE_MODULE_NAME= mod_auth_pam.so
|
|
LDFLAGS+= -lpam
|
|
|
|
EGDIR= ${PREFIX}/share/examples/mod_auth_pam
|
|
HTMLDIR= ${PREFIX}/share/doc/html/mod_auth_pam
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
${INSTALL_DATA_DIR} ${HTMLDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/samples/httpd ${EGDIR}/httpd.pam
|
|
${INSTALL_DATA} ${WRKSRC}/doc/configure.html ${HTMLDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/faq.html ${HTMLDIR}
|
|
|
|
.include "../../www/apache/module.mk"
|
|
.include "../../mk/pam.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|