aboutsummaryrefslogtreecommitdiff
path: root/net/3proxy/Makefile
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2007-04-13 14:14:05 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2007-04-13 14:14:05 +0000
commit9b62ecac37cb8b8f6286b64886e275a7d9a34f70 (patch)
tree1c0f081fad2c3b698725a05ed40f94390d702fd5 /net/3proxy/Makefile
parentf23bee4711368cf4e34a38e4da773bc26753dc35 (diff)
downloadports-9b62ecac37cb8b8f6286b64886e275a7d9a34f70.tar.gz
ports-9b62ecac37cb8b8f6286b64886e275a7d9a34f70.zip
Notes
Diffstat (limited to 'net/3proxy/Makefile')
-rw-r--r--net/3proxy/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/net/3proxy/Makefile b/net/3proxy/Makefile
index 3173bb7cea62..77fd9f5a4230 100644
--- a/net/3proxy/Makefile
+++ b/net/3proxy/Makefile
@@ -6,17 +6,17 @@
#
PORTNAME= 3proxy
-PORTVERSION= 0.5.2
+PORTVERSION= 0.5.3h
CATEGORIES= net
-MASTER_SITES= http://www.security.nnov.ru/soft/3proxy/${PORTVERSION}/
-DISTNAME= ${PORTNAME}
+MASTER_SITES= http://3proxy.ru/${PORTVERSION}/ \
+ http://security.nnov.ru/soft/3proxy/${PORTVERSION}/
EXTRACT_SUFX= .tgz
MAINTAINER= osa@FreeBSD.org
COMMENT= Proxy servers set (support HTTP(S), FTP, SOCKS, POP3, TCP & UDP)
NO_WRKSUBDIR= yes
-USE_RC_SUBR= yes
+USE_RC_SUBR= 3proxy.sh
MAKEFILE= Makefile.unix
MAKE_ENV= CC="${CC}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
@@ -27,10 +27,6 @@ MAN8= 3proxy.8 ftppr.8 pop3p.8 proxy.8 socks.8 tcppm.8 udppm.8
RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
-post-extract:
- @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- ${FILESDIR}/3proxy.sh.in > ${WRKSRC}/3proxy.sh
-
post-patch:
${REINPLACE_CMD} -e "s|%%CFLAGS%%|${CFLAGS}|" \
${WRKDIR}/Makefile.unix
@@ -40,7 +36,6 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${i} ${PREFIX}/bin/
.endfor
${INSTALL_DATA} ${WRKSRC}/cfg/3proxy.cfg.sample ${PREFIX}/etc
- ${INSTALL_SCRIPT} ${WRKSRC}/3proxy.sh ${PREFIX}/etc/rc.d/
${INSTALL_MAN} ${WRKSRC}/man/${MAN3} ${PREFIX}/man/man3
.for i in ${MAN8}
${INSTALL_MAN} ${WRKSRC}/man/${i} ${PREFIX}/man/man8