ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/security/gnutls/Makefile
Revision: 858
Committed: Fri Feb 16 00:04:44 2007 UTC (17 years, 2 months ago) by laffer1
File size: 2344 byte(s)
Log Message:
libgpg-error was bumped.

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.1 2006/09/23 00:05:34 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.4.3
11 CATEGORIES= security net
12 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
18
19 MAINTAINER= ports@MidnightBSD.org
20 COMMENT= GNU Transport Layer Security library
21
22 LIB_DEPENDS= gcrypt.13:${PORTSDIR}/security/libgcrypt \
23 gpg-error.3:${PORTSDIR}/security/libgpg-error
24
25 CONFLICTS= gnutls-devel-[0-9]*
26
27 USE_BZIP2= yes
28 USE_ICONV= yes
29 USE_GNOME= pkgconfig
30 GNU_CONFIGURE= yes
31 INSTALLS_SHLIB= yes
32 CPPFLAGS+= -I${LOCALBASE}/include
33 LDFLAGS+= -L${LOCALBASE}/lib
34 CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
35 MAKEINFO="${LOCALBASE}/bin/makeinfo"
36 CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd6.0
37 CONFIGURE_ARGS+= --with-included-lzo \
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.8)
43 LIB_DEPENDS+= opencdk.8:${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 ${OSVERSION} < 600000
51 BUILD_DEPENDS+= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
52 .endif
53
54 .if defined(WITHOUT_NLS)
55 CONFIGURE_ARGS+= --disable-nls
56 PLIST_SUB+= NLS="@comment "
57 .else
58 USE_GETTEXT= yes
59 PLIST_SUB+= NLS=""
60 .endif
61
62 .if !defined(NOPORTDOCS)
63 PORTDOCS= AUTHORS NEWS README THANKS
64 .endif
65 EXAMPLES= doc/examples/*.c
66
67 post-patch:
68 @${REINPLACE_CMD} -e 's,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,' \
69 ${WRKSRC}/lib/Makefile.in ${WRKSRC}/libextra/Makefile.in
70
71 post-install:
72 @${MKDIR} ${EXAMPLESDIR}
73 cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
74 .if !defined(NOPORTDOCS)
75 @${MKDIR} ${DOCSDIR}
76 .for i in ${PORTDOCS}
77 @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
78 .endfor
79 .endif
80
81 .include "Makefile.man"
82 .include <bsd.port.post.mk>

Properties

Name Value
cvs2svn:cvs-rev 1.2