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 4271 by laffer1, Fri Mar 21 01:39:11 2008 UTC vs.
Revision 17321 by laffer1, Tue Sep 16 01:35:17 2014 UTC

# Line 1 | Line 1
1 < # New ports collection makefile for:    gnutls
2 < # Date created:                         13 Nov 2002
3 < # Whom:                                 Sergei Kolobov <sergei@kolobov.com>
4 < #
5 < # $MidnightBSD: mports/security/gnutls/Makefile,v 1.5 2007/12/30 01:27:40 laffer1 Exp $
6 < # $FreeBSD: ports/security/gnutls/Makefile,v 1.42 2006/09/08 18:24:27 novel Exp $
7 < #
1 > # $MidnightBSD$
2  
3   PORTNAME=       gnutls
4 < PORTVERSION=    2.2.2
4 > PORTVERSION=    3.2.16
5 > PORTREVISION=   0
6   CATEGORIES=     security net
7 < MASTER_SITES=   http://josefsson.org/gnutls/releases/ \
13 <        ftp://ftp.gnutls.org/pub/gnutls/ \
14 <        ${MASTER_SITE_GNUPG} \
15 <        http://www.mirrors.wiretapped.net/security/network-security/gnutls/ \
16 <        ftp://ftp.mirrors.wiretapped.net/security/network-security/gnutls/
17 < MASTER_SITE_SUBDIR=     alpha/gnutls
7 > MASTER_SITES=   GNUPG/gnutls/v3.2
8  
9 < MAINTAINER=     ports@MidnightBSD.org
9 > MAINTAINER=     novel@FreeBSD.org
10   COMMENT=        GNU Transport Layer Security library
11  
12 < LIB_DEPENDS=    gcrypt.15:${PORTSDIR}/security/libgcrypt \
13 <                gpg-error.0:${PORTSDIR}/security/libgpg-error
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 < USE_BZIP2=      yes
18 < USE_ICONV=      yes
19 < USE_GNOME=      pkgconfig ltverhack
20 < GNU_CONFIGURE=  yes
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 < USE_AUTOTOOLS=  libtool:15
23 < USE_GCC=        3.4+
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 < CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS} -fPIC" LDFLAGS="${LDFLAGS}"
35 < CONFIGURE_TARGET=       --build=${MACHINE_ARCH}-portbld-freebsd6.0
36 < CONFIGURE_ARGS+=        --with-included-lzo \
37 <                        --infodir="${PREFIX}/info" --mandir="${PREFIX}/man/"
38 < MANCOMPRESSED=  no
28 > MAKE_ENV=       MAKEINFOFLAGS=--no-split
29  
30 < .include <bsd.port.pre.mk>
31 < .if defined(WITH_OPENCDK) || exists(${LOCALBASE}/lib/libopencdk.so.10)
32 < LIB_DEPENDS+=   opencdk.10:${PORTSDIR}/security/opencdk
43 < .endif
30 > OPTIONS_DEFINE=         CRYWRAP EXAMPLES LIBDANE NLS P11KIT TPM ZLIB
31 > OPTIONS_DEFAULT=        CRYWRAP P11KIT TPM ZLIB
32 > OPTIONS_SUB=            yes
33  
34 < .if defined(WITH_LIBTASN1) || exists(${LOCALBASE}/lib/libtasn1.so.3)
35 < LIB_DEPENDS+=   tasn1.3:${PORTSDIR}/security/libtasn1
36 < .endif
34 > CRYWRAP_DESC=                   Enable Crywrap TLS proxy service
35 > CRYWRAP_LIB_DEPENDS=            libidn.so:${PORTSDIR}/dns/libidn
36 > CRYWRAP_CONFIGURE_ENABLE=       crywrap
37  
38 < .if defined(WITHOUT_CXX)
39 < CONFIGURE_ARGS+=        --disable-cxx
40 < PLIST_SUB+=     CXX="@comment "
52 < .else
53 < PLIST_SUB+=     CXX=""
54 < .endif
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 < .if defined(WITHOUT_NLS)
43 < CONFIGURE_ARGS+=        --disable-nls
58 < PLIST_SUB+=             NLS="@comment "
59 < .else
60 < USE_GETTEXT=            yes
61 < PLIST_SUB+=             NLS=""
62 < .endif
42 > NLS_CONFIGURE_ENABLE=   nls
43 > NLS_USES=               gettext
44  
45 < .if !defined(NOPORTDOCS)
46 < PORTDOCS=               AUTHORS NEWS README THANKS
47 < .endif
67 < EXAMPLES=       doc/examples/*.c
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 <        @${REINPLACE_CMD} -e 's,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,' \
71 <                ${WRKSRC}/lib/Makefile.in ${WRKSRC}/libextra/Makefile.in
58 >        @${RM} ${WRKSRC}/doc/*.info*
59  
60   post-install:
61 <        @${MKDIR} ${EXAMPLESDIR}
62 <        cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
63 < .if !defined(NOPORTDOCS)
77 <        @${MKDIR} ${DOCSDIR}
78 < .for i in ${PORTDOCS}
79 <        @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
80 < .endfor
81 < .endif
61 >        @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
62 >        ${INSTALL_DATA} ${WRKSRC}/doc/examples/*.[ch] ${STAGEDIR}${EXAMPLESDIR}
63 >        ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgnutls*.so.*
64  
65 < .include "Makefile.man"
84 < .include <bsd.port.post.mk>
65 > .include <bsd.port.mk>

Comparing trunk/security/gnutls/Makefile (property cvs2svn:cvs-rev):
Revision 4271 by laffer1, Fri Mar 21 01:39:11 2008 UTC vs.
Revision 17321 by laffer1, Tue Sep 16 01:35:17 2014 UTC

# Line 1 | Line 0
1 1.6

Comparing trunk/security/gnutls/Makefile (property svn:keywords):
Revision 4271 by laffer1, Fri Mar 21 01:39:11 2008 UTC vs.
Revision 17321 by laffer1, Tue Sep 16 01:35:17 2014 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines