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 |
|