diff options
author | nemysis <nemysis@FreeBSD.org> | 2013-10-11 09:40:34 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2013-10-11 09:40:34 +0800 |
commit | 708099e90b311c03e1c0522e561cd7260e83e861 (patch) | |
tree | 777cad1ba1eb56c844b2854fad02e350cbdae41a /www/cntlm | |
parent | 77f60cfede5c6d63c90d621a879ff3d5df42a998 (diff) | |
download | freebsd-ports-gnome-708099e90b311c03e1c0522e561cd7260e83e861.tar.gz freebsd-ports-gnome-708099e90b311c03e1c0522e561cd7260e83e861.tar.zst freebsd-ports-gnome-708099e90b311c03e1c0522e561cd7260e83e861.zip |
- Send www/cntlm back to the pool, since I no longer use it
- USES gmake
- Support STAGEDIR
Approved by: wg (mentor)
Diffstat (limited to 'www/cntlm')
-rw-r--r-- | www/cntlm/Makefile | 19 | ||||
-rw-r--r-- | www/cntlm/pkg-plist | 3 |
2 files changed, 8 insertions, 14 deletions
diff --git a/www/cntlm/Makefile b/www/cntlm/Makefile index edba1f6796db..45b8ee002b17 100644 --- a/www/cntlm/Makefile +++ b/www/cntlm/Makefile @@ -6,32 +6,25 @@ PORTVERSION= 0.92.3 CATEGORIES= www MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION} -MAINTAINER= nemysis@gmx.ch +MAINTAINER= ports@FreeBSD.org COMMENT= NTLM / NTLM Session Response / NTLMv2 authenticating HTTP proxy LICENSE= GPLv2 USE_RC_SUBR= cntlm +USES= gmake HAS_CONFIGURE= yes -USE_GMAKE= yes ALL_TARGET= cntlm -MAN1= cntlm.1 - -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|DESTDIR=|DESTDIR=${PREFIX}|' \ + -e 's|CC=|CC?=|' \ -e 's|-Wno-unused-but-set-variable -pedantic -O3||' \ ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/cntlm ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/doc/cntlm.conf ${PREFIX}/etc/cntlm.conf.sample - ${INSTALL_MAN} ${WRKSRC}/doc/cntlm.1 ${MAN1PREFIX}/man/man1 - -post-install: - @if [ ! -f ${PREFIX}/etc/cntlm.conf ]; then \ - ${CP} -p ${PREFIX}/etc/cntlm.conf.sample ${PREFIX}/etc/cntlm.conf; \ - fi + ${INSTALL_PROGRAM} ${WRKSRC}/cntlm ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_DATA} ${WRKSRC}/doc/cntlm.conf ${STAGEDIR}${PREFIX}/etc/cntlm.conf.sample + ${INSTALL_MAN} ${WRKSRC}/doc/cntlm.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include <bsd.port.mk> diff --git a/www/cntlm/pkg-plist b/www/cntlm/pkg-plist index 2414de48f89c..f89090681b28 100644 --- a/www/cntlm/pkg-plist +++ b/www/cntlm/pkg-plist @@ -1,4 +1,5 @@ -@unexec if cmp -s %D/etc/cntlm.conf.sample %D/etc/cntlm.conf; then rm -f %D/etc/cntlm.conf; fi bin/cntlm +@unexec if cmp -s %D/etc/cntlm.conf.sample %D/etc/cntlm.conf; then rm -f %D/etc/cntlm.conf; fi etc/cntlm.conf.sample @exec if [ ! -f %D/etc/cntlm.conf ]; then cp -p %D/%F %B/cntlm.conf; fi +man/man1/cntlm.1.gz |