e2afa97f51
buildlink2.mk files back into the main trunk. This provides sufficient buildlink2 infrastructure to start merging other packages from the buildlink2 branch that have already been converted to use the buildlink2 framework.
44 lines
1.3 KiB
Makefile
44 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.24 2002/08/25 18:39:37 jlam Exp $
|
|
# FreeBSD Id: Makefile,v 1.14 1997/08/28 06:49:06 obrien Exp
|
|
#
|
|
|
|
DISTNAME= socks5-v1_0r2
|
|
PKGNAME= socks5-1.0.2
|
|
WRKSRC= ${WRKDIR}/socks5-v1.0r2
|
|
CATEGORIES= net security
|
|
MASTER_SITES= # empty -- manual fetch needed
|
|
EXTRACT_SUFX= _tar.gz
|
|
|
|
MAINTAINER= ambrisko@ambrisko.roble.com
|
|
HOMEPAGE= http://www.socks.nec.com/reference/socks5.html
|
|
COMMENT= SOCKS v5 application layer gateway and clients
|
|
|
|
CONFLICTS= socks4-[0-9]*
|
|
|
|
RESTRICTED= "no commercial use"
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
|
|
# 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
|
|
|
|
USE_BUILDLINK2= yes
|
|
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}
|
|
LIBS+= -lcrypt
|
|
|
|
post-install:
|
|
${MV} ${PREFIX}/lib/libsocks5_sh.so ${PREFIX}/lib/libsocks5_sh.so.0.0
|
|
${LN} -sf libsocks5_sh.so.0.0 ${PREFIX}/lib/libsocks5_sh.so.0
|
|
${LN} -sf libsocks5_sh.so.0.0 ${PREFIX}/lib/libsocks5_sh.so
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|