summaryrefslogtreecommitdiff
path: root/net/dante/Makefile
blob: 3eb7aeeceead2471b159bb4352c5194fb1010d64 (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
# Ports collection makefile for:  Dante
# Version required:     	  1.1.0
# Date created:			  20 October 1999
# Whom:				  Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#

DISTNAME=	dante-1.1.1-pre1
PKGNAME=	dante-1.1.1
CATEGORIES=	security net
MASTER_SITES=	ftp://ftp.inet.no/pub/socks/ \
		http://www.freenix.no/~anders/ \
		ftp://totem.fix.no/pub/mirrors/misc/

MAINTAINER=	anders@fix.no

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

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
	${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/FAQ ${PREFIX}/share/doc/dante
	@${INSTALL_DATA} ${WRKSRC}/doc/SOCKS4.protocol ${PREFIX}/share/doc/dante

.include <bsd.port.mk>