summaryrefslogtreecommitdiff
path: root/net/dante/Makefile
blob: d700cbfe4c948db0afa6c771ed68a6c204f4848e (plain)
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
# $NetBSD: Makefile,v 1.28 2020/01/26 17:31:48 rillig Exp $

DISTNAME=	dante-1.4.2
PKGREVISION=	1
CATEGORIES=	net security
MASTER_SITES=	http://www.inet.no/dante/files/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://www.inet.no/dante/
COMMENT=	BSD-licensed socks 4/5 proxy suite
LICENSE=	modified-bsd

CONFLICTS=	socks4-[0-9]*

USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-socks-conf=${PKG_SYSCONFDIR}/socks.conf
CONFIGURE_ARGS+=	--with-sockd-conf=${PKG_SYSCONFDIR}/sockd.conf

CHECK_PORTABILITY_SKIP=	contrib/StartupItems.Dante

RCD_SCRIPTS=		sockd

INSTALLATION_DIRS+=	share/examples/dante

post-install:
.for cfg in sockd.conf socks-simple.conf socks.conf
	${INSTALL_DATA} ${WRKSRC}/example/${cfg} ${DESTDIR}${PREFIX}/share/examples/dante
.endfor

.include "../../mk/bsd.pkg.mk"