--- 3proxy/Makefile 2015-03-26 02:51:05.000000000 +0300 +++ 3proxy-0.7.1.2/Makefile 2015-04-01 17:27:14.000000000 +0300 @@ -2,8 +2,7 @@ # $FreeBSD: head/net/3proxy/Makefile 382278 2015-03-25 23:51:05Z marino $ PORTNAME= 3proxy -PORTVERSION= 0.6.1 -PORTREVISION= 1 +PORTVERSION= 0.7.1.2 CATEGORIES= net MASTER_SITES= http://3proxy.ru/${PORTVERSION}/ \ http://security.nnov.ru/soft/3proxy/${PORTVERSION}/ @@ -25,6 +24,16 @@ PORTDOCS= Readme +post-extract: + @${MV} ${WRKDIR}/${PORTNAME} ${WRKDIR}/${PORTNAME}-${PORTVERSION} + + +pre-patch: + # Fixing the end-of-lines: + @for f in `${FIND} ${WRKSRC}/.. -type f` ; do \ + ${TR} -d '\r' < $$f > $$f.rmcr && \ + ${CAT} $$f.rmcr > $$f && ${RM} $$f.rmcr; done + post-patch: @${REINPLACE_CMD} -e 's|%%CFLAGS%%|${CFLAGS}|' ${WRKSRC}/${MAKEFILE} --- 3proxy/distinfo 2014-01-22 19:30:13.000000000 +0400 +++ 3proxy-0.7.1.2/distinfo 2015-04-01 17:26:01.000000000 +0300 @@ -1,2 +1,2 @@ -SHA256 (3proxy-0.6.1.tgz) = 10f8804258791e80353a334dc9b80473a02c6dda939de76451e655f643aadd7f -SIZE (3proxy-0.6.1.tgz) = 480160 +SHA256 (3proxy-0.7.1.2.tgz) = e1157aab3ff8215a3b1f35c61a9d6011e60ad38b52d9f74a1fc4cae14ba16a31 +SIZE (3proxy-0.7.1.2.tgz) = 478532 --- 3proxy/pkg-descr 2014-01-22 19:44:51.000000000 +0400 +++ 3proxy-0.7.1.2/pkg-descr 2015-04-01 17:30:22.000000000 +0300 @@ -15,6 +15,6 @@ 3proxy is FreeWare. It can be used under terms of GNU/GPL or under it own license (please read License Agreement). -For licensing or commercial support please e-mail to 3proxy@security.nnov.ru +For licensing or commercial support please e-mail to 3proxy@3proxy.ru -WWW: http://www.security.nnov.ru/soft/3proxy/ +WWW: http://3proxy.ru/