openbsd-ports/security/gnutls/Makefile

79 lines
2.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.62 2012/09/21 14:48:06 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
DISTNAME= gnutls-3.1.1
EXTRACT_SUFX= .tar.xz
2012-09-20 13:49:10 -04:00
REVISION= 0
CATEGORIES= security
SHARED_LIBS += gnutls 39.0 # 40.0
SHARED_LIBS += gnutlsxx 29.0 # 29.0
SHARED_LIBS += gnutls-openssl 27.2 # 27.2
HOMEPAGE= http://www.gnutls.org/
2011-08-22 05:13:04 -04:00
MAINTAINER= Antoine Jacoutot <ajacoutot@bsdfrog.org>
# LGPLv3 - GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c gmp hogweed idn m nettle p11-kit pthread stdc++ tasn1
WANTLIB += z
2012-09-03 07:54:18 -04:00
MASTER_SITES= http://ftp.gnu.org/gnu/gnutls/ \
ftp://ftp.gnu.org/pub/gnu/gnutls/
MODULES= devel/gettext
LIB_DEPENDS= devel/libidn \
security/libtasn1 \
security/libnettle>=2.5 \
2011-08-22 05:13:04 -04:00
security/p11-kit
USE_LIBTOOL= 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-libtasn1-prefix=${LOCALBASE} \
--with-packager="OpenBSD Ports"
# 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>