sthen b9df0a9ecc oops, forgot to commit these; add a RUN_DEPENDS on vpnc-scripts which has
now been split off. Problem reported by Tomas Bodzar.
2014-04-17 14:57:36 +00:00

49 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.26 2014/04/17 14:57:36 sthen Exp $
COMMENT= client for Cisco AnyConnect SSL VPN
DISTNAME= openconnect-5.99
REVISION= 1
DIST_SUBDIR= openconnect
SHARED_LIBS += openconnect 2.0 # 3.2
CATEGORIES= net
HOMEPAGE= http://www.infradead.org/openconnect/
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
# LGPLv2.1 only
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c gmp gnutls hogweed m nettle oath p11-kit proxy pthread
WANTLIB += stdc++ tasn1 xml2 z ffi
MASTER_SITES= ftp://ftp.infradead.org/pub/openconnect/
MODULES= devel/gettext \
lang/python
MODPY_RUNDEP= No
# groff is used to format html during build, USE_GROFF not needed
# XXX can probably convert to using mandoc?
BUILD_DEPENDS= textproc/groff \
textproc/py-xml
LIB_DEPENDS= security/gnutls \
textproc/libxml \
net/libproxy>=0.4.6p7 \
security/oath-toolkit>=2.0.2
RUN_DEPENDS= net/vpnc-scripts
FAKE_FLAGS= pkgdatadir=${PREFIX}/share/doc/openconnect
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -liconv"
CONFIGURE_ARGS= --with-vpnc-script=${SYSCONFDIR}/vpnc-script \
--without-stoken
# make sure libstoken isn't picked up automatically if we import it.
.include <bsd.port.mk>