View | Details | Raw Unified | Return to bug 174789
Collapse All | Expand All

(-)./Makefile (-10 / +14 lines)
Lines 2-33 Link Here
2
# $FreeBSD: head/www/cntlm/Makefile 306069 2012-10-18 13:06:32Z tabthorpe $
2
# $FreeBSD: head/www/cntlm/Makefile 306069 2012-10-18 13:06:32Z tabthorpe $
3
3
4
PORTNAME=	cntlm
4
PORTNAME=	cntlm
5
PORTVERSION=	0.92.2
5
PORTVERSION=	0.92.3
6
CATEGORIES=	www
6
CATEGORIES=	www
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
8
8
9
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	nemysis@gmx.ch
10
COMMENT=	An NTLM / NTLM Session Response / NTLMv2 authenticating HTTP proxy
10
COMMENT=	NTLM / NTLM Session Response / NTLMv2 authenticating HTTP proxy
11
12
LICENSE=	GPLv2
11
13
12
USE_RC_SUBR=	cntlm
14
USE_RC_SUBR=	cntlm
13
HAS_CONFIGURE=	yes
15
HAS_CONFIGURE=	yes
16
USE_GMAKE=	yes
14
ALL_TARGET=	cntlm
17
ALL_TARGET=	cntlm
15
MAN1=		cntlm.1
16
18
17
.include <bsd.port.pre.mk>
19
MAN1=		cntlm.1
18
20
19
post-patch:
21
post-patch:
20
	@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \
22
	@${REINPLACE_CMD} -e 's|DESTDIR=|DESTDIR=${PREFIX}|' \
21
	    ${WRKSRC}/Makefile
23
		-e 's|-Wno-unused-but-set-variable -pedantic -O3||' \
24
		${WRKSRC}/Makefile
22
25
23
do-install:
26
do-install:
24
	${INSTALL_PROGRAM} ${WRKSRC}/cntlm ${PREFIX}/bin
27
	${INSTALL_PROGRAM} ${WRKSRC}/cntlm ${PREFIX}/bin
25
	${INSTALL_DATA} ${WRKSRC}/doc/cntlm.conf ${PREFIX}/etc/cntlm.conf.sample
28
	${INSTALL_DATA} ${WRKSRC}/doc/cntlm.conf ${PREFIX}/etc/cntlm.conf.sample
26
	${INSTALL_MAN} ${WRKSRC}/doc/cntlm.1 ${PREFIX}/man/man1
29
	${INSTALL_MAN} ${WRKSRC}/doc/cntlm.1 ${MAN1PREFIX}/man/man1
27
30
28
post-install:
31
post-install:
29
	@if [ ! -f ${PREFIX}/etc/cntlm.conf ]; then \
32
	@if [ ! -f ${PREFIX}/etc/cntlm.conf ]; then \
30
	    ${CP} -p ${PREFIX}/etc/cntlm.conf.sample ${PREFIX}/etc/cntlm.conf; \
33
		${CP} -p ${PREFIX}/etc/cntlm.conf.sample ${PREFIX}/etc/cntlm.conf; \
31
	fi
34
	fi
32
35
33
.include <bsd.port.post.mk>
36
.include <bsd.port.mk>
37
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (cntlm-0.92.2.tar.gz) = 755c48f620812742e43b5eb421dad763514f0804c0883c8cb55ef5fad2d6a935
1
SHA256 (cntlm-0.92.3.tar.gz) = 9c3ad10924d43f7248df9ecd33cbc033afbd7ea8d9545de0d68a2782fed76298
2
SIZE (cntlm-0.92.2.tar.gz) = 92861
2
SIZE (cntlm-0.92.3.tar.gz) = 93075

Return to bug 174789