aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_auth_pam2/Makefile
blob: fe57e27f96c92e33c5021900242e15a5e12ca590 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Clement Laforet <sheepkiller@cultdeadsheep.org>
# $FreeBSD$

PORTNAME=   mod_auth_pam
PORTVERSION=    1.1.1
PORTREVISION=   4
CATEGORIES= www
MASTER_SITES=   http://pam.sourceforge.net/mod_auth_pam/dist/
PKGNAMEPREFIX=  ${APACHE_PKGNAMEPREFIX}
PKGNAMESUFFIX=  2
DISTNAME=   ${PORTNAME}-2.0-${PORTVERSION}

MAINTAINER= apache@FreeBSD.org
COMMENT=    Allows users to use PAM modules for user authentication

USE_APACHE= 22+
WRKSRC=     ${WRKDIR}/${PORTNAME}

PORTDOCS=   *.html
PORTEXAMPLES=   pam-httpd.sample

AP_FAST_BUILD=  yes
AP_GENPLIST=    yes

AP_EXTRAS+= -lpam

post-install:
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/samples/httpd ${STAGEDIR}${EXAMPLESDIR}/pam-httpd.sample
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>