aboutsummaryrefslogtreecommitdiffstats
path: root/net/dante/Makefile
blob: cef4e60b77c4b971b5cbc91b4d1badf84f5745d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Ports collection makefile for:  Dante
# Date created:           20 October 1999
# Whom:               Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#

PORTNAME=   dante
PORTVERSION=    1.1.13
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

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-socks-conf=${PREFIX}/etc/socks.conf \
        --with-sockd-conf=${PREFIX}/etc/sockd.conf

INSTALLS_SHLIB= yes

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 ${PREFIX}/share/doc/dante
    @${INSTALL_DATA} ${WRKSRC}/doc/README* ${PREFIX}/share/doc/dante
    @${INSTALL_DATA} ${WRKSRC}/doc/rfc* ${PREFIX}/share/doc/dante
    @${INSTALL_DATA} ${WRKSRC}/doc/SOCKS4.protocol ${PREFIX}/share/doc/dante
    @${INSTALL_DATA} ${WRKSRC}/doc/faq.tex ${PREFIX}/share/doc/dante
.endif

.include <bsd.port.mk>