2007-09-08 05:42:43 +00:00
|
|
|
# New ports collection makefile for: csocks
|
|
|
|
# Date created: 06 August 2007
|
|
|
|
# Whom: Raffaele De Lorenzo - raffaele.delorenzo@libero.it
|
2009-07-01 23:24:05 +00:00
|
|
|
#
|
2007-09-08 05:42:43 +00:00
|
|
|
# $FreeBSD$
|
2009-07-01 23:24:05 +00:00
|
|
|
#
|
2007-09-08 05:42:43 +00:00
|
|
|
|
|
|
|
PORTNAME= csocks
|
2008-02-21 09:00:12 +00:00
|
|
|
PORTVERSION= 1.5
|
2007-09-08 05:42:43 +00:00
|
|
|
CATEGORIES= net security
|
2007-12-15 20:49:08 +00:00
|
|
|
MASTER_SITES= http://csocks.altervista.org/download/ \
|
|
|
|
http://csocks.virtuale.org/download/
|
2007-09-08 05:42:43 +00:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= raffaele.delorenzo@libero.it
|
|
|
|
COMMENT= SOCKS Client v4/v5 RFC Compliant with many features
|
|
|
|
|
2008-02-21 09:00:12 +00:00
|
|
|
PLIST_FILES= etc/csocks.conf.sample lib/libcsocks.so lib/libcsocks.so.1 bin/csocks
|
2007-09-08 05:42:43 +00:00
|
|
|
|
2008-02-21 09:00:12 +00:00
|
|
|
WRKSRC= ${WRKDIR}/src
|
2007-09-08 05:42:43 +00:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
MAN1= csocks.1
|
|
|
|
MAN5= csocks.conf.5
|
|
|
|
MANCOMPRESSED= yes
|
|
|
|
|
2008-02-21 09:00:12 +00:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} "s#/usr/local#${PREFIX}#" ${WRKDIR}/src/Makefile
|
|
|
|
|
2007-09-08 05:42:43 +00:00
|
|
|
do-install:
|
2008-02-21 09:00:12 +00:00
|
|
|
${CP} -p ${WRKDIR}/src/libcsocks.so.1 ${PREFIX}/lib/
|
2007-09-08 05:42:43 +00:00
|
|
|
${LN} -fs ${PREFIX}/lib/libcsocks.so.1 ${PREFIX}/lib/libcsocks.so
|
2008-02-21 09:00:12 +00:00
|
|
|
${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
|
2009-07-01 23:24:05 +00:00
|
|
|
|
2007-09-08 05:42:43 +00:00
|
|
|
.include <bsd.port.mk>
|