ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/security/gnutls/Makefile
Revision: 21588
Committed: Sat Aug 13 15:43:05 2016 UTC (7 years, 8 months ago) by laffer1
File size: 2036 byte(s)
Log Message:
update gnutls

File Contents

# Content
1 # $MidnightBSD$
2
3 PORTNAME= gnutls
4 PORTVERSION= 3.3.17.1
5 PORTREVISION= 3
6 CATEGORIES= security net
7 MASTER_SITES= GNUPG/gnutls/v${PORTVERSION:R:R}
8
9 MAINTAINER= novel@FreeBSD.org
10 COMMENT= GNU Transport Layer Security library
11
12 LICENSE= gpl3 lgpl2.1
13 LICENSE_COMB= multi
14 LICENSE_FILE_gpl3= ${WRKSRC}/COPYING
15 LICENSE_FILE_lgpl2.1= ${WRKSRC}/COPYING.LESSER
16
17 LIB_DEPENDS= libnettle.so:${PORTSDIR}/security/nettle \
18 libtasn1.so:${PORTSDIR}/security/libtasn1
19 BUILD_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
20 RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
21
22 USES= cpe gmake iconv libtool makeinfo pathfix pkgconfig tar:xz
23 USE_LDCONFIG= yes
24 GNU_CONFIGURE= yes
25 CONFIGURE_ARGS= --disable-guile \
26 --disable-silent-rules \
27 --enable-local-libopts
28 CPPFLAGS+= -I${LOCALBASE}/include
29 LDFLAGS+= -L${LOCALBASE}/lib
30 MAKE_ENV= MAKEINFOFLAGS=--no-split
31
32 CPE_VENDOR= gnu
33
34 OPTIONS_DEFINE= CRYWRAP EXAMPLES LIBDANE NLS P11KIT TPM ZLIB
35 OPTIONS_DEFAULT= CRYWRAP P11KIT TPM ZLIB
36 OPTIONS_SUB= yes
37
38 CRYWRAP_DESC= Enable Crywrap TLS proxy service
39 CRYWRAP_LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn
40 CRYWRAP_CONFIGURE_ENABLE= crywrap
41
42 LIBDANE_DESC= DNSSEC support for DANE (danetool --check)
43 LIBDANE_LIB_DEPENDS= libunbound.so:${PORTSDIR}/dns/unbound
44 LIBDANE_CONFIGURE_ENABLE= libdane
45
46 NLS_CONFIGURE_ENABLE= nls
47 NLS_USES= gettext
48
49 P11KIT_DESC= PKCS\#11 and p11-kit support
50 P11KIT_CONFIGURE_WITH= p11-kit
51 P11KIT_LIB_DEPENDS= libp11-kit.so:${PORTSDIR}/security/p11-kit
52
53 TPM_DESC= TPM (trousers) support
54 TPM_CONFIGURE_WITH= tpm
55 TPM_LIB_DEPENDS= libtspi.so:${PORTSDIR}/security/trousers
56
57 ZLIB_CONFIGURE_WITH= zlib
58
59 INFO= gnutls gnutls-guile
60
61 post-patch:
62 @${RM} ${WRKSRC}/doc/*.info*
63 ${SED} -i '' -e 's|^+_NORETURN_H|_NORETURN_H|' \
64 ${WRKSRC}/src/libopts/Makefile.in
65
66 post-install:
67 @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
68 ${INSTALL_DATA} ${WRKSRC}/doc/examples/*.[ch] ${STAGEDIR}${EXAMPLESDIR}
69 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgnutls*.so.*
70
71 .include <bsd.port.mk>

Properties

Name Value
svn:keywords MidnightBSD=%H