ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/security/gnutls/Makefile
Revision: 5850
Committed: Sun Aug 10 13:32:39 2008 UTC (15 years, 8 months ago) by crash
File size: 2394 byte(s)
Log Message:
update to 2.4.1

File Contents

# User Rev Content
1 laffer1 131 # New ports collection makefile for: gnutls
2     # Date created: 13 Nov 2002
3     # Whom: Sergei Kolobov <sergei@kolobov.com>
4     #
5 crash 5850 # $MidnightBSD: mports/security/gnutls/Makefile,v 1.8 2008/05/22 21:43:17 laffer1 Exp $
6 laffer1 131 # $FreeBSD: ports/security/gnutls/Makefile,v 1.42 2006/09/08 18:24:27 novel Exp $
7     #
8    
9     PORTNAME= gnutls
10 crash 5850 PORTVERSION= 2.4.1
11 laffer1 5077 PORTREVISION= 1
12 laffer1 131 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 crash 5032 LICENSE= gpl3
23 laffer1 4271 LIB_DEPENDS= gcrypt.15:${PORTSDIR}/security/libgcrypt \
24 laffer1 3847 gpg-error.0:${PORTSDIR}/security/libgpg-error
25 laffer1 131
26     USE_BZIP2= yes
27     USE_ICONV= yes
28 laffer1 3847 USE_GNOME= pkgconfig ltverhack
29 laffer1 131 GNU_CONFIGURE= yes
30 laffer1 4271 USE_LDCONFIG= yes
31     USE_AUTOTOOLS= libtool:15
32     USE_GCC= 3.4+
33 laffer1 131 CPPFLAGS+= -I${LOCALBASE}/include
34     LDFLAGS+= -L${LOCALBASE}/lib
35 laffer1 3847 CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -fPIC" LDFLAGS="${LDFLAGS}"
36 laffer1 131 CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd6.0
37 laffer1 5077 CONFIGURE_ARGS+= --with-included-lzo --disable-guile \
38 laffer1 131 --infodir="${PREFIX}/info" --mandir="${PREFIX}/man/"
39     MANCOMPRESSED= no
40    
41     .include <bsd.port.pre.mk>
42 laffer1 4271 .if defined(WITH_OPENCDK) || exists(${LOCALBASE}/lib/libopencdk.so.10)
43     LIB_DEPENDS+= opencdk.10:${PORTSDIR}/security/opencdk
44 laffer1 131 .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 laffer1 3847 .if defined(WITHOUT_CXX)
51     CONFIGURE_ARGS+= --disable-cxx
52     PLIST_SUB+= CXX="@comment "
53     .else
54     PLIST_SUB+= CXX=""
55     .endif
56    
57 laffer1 131 .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.9