mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
61de56d230
PR: 103649 Approved by: maintainer timeout (35 days)
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# Ports collection makefile for: Dante
|
|
# Date created: 20 October 1999
|
|
# Whom: Anders Nordby <anders@fix.no>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dante
|
|
PORTVERSION= 1.1.19
|
|
CATEGORIES= net security
|
|
MASTER_SITES= ftp://ftp.inet.no/pub/socks/ \
|
|
ftp://ftp.nuug.no/pub/anders/distfiles/ \
|
|
http://atreides.freenix.no/~anders/
|
|
|
|
MAINTAINER= anders@FreeBSD.org
|
|
COMMENT= A circuit-level firewall/proxy
|
|
|
|
CONFLICTS= socks5-[0-9]*
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ARGS= --with-socks-conf=${PREFIX}/etc/socks.conf \
|
|
--with-sockd-conf=${PREFIX}/etc/sockd.conf
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
|
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
USE_RC_SUBR= sockd.sh
|
|
|
|
MAN5= sockd.conf.5 socks.conf.5
|
|
MAN8= sockd.8
|
|
|
|
post-install:
|
|
@${INSTALL_DATA} ${WRKSRC}/example/socks.conf ${PREFIX}/etc/socks.conf.example
|
|
@${INSTALL_DATA} ${WRKSRC}/example/sockd.conf ${PREFIX}/etc/sockd.conf.example
|
|
.if !defined(NOPORTDOCS)
|
|
${INSTALL} -d -m 555 ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/README* ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/rfc* ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/SOCKS4.protocol ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/faq.tex ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|