ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/security/gnutls/Makefile
(Generate patch)

Comparing trunk/security/gnutls/Makefile (file contents):
Revision 9529 by vganji, Wed Apr 28 17:11:24 2010 UTC vs.
Revision 24731 by laffer1, Wed Nov 28 14:12:29 2018 UTC

# Line 1 | Line 1
1   # $MidnightBSD$
2 #
2  
3   PORTNAME=       gnutls
4 < PORTVERSION=    2.8.3
4 > PORTVERSION=    3.5.19
5   CATEGORIES=     security net
6 < MASTER_SITES=   ${MASTER_SITE_GNU} \
8 <                ${MASTER_SITE_GNUPG}
9 < MASTER_SITE_SUBDIR=     ${PORTNAME}
6 > MASTER_SITES=   GNUPG/gnutls/v${PORTVERSION:R}
7  
8 < MAINTAINER=     ports@MidnightBSD.org
8 > MAINTAINER=     novel@FreeBSD.org
9   COMMENT=        GNU Transport Layer Security library
13 LICENSE=        gpl3
10  
11 < LIB_DEPENDS=    gcrypt.16:${PORTSDIR}/security/libgcrypt \
12 <                gpg-error.0:${PORTSDIR}/security/libgpg-error
11 > LICENSE=        gpl3 lgpl2.1
12 > LICENSE_COMB=   multi
13 > LICENSE_FILE_gpl3=      ${WRKSRC}/doc/COPYING
14 > LICENSE_FILE_lgpl2.1=   ${WRKSRC}/doc/COPYING.LESSER
15  
16 < CONFLICTS=      gnutls-devel-[0-9]*
16 > LIB_DEPENDS=    libgmp.so:math/gmp \
17 >                libnettle.so:security/nettle \
18 >                libtasn1.so:security/libtasn1 \
19 >                libunistring.so:devel/libunistring
20 > BUILD_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
21 > RUN_DEPENDS+=   ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
22  
23 < USE_BZIP2=      yes
24 < USE_ICONV=      yes
22 < USE_GNOME=      pkgconfig ltverhack
23 < GNU_CONFIGURE=  yes
24 < MAKE_JOBS_SAFE= yes
23 > USES=           cpe gmake iconv libtool localbase makeinfo \
24 >                pathfix pkgconfig tar:xz
25   USE_LDCONFIG=   yes
26 < USE_AUTOTOOLS=  libtool:22
27 < CPPFLAGS+=      -I${LOCALBASE}/include
28 < LDFLAGS+=       -L${LOCALBASE}/lib
29 < CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS} -fPIC" LDFLAGS="${LDFLAGS}"
30 < CONFIGURE_ARGS+=        --disable-guile
31 < MANCOMPRESSED=  no
26 > GNU_CONFIGURE=  yes
27 > CONFIGURE_ARGS= --disable-guile \
28 >                --enable-local-libopts \
29 >                --with-trousers-lib=${LOCALBASE}/lib/libtspi.so.1 \
30 >                ac_cv_type_max_align_t=yes
31 > MAKE_ENV=       MAKEINFOFLAGS=--no-split
32 > INSTALL_TARGET= install-strip
33  
34 < .include <bsd.port.pre.mk>
34 > CPE_VENDOR=     gnu
35  
36 < .if (defined(WITH_LIBTASN1) || exists(${LOCALBASE}/lib/libtasn1.so.4)) && !defined(WITHOUT_LIBTASN1)
37 < LIB_DEPENDS+=   tasn1.4:${PORTSDIR}/security/libtasn1
38 < .else
38 < CONFIGURE_ARGS+=        --with-included-libtasn1
39 < .endif
36 > OPTIONS_DEFINE=         DANE DOCS EXAMPLES IDN NLS P11KIT TPM ZLIB
37 > OPTIONS_DEFAULT=        IDN P11KIT TPM ZLIB
38 > OPTIONS_SUB=            yes
39  
40 < .if (defined(WITH_LZO) || exists(${LOCALBASE}/lib/liblzo2.so)) && !defined(WITHOUT_LZO)
41 < LIB_DEPENDS+=           lzo2:${PORTSDIR}/archivers/lzo2
42 < CONFIGURE_ARGS+=        --with-lzo
44 < .else
45 < CONFIGURE_ARGS+=        --with-lzo=no
46 < .endif
40 > DANE_DESC=              Certificate verification via DNSSEC
41 > DANE_LIB_DEPENDS=       libunbound.so:dns/unbound
42 > DANE_CONFIGURE_ENABLE=  libdane
43  
44 < .if defined(WITHOUT_CXX)
45 < CONFIGURE_ARGS+=        --disable-cxx
50 < PLIST_SUB+=             CXX="@comment "
51 < .else
52 < PLIST_SUB+=             CXX=""
53 < .endif
44 > IDN_CONFIGURE_WITH=     idn
45 > IDN_LIB_DEPENDS=        libidn2.so:dns/libidn2
46  
47 < .if defined(WITHOUT_NLS)
48 < CONFIGURE_ARGS+=        --disable-nls
49 < PLIST_SUB+=             NLS="@comment "
58 < .else
59 < USE_GETTEXT=            yes
60 < PLIST_SUB+=             NLS=""
61 < .endif
47 > NLS_CONFIGURE_ENABLE=   nls
48 > NLS_CONFIGURE_OFF=      ac_cv_lib_intl_gettext=no
49 > NLS_USES=               gettext
50  
51 < .if defined(WITH_CAMELLIA)
52 < CONFIGURE_ARGS+=        --enable-camellia
53 < .endif
51 > P11KIT_DESC=            PKCS\#11 and p11-kit support
52 > P11KIT_CONFIGURE_WITH=  p11-kit
53 > P11KIT_LIB_DEPENDS=     libp11-kit.so:security/p11-kit
54  
55 < .if !defined(NOPORTDOCS)
56 < PORTDOCS=               AUTHORS NEWS README THANKS
57 < .endif
70 < EXAMPLES=       doc/examples/*.c
55 > TPM_DESC=               Trusted Platform Module support
56 > TPM_CONFIGURE_WITH=     tpm
57 > TPM_LIB_DEPENDS=        libtspi.so:security/trousers
58  
59 < pre-configure:
73 <        @${REINPLACE_CMD} -e 's,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,' \
74 <                ${WRKSRC}/lib/Makefile.in ${WRKSRC}/libextra/Makefile.in
59 > ZLIB_CONFIGURE_WITH=    zlib
60  
61 + INFO=           gnutls gnutls-guile
62 +
63 + post-patch:
64 +        @${RM} ${WRKSRC}/doc/*.info*
65 +
66   post-install:
67 <        @${MKDIR} ${EXAMPLESDIR}
68 <        cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
79 < .if !defined(NOPORTDOCS)
80 <        @${MKDIR} ${DOCSDIR}
81 < .for i in ${PORTDOCS}
82 <        @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
83 < .endfor
84 < .endif
67 >        @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
68 >        ${INSTALL_DATA} ${WRKSRC}/doc/examples/*.[ch] ${STAGEDIR}${EXAMPLESDIR}
69  
70 < .include "Makefile.man"
87 < .include <bsd.port.post.mk>
70 > .include <bsd.port.mk>

Comparing trunk/security/gnutls/Makefile (property cvs2svn:cvs-rev):
Revision 9529 by vganji, Wed Apr 28 17:11:24 2010 UTC vs.
Revision 24731 by laffer1, Wed Nov 28 14:12:29 2018 UTC

# Line 1 | Line 0
1 1.14

Comparing trunk/security/gnutls/Makefile (property svn:keywords):
Revision 9529 by vganji, Wed Apr 28 17:11:24 2010 UTC vs.
Revision 24731 by laffer1, Wed Nov 28 14:12:29 2018 UTC

# Line 0 | Line 1
1 + MidnightBSD=%H

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines