2006-01-03 22:48:09 +01:00
|
|
|
# $NetBSD: Makefile,v 1.9 2006/01/03 21:48:17 hubertf Exp $
|
2004-09-21 00:58:52 +02:00
|
|
|
#
|
|
|
|
|
2006-01-03 22:48:09 +01:00
|
|
|
DISTNAME= vpnc-0.3.3
|
2004-09-21 00:58:52 +02:00
|
|
|
CATEGORIES= net security
|
|
|
|
MASTER_SITES= http://www.unix-ag.uni-kl.de/~massar/vpnc/
|
|
|
|
|
|
|
|
MAINTAINER= hubertf@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.unix-ag.uni-kl.de/~massar/vpnc/
|
|
|
|
COMMENT= Client for Cisco3000 VPN Concentrator
|
|
|
|
|
2005-11-01 04:40:34 +01:00
|
|
|
NOT_FOR_PLATFORM= Interix-*-*
|
|
|
|
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= vpnc
|
2005-06-17 05:50:19 +02:00
|
|
|
INSTALLATION_DIRS= bin man/man8
|
2004-09-21 00:58:52 +02:00
|
|
|
|
2006-01-03 22:48:09 +01:00
|
|
|
USE_PKGINSTALL= yes
|
|
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
|
|
CONF_FILES+= ${EGDIR}/vpnc.conf ${PKG_SYSCONFDIR}/vpnc.conf
|
|
|
|
CONF_FILES+= ${EGDIR}/vpnc-script ${PKG_SYSCONFDIR}/vpnc-script
|
|
|
|
CONF_FILES_MODE= 755 # vpn-script must be executable!
|
|
|
|
|
2004-09-21 00:58:52 +02:00
|
|
|
do-install:
|
2006-01-03 22:48:09 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vpnc
|
|
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
|
|
:
|
2004-09-21 00:58:52 +02:00
|
|
|
${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
|
2006-01-03 22:48:09 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/vpnc.conf ${EGDIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/vpnc-script ${EGDIR}
|
2004-09-21 00:58:52 +02:00
|
|
|
|
|
|
|
.include "../../security/libgcrypt/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|