aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_ntlm2/Makefile
blob: 422d3b04ca58548d960d876bb130ce244cc7a756 (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
# Created by: Alex "lissyara" Keda <admin@lissyara.su>
# $FreeBSD$

PORTNAME=   mod_ntlm2
PORTVERSION=    0.1
PORTREVISION=   4
CATEGORIES= www
MASTER_SITES=   SF/modntlm/modntlm2/${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX=  ${APACHE_PKGNAMEPREFIX}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    NTLM authentication module for the Apache2 webserver

BUILD_DEPENDS=  smbclient:${PORTSDIR}/${SAMBA_PORT}

SAMBA_PORT?=    net/samba36


USE_APACHE= 22
MAKE_ENV=   APXS=${APXS}

do-install:
    ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
    ${APXS} -i -n 'ntlm' -S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR} ${WRKSRC}/mod_ntlm.la
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_ntlm.so

.include <bsd.port.mk>