openbsd-ports/security/vpnc/Makefile

42 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.14 2009/01/29 19:07:06 pea Exp $
COMMENT= client for Cisco 3000 VPN concentrators
DISTNAME= vpnc-0.5.3
CATEGORIES= security net
HOMEPAGE= http://www.unix-ag.uni-kl.de/~massar/vpnc/
# GPLv2 / BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-12-27 08:28:33 -05:00
WANTLIB= c gpg-error iconv intl
MASTER_SITES= ${HOMEPAGE}
2006-08-03 19:28:11 -04:00
LIB_DEPENDS= gcrypt.>=12:libgcrypt->=1.2:security/libgcrypt
USE_GMAKE= Yes
NO_REGRESS= Yes
do-configure:
@perl -pi -e "s,/etc,${SYSCONFDIR},g" ${WRKSRC}/{README,config.c}
@cp ${FILESDIR}/split.sh ${WRKBUILD}/split.sh
${SUBST_CMD} -c ${FILESDIR}/vpnc.sh ${WRKBUILD}/vpnc.sh
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/vpnc ${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKBUILD}/vpnc-disconnect ${PREFIX}/sbin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vpnc
${INSTALL_DATA} ${WRKBUILD}/README ${PREFIX}/share/doc/vpnc
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vpnc
${INSTALL_DATA} ${WRKBUILD}/vpnc.conf ${PREFIX}/share/examples/vpnc
2005-11-11 14:38:07 -05:00
${INSTALL_DATA} ${WRKBUILD}/vpnc-script ${PREFIX}/share/examples/vpnc
${INSTALL_DATA} ${WRKBUILD}/split.sh ${PREFIX}/share/examples/vpnc
${INSTALL_DATA} ${WRKBUILD}/vpnc.sh ${PREFIX}/share/examples/vpnc
${INSTALL_MAN} ${WRKBUILD}/vpnc.8 ${PREFIX}/man/man8
.include <bsd.port.mk>