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 3847 by laffer1, Sun Dec 30 01:27:40 2007 UTC vs.
Revision 11905 by laffer1, Sat Sep 10 22:10:14 2011 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.4 2007/10/17 04:28:04 laffer1 Exp $
6 < # $FreeBSD: ports/security/gnutls/Makefile,v 1.42 2006/09/08 18:24:27 novel Exp $
7 < #
1 > # $MidnightBSD: mports/security/gnutls/Makefile,v 1.18 2011/09/10 21:50:55 laffer1 Exp $
2  
3   PORTNAME=       gnutls
4 < PORTVERSION=    1.6.3
4 > PORTVERSION=    2.10.1
5 > PORTREVISION=   0
6   CATEGORIES=     security net
7 < MASTER_SITES=   http://josefsson.org/gnutls/releases/ \
8 <        ftp://ftp.gnutls.org/pub/gnutls/ \
9 <        ${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=   ${MASTER_SITE_GNU} \
8 >                ${MASTER_SITE_GNUPG}
9 > MASTER_SITE_SUBDIR=     ${PORTNAME}
10  
11   MAINTAINER=     ports@MidnightBSD.org
12   COMMENT=        GNU Transport Layer Security library
13 + LICENSE=        gpl3
14  
15 < LIB_DEPENDS=    gcrypt.13:${PORTSDIR}/security/libgcrypt \
15 > LIB_DEPENDS=    gcrypt.17:${PORTSDIR}/security/libgcrypt \
16                  gpg-error.0:${PORTSDIR}/security/libgpg-error
17  
18 + CONFLICTS=      gnutls-devel-[0-9]*
19 +
20   USE_BZIP2=      yes
21   USE_ICONV=      yes
22   USE_GNOME=      pkgconfig ltverhack
23   GNU_CONFIGURE=  yes
24 < USE_LDCONFIG= yes
25 < USE_AUTOTOOLS=        libtool:15
26 < USE_GCC=      3.4+
24 > MAKE_JOBS_SAFE= yes
25 > USE_LDCONFIG=   yes
26 > USE_AUTOTOOLS=  libtool
27   CPPFLAGS+=      -I${LOCALBASE}/include
28   LDFLAGS+=       -L${LOCALBASE}/lib
29   CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS} -fPIC" LDFLAGS="${LDFLAGS}"
30 < CONFIGURE_TARGET=       --build=${MACHINE_ARCH}-portbld-freebsd6.0
36 < CONFIGURE_ARGS+=        --with-included-lzo \
37 <                        --infodir="${PREFIX}/info" --mandir="${PREFIX}/man/"
30 > CONFIGURE_ARGS+=        --disable-guile
31   MANCOMPRESSED=  no
32  
33   .include <bsd.port.pre.mk>
34 < .if defined(WITH_OPENCDK) || exists(${LOCALBASE}/lib/libopencdk.so.9)
35 < LIB_DEPENDS+=   opencdk.9:${PORTSDIR}/security/opencdk
34 >
35 > .if (defined(WITH_LIBTASN1) || exists(${LOCALBASE}/lib/libtasn1.so.4)) && !defined(WITHOUT_LIBTASN1)
36 > LIB_DEPENDS+=   tasn1.4:${PORTSDIR}/security/libtasn1
37 > .else
38 > CONFIGURE_ARGS+=        --with-included-libtasn1
39   .endif
40  
41 < .if defined(WITH_LIBTASN1) || exists(${LOCALBASE}/lib/libtasn1.so.3)
42 < LIB_DEPENDS+=   tasn1.3:${PORTSDIR}/security/libtasn1
41 > .if (defined(WITH_LZO) || exists(${LOCALBASE}/lib/liblzo2.so)) && !defined(WITHOUT_LZO)
42 > LIB_DEPENDS+=           lzo2:${PORTSDIR}/archivers/lzo2
43 > CONFIGURE_ARGS+=        --with-lzo
44 > .else
45 > CONFIGURE_ARGS+=        --with-lzo=no
46   .endif
47  
48   .if defined(WITHOUT_CXX)
49   CONFIGURE_ARGS+=        --disable-cxx
50 < PLIST_SUB+=     CXX="@comment "
50 > PLIST_SUB+=             CXX="@comment "
51   .else
52 < PLIST_SUB+=     CXX=""
52 > PLIST_SUB+=             CXX=""
53   .endif
54  
55   .if defined(WITHOUT_NLS)
# Line 61 | Line 60 | USE_GETTEXT=           yes
60   PLIST_SUB+=             NLS=""
61   .endif
62  
63 + .if defined(WITH_CAMELLIA)
64 + CONFIGURE_ARGS+=        --enable-camellia
65 + .endif
66 +
67   .if !defined(NOPORTDOCS)
68   PORTDOCS=               AUTHORS NEWS README THANKS
69   .endif
70   EXAMPLES=       doc/examples/*.c
71  
72 < post-patch:
72 > pre-configure:
73          @${REINPLACE_CMD} -e 's,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,' \
74                  ${WRKSRC}/lib/Makefile.in ${WRKSRC}/libextra/Makefile.in
75  

Comparing trunk/security/gnutls/Makefile (property cvs2svn:cvs-rev):
Revision 3847 by laffer1, Sun Dec 30 01:27:40 2007 UTC vs.
Revision 11905 by laffer1, Sat Sep 10 22:10:14 2011 UTC

# Line 1 | Line 1
1 < 1.5
1 > 1.19

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines