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

(-)www/cntlm/Makefile (-13 / +21 lines)
Lines 2-8 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
Lines 11-33 Link Here
11
11
12
USE_RC_SUBR=	cntlm
12
USE_RC_SUBR=	cntlm
13
HAS_CONFIGURE=	yes
13
HAS_CONFIGURE=	yes
14
USE_GMAKE=	yes
14
ALL_TARGET=	cntlm
15
ALL_TARGET=	cntlm
16
MAKE_JOBS_SAFE=	yes
17
15
MAN1=		cntlm.1
18
MAN1=		cntlm.1
16
19
17
.include <bsd.port.pre.mk>
20
post-extract:
21
	@${LN} -sf cntlm.conf ${WRKSRC}/doc/cntlm.conf.sample
18
22
19
post-patch:
23
post-patch:
20
	@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \
24
	@${REINPLACE_CMD} -e \
21
	    ${WRKSRC}/Makefile
25
		's|^CC=|CC?=| ; \
26
		 s| -Wno-unused-but-set-variable | | ; \
27
		 s| -pedantic | | ; \
28
		 s| -O3 | | ; \
29
		 s|@$$(CC)|$$(CC)|' ${WRKSRC}/Makefile
30
	@${REINPLACE_CMD} -e \
31
		'/exit 1/s|^|#|' ${WRKSRC}/configure
22
32
23
do-install:
33
do-install:
24
	${INSTALL_PROGRAM} ${WRKSRC}/cntlm ${PREFIX}/bin
34
	(cd ${WRKSRC} && ${INSTALL_PROGRAM} cntlm ${PREFIX}/bin)
25
	${INSTALL_DATA} ${WRKSRC}/doc/cntlm.conf ${PREFIX}/etc/cntlm.conf.sample
35
	(cd ${WRKSRC}/doc && ${INSTALL_MAN} cntlm.1 ${MANPREFIX}/man/man1)
26
	${INSTALL_MAN} ${WRKSRC}/doc/cntlm.1 ${PREFIX}/man/man1
36
	(cd ${WRKSRC}/doc && ${INSTALL_DATA} cntlm.conf.sample ${PREFIX}/etc)
27
37
.if !exists(${PREFIX}/etc/cntlm.conf)
28
post-install:
38
	(cd ${PREFIX}/etc && ${CP} -p cntlm.conf.sample cntlm.conf)
29
	@if [ ! -f ${PREFIX}/etc/cntlm.conf ]; then \
39
.endif
30
	    ${CP} -p ${PREFIX}/etc/cntlm.conf.sample ${PREFIX}/etc/cntlm.conf; \
31
	fi
32
40
33
.include <bsd.port.post.mk>
41
.include <bsd.port.mk>
(-)www/cntlm/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 174181