2012-10-18 13:06:32 +00:00
|
|
|
# Created by: Antony Mawer <ports@mawer.org>
|
2009-07-27 22:30:32 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= cntlm
|
2012-12-29 06:46:19 +00:00
|
|
|
PORTVERSION= 0.92.3
|
2009-07-27 22:30:32 +00:00
|
|
|
CATEGORIES= www
|
2009-08-22 00:38:34 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
|
2009-07-27 22:30:32 +00:00
|
|
|
|
2012-12-29 06:46:19 +00:00
|
|
|
MAINTAINER= nemysis@gmx.ch
|
|
|
|
COMMENT= NTLM / NTLM Session Response / NTLMv2 authenticating HTTP proxy
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
2009-07-27 22:30:32 +00:00
|
|
|
|
|
|
|
USE_RC_SUBR= cntlm
|
|
|
|
HAS_CONFIGURE= yes
|
2012-12-29 06:46:19 +00:00
|
|
|
USE_GMAKE= yes
|
2009-07-27 22:30:32 +00:00
|
|
|
ALL_TARGET= cntlm
|
|
|
|
|
2012-12-29 06:46:19 +00:00
|
|
|
MAN1= cntlm.1
|
2009-07-27 22:30:32 +00:00
|
|
|
|
2013-09-20 23:36:50 +00:00
|
|
|
NO_STAGE= yes
|
2009-07-27 22:30:32 +00:00
|
|
|
post-patch:
|
2012-12-29 06:46:19 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|DESTDIR=|DESTDIR=${PREFIX}|' \
|
|
|
|
-e 's|-Wno-unused-but-set-variable -pedantic -O3||' \
|
|
|
|
${WRKSRC}/Makefile
|
2009-07-27 22:30:32 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cntlm ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/cntlm.conf ${PREFIX}/etc/cntlm.conf.sample
|
2012-12-29 06:46:19 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/cntlm.1 ${MAN1PREFIX}/man/man1
|
2009-07-27 22:30:32 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@if [ ! -f ${PREFIX}/etc/cntlm.conf ]; then \
|
2012-12-29 06:46:19 +00:00
|
|
|
${CP} -p ${PREFIX}/etc/cntlm.conf.sample ${PREFIX}/etc/cntlm.conf; \
|
2009-07-27 22:30:32 +00:00
|
|
|
fi
|
|
|
|
|
2012-12-29 06:46:19 +00:00
|
|
|
.include <bsd.port.mk>
|