aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/csocks/Makefile20
-rw-r--r--net/csocks/distinfo6
2 files changed, 14 insertions, 12 deletions
diff --git a/net/csocks/Makefile b/net/csocks/Makefile
index b31918b28393..75f640b34353 100644
--- a/net/csocks/Makefile
+++ b/net/csocks/Makefile
@@ -4,7 +4,7 @@
# $FreeBSD$
PORTNAME= csocks
-PORTVERSION= 1.1
+PORTVERSION= 1.5
CATEGORIES= net security
MASTER_SITES= http://csocks.altervista.org/download/ \
http://csocks.virtuale.org/download/
@@ -15,20 +15,22 @@ COMMENT= SOCKS Client v4/v5 RFC Compliant with many features
ONLY_FOR_ARCHS= i386
-PLIST_FILES= etc/csocks.conf lib/libcsocks.so lib/libcsocks.so.1 bin/csocks
+PLIST_FILES= etc/csocks.conf.sample lib/libcsocks.so lib/libcsocks.so.1 bin/csocks
-NO_BUILD= yes
-WRKSRC= ${WRKDIR}/${DISTNAME}
+WRKSRC= ${WRKDIR}/src
USE_LDCONFIG= yes
MAN1= csocks.1
MAN5= csocks.conf.5
MANCOMPRESSED= yes
+post-patch:
+ ${REINPLACE_CMD} "s#/usr/local#${PREFIX}#" ${WRKDIR}/src/Makefile
+
do-install:
- ${CP} -p ${WRKDIR}/${DISTNAME}/freebsd/libcsocks.so.1 ${PREFIX}/lib/
+ ${CP} -p ${WRKDIR}/src/libcsocks.so.1 ${PREFIX}/lib/
${LN} -fs ${PREFIX}/lib/libcsocks.so.1 ${PREFIX}/lib/libcsocks.so
- ${CP} -p ${WRKDIR}/${DISTNAME}/freebsd/csocks ${PREFIX}/bin
- ${CP} -p ${WRKDIR}/${DISTNAME}/freebsd/csocks.conf ${PREFIX}/etc/
- ${CP} -p ${WRKDIR}/${DISTNAME}/man/csocks.1.gz ${MANPREFIX}/man/man1
- ${CP} -p ${WRKDIR}/${DISTNAME}/man/csocks.conf.5.gz ${MANPREFIX}/man/man5
+ ${CP} -p ${WRKDIR}/freebsd/csocks ${PREFIX}/bin
+ ${CP} -p ${WRKDIR}/csocks.conf ${PREFIX}/etc/csocks.conf.sample
+ ${CP} -p ${WRKDIR}/man/csocks.1.gz ${MANPREFIX}/man/man1
+ ${CP} -p ${WRKDIR}/man/csocks.conf.5.gz ${MANPREFIX}/man/man5
.include <bsd.port.mk>
diff --git a/net/csocks/distinfo b/net/csocks/distinfo
index 964a9476cdc1..f551837e3b4a 100644
--- a/net/csocks/distinfo
+++ b/net/csocks/distinfo
@@ -1,3 +1,3 @@
-MD5 (csocks_1.1.tar.gz) = 0a5ed6a295885d8024517203ed874fa1
-SHA256 (csocks_1.1.tar.gz) = ec1a2ffd28b0f2cbe23c54339a719b93290a0f977e2f666aec85983e26ffdc68
-SIZE (csocks_1.1.tar.gz) = 57672
+MD5 (csocks_1.5.tar.gz) = e029272657074ca2506cd8ac6b65752d
+SHA256 (csocks_1.5.tar.gz) = 1708876017790bd62c8485d95d61dc85d1f9cbf4dcde6d0bc72a8c8968a8adf1
+SIZE (csocks_1.5.tar.gz) = 28604