aboutsummaryrefslogtreecommitdiff
path: root/www/mod_auth_pam2/Makefile
blob: e6b9f3d6e24eda56a421af3ee6cfcee97cdf8a9b (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
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
WWW=		http://pam.sourceforge.net/mod_auth_pam/

USES=		apache:2.2+
WRKSRC=		${WRKDIR}/${PORTNAME}

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

AP_FAST_BUILD=	yes
AP_GENPLIST=	yes

AP_EXTRAS+=	-lpam

OPTIONS_DEFINE=	DOCS EXAMPLES

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>