ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/security/gnutls/Makefile
Revision: 18058
Committed: Sat Mar 7 21:06:46 2015 UTC (9 years, 1 month ago) by laffer1
File size: 1820 byte(s)
Log Message:
gnutls 3.2.21

File Contents

# Content
1 # $MidnightBSD$
2
3 PORTNAME= gnutls
4 PORTVERSION= 3.2.21
5 PORTREVISION= 0
6 CATEGORIES= security net
7 MASTER_SITES= GNUPG/gnutls/v3.2
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
20 USES= gmake iconv libtool makeinfo pathfix pkgconfig tar:xz
21 USE_LDCONFIG= yes
22 GNU_CONFIGURE= yes
23 CONFIGURE_ARGS= --disable-guile \
24 --disable-silent-rules \
25 --enable-local-libopts
26 CPPFLAGS+= -I${LOCALBASE}/include
27 LDFLAGS+= -L${LOCALBASE}/lib
28 MAKE_ENV= MAKEINFOFLAGS=--no-split
29
30 OPTIONS_DEFINE= CRYWRAP EXAMPLES LIBDANE NLS P11KIT TPM ZLIB
31 OPTIONS_DEFAULT= CRYWRAP P11KIT TPM ZLIB
32 OPTIONS_SUB= yes
33
34 CRYWRAP_DESC= Enable Crywrap TLS proxy service
35 CRYWRAP_LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn
36 CRYWRAP_CONFIGURE_ENABLE= crywrap
37
38 LIBDANE_DESC= DNSSEC support for DANE (danetool --check)
39 LIBDANE_LIB_DEPENDS= libunbound.so:${PORTSDIR}/dns/unbound
40 LIBDANE_CONFIGURE_ENABLE= libdane
41
42 NLS_CONFIGURE_ENABLE= nls
43 NLS_USES= gettext
44
45 P11KIT_DESC= PKCS\#11 and p11-kit support
46 P11KIT_CONFIGURE_WITH= p11-kit
47 P11KIT_LIB_DEPENDS= libp11-kit.so:${PORTSDIR}/security/p11-kit
48
49 TPM_DESC= TPM (trousers) support
50 TPM_CONFIGURE_WITH= tpm
51 TPM_LIB_DEPENDS= libtspi.so:${PORTSDIR}/security/trousers
52
53 ZLIB_CONFIGURE_WITH= zlib
54
55 INFO= gnutls gnutls-guile
56
57 post-patch:
58 @${RM} ${WRKSRC}/doc/*.info*
59 ${SED} -i '' -e 's|^+_NORETURN_H|_NORETURN_H|' \
60 ${WRKSRC}/src/libopts/Makefile.in
61
62 post-install:
63 @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
64 ${INSTALL_DATA} ${WRKSRC}/doc/examples/*.[ch] ${STAGEDIR}${EXAMPLESDIR}
65 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgnutls*.so.*
66
67 .include <bsd.port.mk>

Properties

Name Value
svn:keywords MidnightBSD=%H