freebsd-ports/www/mod_auth_pam/Makefile
Anders Nordby 72b1f5a129 Update to 1.1.1.
DOCSDIRify.

PR:		58635
Submitted by:	clement
2004-06-03 11:59:23 +00:00

36 lines
937 B
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.1.1
CATEGORIES= www
MASTER_SITES= http://pam.sourceforge.net/mod_auth_pam/dist/ \
http://atreides.freenix.no/~anders/
MAINTAINER= anders@FreeBSD.org
COMMENT= Allows users to use PAM modules for user authentication
USE_APACHE= yes
.include <bsd.port.pre.mk>
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} -p -m 0755 ${DOCSDIR}/samples
${INSTALL_DATA} ${WRKSRC}/doc/configure.txt ${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/doc/faq.txt ${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/samples/dot-htaccess ${DOCSDIR}/samples/
${INSTALL_DATA} ${WRKSRC}/samples/httpd- ${DOCSDIR}/samples/httpd
.endif
${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>