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 $ |
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 |
|
# |
8 |
|
|
9 |
|
PORTNAME= gnutls |
10 |
< |
PORTVERSION= 1.6.3 |
10 |
> |
PORTVERSION= 2.2.2 |
11 |
|
CATEGORIES= security net |
12 |
|
MASTER_SITES= http://josefsson.org/gnutls/releases/ \ |
13 |
|
ftp://ftp.gnutls.org/pub/gnutls/ \ |
19 |
|
MAINTAINER= ports@MidnightBSD.org |
20 |
|
COMMENT= GNU Transport Layer Security library |
21 |
|
|
22 |
< |
LIB_DEPENDS= gcrypt.13:${PORTSDIR}/security/libgcrypt \ |
22 |
> |
LIB_DEPENDS= gcrypt.15:${PORTSDIR}/security/libgcrypt \ |
23 |
|
gpg-error.0:${PORTSDIR}/security/libgpg-error |
24 |
|
|
25 |
|
USE_BZIP2= yes |
26 |
|
USE_ICONV= yes |
27 |
|
USE_GNOME= pkgconfig ltverhack |
28 |
|
GNU_CONFIGURE= yes |
29 |
< |
USE_LDCONFIG= yes |
30 |
< |
USE_AUTOTOOLS= libtool:15 |
31 |
< |
USE_GCC= 3.4+ |
29 |
> |
USE_LDCONFIG= yes |
30 |
> |
USE_AUTOTOOLS= libtool:15 |
31 |
> |
USE_GCC= 3.4+ |
32 |
|
CPPFLAGS+= -I${LOCALBASE}/include |
33 |
|
LDFLAGS+= -L${LOCALBASE}/lib |
34 |
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -fPIC" LDFLAGS="${LDFLAGS}" |
38 |
|
MANCOMPRESSED= no |
39 |
|
|
40 |
|
.include <bsd.port.pre.mk> |
41 |
< |
.if defined(WITH_OPENCDK) || exists(${LOCALBASE}/lib/libopencdk.so.9) |
42 |
< |
LIB_DEPENDS+= opencdk.9:${PORTSDIR}/security/opencdk |
41 |
> |
.if defined(WITH_OPENCDK) || exists(${LOCALBASE}/lib/libopencdk.so.10) |
42 |
> |
LIB_DEPENDS+= opencdk.10:${PORTSDIR}/security/opencdk |
43 |
|
.endif |
44 |
|
|
45 |
|
.if defined(WITH_LIBTASN1) || exists(${LOCALBASE}/lib/libtasn1.so.3) |