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

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

Properties

Name Value
svn:keywords MidnightBSD=%H