summaryrefslogtreecommitdiff
path: root/net/vpnc/Makefile
blob: 9fdfceb866e49e73c1de40edbd7ec5d628fc0d27 (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
32
33
34
35
# $NetBSD: Makefile,v 1.15 2006/09/27 12:50:29 hubertf Exp $
#

DISTNAME=		vpnc-0.3.3
PKGREVISION=		4
CATEGORIES=		net security
MASTER_SITES=		http://www.unix-ag.uni-kl.de/~massar/vpnc/

MAINTAINER=		hubertf@NetBSD.org,j+pkgsrc@salmi.ch
HOMEPAGE=		http://www.unix-ag.uni-kl.de/~massar/vpnc/
COMMENT=		Client for Cisco3000 VPN Concentrator

NOT_FOR_PLATFORM=	Interix-*-*

USE_TOOLS+=		gmake
BUILD_TARGET=		vpnc
INSTALLATION_DIRS=	bin man/man8

EGDIR=                  ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES+=		${EGDIR}/vpnc.conf ${PKG_SYSCONFDIR}/vpnc.conf
CONF_FILES_PERMS+=	${EGDIR}/vpnc-script ${PKG_SYSCONFDIR}/vpnc-script ${ROOT_USER} ${ROOT_GROUP} 755

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vpnc
	${INSTALL_DATA_DIR} ${EGDIR}
	:
	${INSTALL_PROGRAM} ${WRKSRC}/vpnc ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/vpnc-disconnect ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/vpnc.8 ${PREFIX}/man/man8
	${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/vpnc
	${INSTALL_MAN} ${WRKSRC}/vpnc.conf ${EGDIR}
	${INSTALL_SCRIPT} ${WRKSRC}/vpnc-script ${EGDIR}

.include "../../security/libgcrypt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"