svn commit: r330040 - head/www/cntlm
Rusmir Dusko
nemysis at FreeBSD.org
Fri Oct 11 01:40:35 UTC 2013
Author: nemysis
Date: Fri Oct 11 01:40:34 2013
New Revision: 330040
URL: http://svnweb.freebsd.org/changeset/ports/330040
Log:
- Send www/cntlm back to the pool, since I no longer use it
- USES gmake
- Support STAGEDIR
Approved by: wg (mentor)
Modified:
head/www/cntlm/Makefile
head/www/cntlm/pkg-plist (contents, props changed)
Modified: head/www/cntlm/Makefile
==============================================================================
--- head/www/cntlm/Makefile Fri Oct 11 01:18:54 2013 (r330039)
+++ head/www/cntlm/Makefile Fri Oct 11 01:40:34 2013 (r330040)
@@ -6,32 +6,25 @@ PORTVERSION= 0.92.3
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
-MAINTAINER= nemysis at gmx.ch
+MAINTAINER= ports at 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>
Modified: head/www/cntlm/pkg-plist
==============================================================================
--- head/www/cntlm/pkg-plist Fri Oct 11 01:18:54 2013 (r330039)
+++ head/www/cntlm/pkg-plist Fri Oct 11 01:40:34 2013 (r330040)
@@ -1,4 +1,5 @@
- at unexec if cmp -s %D/etc/cntlm.conf.sample %D/etc/cntlm.conf; then rm -f %D/etc/cntlm.conf; fi
bin/cntlm
+ at 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
More information about the svn-ports-all
mailing list