2011-07-06 17:09:55 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2011/07/06 21:09:55 ajacoutot Exp $
|
2004-05-14 09:34:51 -04:00
|
|
|
|
2007-09-15 19:29:57 -04:00
|
|
|
COMMENT= client for Cisco 3000 VPN concentrators
|
2004-05-14 09:34:51 -04:00
|
|
|
|
2009-01-29 14:07:06 -05:00
|
|
|
DISTNAME= vpnc-0.5.3
|
2011-07-06 17:09:55 -04:00
|
|
|
REVISION= 0
|
2004-05-14 09:34:51 -04:00
|
|
|
CATEGORIES= security net
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.unix-ag.uni-kl.de/~massar/vpnc/
|
|
|
|
|
2009-01-29 14:07:06 -05:00
|
|
|
# GPLv2 / BSD
|
2004-05-14 09:34:51 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2011-07-06 17:09:55 -04:00
|
|
|
|
|
|
|
WANTLIB= c gpg-error gcrypt>=12
|
2004-05-14 09:34:51 -04:00
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
|
2011-07-06 17:09:55 -04:00
|
|
|
MODULES= devel/gettext
|
|
|
|
|
2010-11-20 12:22:40 -05:00
|
|
|
LIB_DEPENDS= security/libgcrypt>=1.2
|
2004-05-14 09:34:51 -04:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
2010-11-11 13:43:10 -05:00
|
|
|
USE_GROFF = Yes
|
2004-05-14 09:34:51 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
do-configure:
|
2004-11-20 07:41:37 -05:00
|
|
|
@perl -pi -e "s,/etc,${SYSCONFDIR},g" ${WRKSRC}/{README,config.c}
|
2009-01-29 14:07:06 -05:00
|
|
|
@cp ${FILESDIR}/split.sh ${WRKBUILD}/split.sh
|
|
|
|
${SUBST_CMD} -c ${FILESDIR}/vpnc.sh ${WRKBUILD}/vpnc.sh
|
2004-05-14 09:34:51 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/vpnc ${PREFIX}/sbin
|
2009-01-29 14:07:06 -05:00
|
|
|
${INSTALL_SCRIPT} ${WRKBUILD}/vpnc-disconnect ${PREFIX}/sbin
|
2004-05-14 09:34:51 -04:00
|
|
|
${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
|
2008-04-04 17:41:27 -04:00
|
|
|
${INSTALL_DATA} ${WRKBUILD}/split.sh ${PREFIX}/share/examples/vpnc
|
2004-05-14 09:34:51 -04:00
|
|
|
${INSTALL_DATA} ${WRKBUILD}/vpnc.sh ${PREFIX}/share/examples/vpnc
|
2006-06-29 13:26:15 -04:00
|
|
|
${INSTALL_MAN} ${WRKBUILD}/vpnc.8 ${PREFIX}/man/man8
|
2004-05-14 09:34:51 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|