pkgsrc/www/ap-auth-pam/Makefile
jlam 1b5734f517 Create a pam.buildlink3.mk file that is used by PAM-using packages.
It includes the correct buildlink3.mk file from either Linux-PAM
(security/PAM) or OpenPAM (security/openpam) and eventually will
support solaris-pam.  pam.buildlink3.mk will:

	* set PAMBASE to the base directory of the PAM files;
	* set PAM_TYPE to the PAM implementation used.

There are two variables that can be used to tweak the selection of
the PAM implementation:

PAM_DEFAULT is a user-settable variable whose value is the default
	PAM implementation to use.

PAM_ACCEPTED is a package-settable list of PAM implementations
	that may be used by the package.

Modify most packages that include PAM/buildlink3.mk to include
pam.buildlink3.mk instead.
2005-01-14 05:15:39 +00:00

29 lines
851 B
Makefile

# $NetBSD: Makefile,v 1.9 2005/01/14 05:15:40 jlam Exp $
DISTNAME= mod_auth_pam-1.0a
PKGNAME= ap-auth-pam-1.0a
CATEGORIES= www
MASTER_SITES= http://pam.sourceforge.net/mod_auth_pam/dist/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://pam.sourceforge.net/mod_auth_pam/
COMMENT= Module to allow Apache authentication using PAM
USE_BUILDLINK3= YES
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"