7cfe69b584
Valid ARGS: build, env, lib, run (default: build,run) - Add SAMBA_DEFAULT to bsd.default-versions.mk (default: 4.3) - Remove obsolete samba36 ports - Modify samba4x ports to install libsmbclient - Convert the ports tree to USES=samba Reviewed by: mat Differential Revision: https://reviews.freebsd.org/D8919
24 lines
649 B
Makefile
24 lines
649 B
Makefile
# 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
|
|
|
|
USES= samba:build
|
|
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>
|