1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00
freebsd-ports/www/mod_auth_pam/Makefile
Will Andrews de03b285db Add mod_auth_pam 1.0a, an apache module which allows users to use PAM
modules for user authentication.

PR:		26301
Submitted by:	Anders Nordby <anders@fix.no>
2001-04-07 04:25:18 +00:00

38 lines
1.1 KiB
Makefile

# New ports collection makefile for: mod_auth_pam
# Date created: 2 April 2001
# Whom: Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#
PORTNAME= mod_auth_pam
PORTVERSION= 1.0a
CATEGORIES= www
MASTER_SITES= http://pam.sourceforge.net/mod_auth_pam/dist/ \
http://www.freenix.no/~anders/
MAINTAINER= anders@fix.no
BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
APXS?= ${LOCALBASE}/sbin/apxs
do-build:
@cd ${WRKSRC} && \
${APXS} -c -lpam mod_auth_pam.c
do-install:
${APXS} -i -A -n auth_pam ${WRKSRC}/mod_auth_pam.so
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/mod_auth_pam
${MKDIR} ${PREFIX}/share/doc/mod_auth_pam/samples
${INSTALL_DATA} ${WRKSRC}/doc/configure.html ${PREFIX}/share/doc/mod_auth_pam/
${INSTALL_DATA} ${WRKSRC}/doc/faq.html ${PREFIX}/share/doc/mod_auth_pam/
${INSTALL_DATA} ${WRKSRC}/samples/dot-htaccess ${PREFIX}/share/doc/mod_auth_pam/samples/
${INSTALL_DATA} ${WRKSRC}/samples/httpd ${PREFIX}/share/doc/mod_auth_pam/samples/
.endif
${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>