ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/security/gnutls/Makefile
Revision: 5077
Committed: Thu May 22 21:43:17 2008 UTC (15 years, 11 months ago) by laffer1
File size: 2392 byte(s)
Log Message:
Explicitly disable guile.

File Contents

# Content
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.7 2008/05/20 17:19:15 crash 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= 2.2.5
11 PORTREVISION= 1
12 CATEGORIES= security net
13 MASTER_SITES= http://josefsson.org/gnutls/releases/ \
14 ftp://ftp.gnutls.org/pub/gnutls/ \
15 ${MASTER_SITE_GNUPG} \
16 http://www.mirrors.wiretapped.net/security/network-security/gnutls/ \
17 ftp://ftp.mirrors.wiretapped.net/security/network-security/gnutls/
18 MASTER_SITE_SUBDIR= alpha/gnutls
19
20 MAINTAINER= ports@MidnightBSD.org
21 COMMENT= GNU Transport Layer Security library
22 LICENSE= gpl3
23 LIB_DEPENDS= gcrypt.15:${PORTSDIR}/security/libgcrypt \
24 gpg-error.0:${PORTSDIR}/security/libgpg-error
25
26 USE_BZIP2= yes
27 USE_ICONV= yes
28 USE_GNOME= pkgconfig ltverhack
29 GNU_CONFIGURE= yes
30 USE_LDCONFIG= yes
31 USE_AUTOTOOLS= libtool:15
32 USE_GCC= 3.4+
33 CPPFLAGS+= -I${LOCALBASE}/include
34 LDFLAGS+= -L${LOCALBASE}/lib
35 CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -fPIC" LDFLAGS="${LDFLAGS}"
36 CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd6.0
37 CONFIGURE_ARGS+= --with-included-lzo --disable-guile \
38 --infodir="${PREFIX}/info" --mandir="${PREFIX}/man/"
39 MANCOMPRESSED= no
40
41 .include <bsd.port.pre.mk>
42 .if defined(WITH_OPENCDK) || exists(${LOCALBASE}/lib/libopencdk.so.10)
43 LIB_DEPENDS+= opencdk.10:${PORTSDIR}/security/opencdk
44 .endif
45
46 .if defined(WITH_LIBTASN1) || exists(${LOCALBASE}/lib/libtasn1.so.3)
47 LIB_DEPENDS+= tasn1.3:${PORTSDIR}/security/libtasn1
48 .endif
49
50 .if defined(WITHOUT_CXX)
51 CONFIGURE_ARGS+= --disable-cxx
52 PLIST_SUB+= CXX="@comment "
53 .else
54 PLIST_SUB+= CXX=""
55 .endif
56
57 .if defined(WITHOUT_NLS)
58 CONFIGURE_ARGS+= --disable-nls
59 PLIST_SUB+= NLS="@comment "
60 .else
61 USE_GETTEXT= yes
62 PLIST_SUB+= NLS=""
63 .endif
64
65 .if !defined(NOPORTDOCS)
66 PORTDOCS= AUTHORS NEWS README THANKS
67 .endif
68 EXAMPLES= doc/examples/*.c
69
70 post-patch:
71 @${REINPLACE_CMD} -e 's,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,' \
72 ${WRKSRC}/lib/Makefile.in ${WRKSRC}/libextra/Makefile.in
73
74 post-install:
75 @${MKDIR} ${EXAMPLESDIR}
76 cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
77 .if !defined(NOPORTDOCS)
78 @${MKDIR} ${DOCSDIR}
79 .for i in ${PORTDOCS}
80 @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
81 .endfor
82 .endif
83
84 .include "Makefile.man"
85 .include <bsd.port.post.mk>

Properties

Name Value
cvs2svn:cvs-rev 1.8