freebsd-ports/net/csocks/Makefile
Sergey Matveychuk 10a8b47b6d - Update to 1.5
* Switch from binaries to source code.
  * Install csocks.conf.sample instead of csocks.conf. It prevents users
  from lost they configs.
  * Add an experimental IPv6 support.

PR:		ports/120866
Submitted by:	maintainer
2008-02-21 09:00:12 +00:00

36 lines
1.1 KiB
Makefile

# New ports collection makefile for: csocks
# Date created: 06 August 2007
# Whom: Raffaele De Lorenzo - raffaele.delorenzo@libero.it
# $FreeBSD$
PORTNAME= csocks
PORTVERSION= 1.5
CATEGORIES= net security
MASTER_SITES= http://csocks.altervista.org/download/ \
http://csocks.virtuale.org/download/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= raffaele.delorenzo@libero.it
COMMENT= SOCKS Client v4/v5 RFC Compliant with many features
ONLY_FOR_ARCHS= i386
PLIST_FILES= etc/csocks.conf.sample lib/libcsocks.so lib/libcsocks.so.1 bin/csocks
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}/src/libcsocks.so.1 ${PREFIX}/lib/
${LN} -fs ${PREFIX}/lib/libcsocks.so.1 ${PREFIX}/lib/libcsocks.so
${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>