1996-04-24 01:09:41 -04:00
# New ports collection makefile for: socks5
# Date created: 24 Apr 1996
# Whom: pst
#
1999-08-30 10:24:37 -04:00
# $FreeBSD$
1996-04-24 01:09:41 -04:00
#
2000-04-09 14:14:07 -04:00
PORTNAME = socks5
2000-08-30 15:43:28 -04:00
PORTVERSION = 1.0.11
2001-05-17 03:34:47 -04:00
PORTREVISION = 2
1996-11-18 06:44:27 -05:00
CATEGORIES = net security
2000-08-30 15:43:28 -04:00
DISTNAME = socks5-v1.0r11
1996-04-24 01:09:41 -04:00
2001-01-03 17:38:34 -05:00
MAINTAINER = ports@freebsd.org
1996-04-24 14:31:23 -04:00
1996-12-08 04:48:59 -05:00
NO_CDROM = "NEC has a funky license for this software"
RESTRICTED = "no commercial use"
1996-04-24 01:09:41 -04:00
# here are some extra configure args you may wish to use
# see the readme file before screwing with them
#
#EXTRA_CONFIGURE_ARGS= \
# --with-default-server=socks.mydomain.com \
# --with-syslog-facility=LOG_AUTH \
# --with-passwd
1998-07-12 17:26:50 -04:00
WRKSRC = ${ WRKDIR } /${ DISTNAME }
2000-06-16 17:52:40 -04:00
INSTALLS_SHLIB = yes
1996-04-24 01:09:41 -04:00
GNU_CONFIGURE = yes
CONFIGURE_ARGS = --with-libconffile= ${ PREFIX } /etc/libsocks5.conf \
--with-srvconffile= ${ PREFIX } /etc/socks5.conf \
--with-srvpidfile= /var/run/socks5.pid \
--with-srvidtfile= /var/run/socks5.ident \
${ EXTRA_CONFIGURE_ARGS }
1997-08-28 02:49:07 -04:00
MAN1 = runsocks.1 socks5.1 stopsocks.1 socks5_clients.1
2001-05-17 03:34:47 -04:00
MAN5 = libsocks5.conf.5 socks5.conf.5 socks5.passwd.5
2001-04-20 14:39:54 -04:00
CONFIGURE_ENV = LIBS = -lcrypt
2001-05-17 03:34:47 -04:00
. i f ! d e f i n e d ( N O P O R T D O C S )
post-install :
@${ MKDIR } ${ PREFIX } /share/examples/socks5
${ INSTALL_DATA } ${ WRKSRC } /examples/* ${ PREFIX } /share/examples/socks5
@${ MKDIR } ${ PREFIX } /share/doc/socks5
${ INSTALL_DATA } ${ WRKSRC } /doc/* ${ PREFIX } /share/doc/socks5
. e n d i f
2001-04-20 14:39:54 -04:00
. i n c l u d e < b s d . p o r t . p r e . m k >
1996-04-24 01:09:41 -04:00
2001-03-19 14:14:32 -05:00
. i f ! e x i s t s ( $ { D I S T D I R } / $ { D I S T N A M E } $ { E X T R A C T _ S U F X } )
2001-04-20 14:39:54 -04:00
IGNORE = " NEC requires that you grab the dist files from their web site at http://www.socks.nec.com/cgi-bin/download.pl . Please make sure you have ${ DISTNAME } ${ EXTRACT_SUFX } in ${ DISTDIR } and run make again "
2001-03-19 14:14:32 -05:00
. e n d i f
1998-07-12 17:26:50 -04:00
2001-04-20 14:39:54 -04:00
. i n c l u d e < b s d . p o r t . p o s t . m k >