openbsd-ports/security/gnutls/Makefile

78 lines
2.1 KiB
Makefile
Raw Normal View History

2013-03-23 09:25:04 -04:00
# $OpenBSD: Makefile,v 1.75 2013/03/23 13:25:04 ajacoutot Exp $
# XXX check why our getopt_long(3) fails the configure test
# + rm patch-gl_unistd_in_h
COMMENT= GNU Transport Layer Security library
2013-03-23 09:25:04 -04:00
V= 3.1.10
2012-12-23 05:39:21 -05:00
DISTNAME= gnutls-${V}
EXTRACT_SUFX= .tar.xz
CATEGORIES= security
2013-03-23 09:25:04 -04:00
SHARED_LIBS += gnutls 39.4 # 46.0
2012-09-27 02:35:07 -04:00
SHARED_LIBS += gnutlsxx 29.1 # 29.0
SHARED_LIBS += gnutls-xssl 0.0 # 0.0
SHARED_LIBS += gnutls-openssl 27.2 # 27.2
HOMEPAGE= http://www.gnutls.org/
2012-10-08 06:43:15 -04:00
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
2011-08-22 05:13:04 -04:00
# LGPLv3 - GPLv3
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c gmp hogweed idn m nettle p11-kit pthread stdc++ tasn1
WANTLIB += z
2012-12-23 05:39:21 -05:00
MASTER_SITES= ftp://ftp.gnutls.org/gcrypt/gnutls/v${V:R}/
MODULES= devel/gettext
LIB_DEPENDS= devel/libidn \
2012-12-08 03:20:10 -05:00
security/libtasn1 \
security/libnettle \
2011-08-22 05:13:04 -04:00
security/p11-kit
2012-11-05 05:41:24 -05:00
USE_GMAKE= Yes
# regression tests need this
PORTHOME= ${WRKDIR}
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-gtk-doc \
--disable-guile \
2011-08-22 05:13:04 -04:00
--disable-valgrind-tests \
--disable-hardware-acceleration \
2011-08-22 05:13:04 -04:00
--with-packager="OpenBSD Ports"
2012-12-08 03:20:10 -05:00
# add dependency on net/unbound; see post-install as well
CONFIGURE_ARGS += --disable-libdane
# requires security/trousers: not committed, needs kernel support for tpm(4):
# http://bsssd.sourceforge.net/
CONFIGURE_ARGS += --without-tpm
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
# If one of these tools is found at configure stage, it might be used,
# no matter whether we use --disable-gtk-doc or not.
CONFIGURE_ENV +=ac_cv_path_GTKDOC_CHECK="" \
ac_cv_path_GTKDOC_REBASE="" \
ac_cv_path_GTKDOC_MKPDF=""
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnutls
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnutls
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gnutls
${INSTALL_DATA} ${WRKSRC}/doc/examples/*.c \
2011-08-22 05:13:04 -04:00
${PREFIX}/share/examples/gnutls
# needed by at least:
# devel/libvmime, security/prelude/manager, textproc/iksemel
${INSTALL} -m 555 ${FILESDIR}/libgnutls-config ${PREFIX}/bin
.include <bsd.port.mk>