aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_auth_pam/Makefile
blob: 7b5d61c3cfa16700ce41e9a60b87e62488a559b8 (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
34
35
36
37
38
39
40
41
# 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://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>

.if ${OSVERSION} >= 501000
BROKEN=     "Does not compile"
.endif

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.post.mk>