ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/security/gnutls/Makefile
Revision: 15462
Committed: Tue Sep 17 03:15:41 2013 UTC (10 years, 7 months ago) by laffer1
File size: 2046 byte(s)
Log Message:
fixup some properties.

File Contents

# User Rev Content
1 laffer1 15462 # $MidnightBSD$
2 laffer1 131
3     PORTNAME= gnutls
4 laffer1 14169 PORTVERSION= 2.12.23
5     PORTREVISION= 2
6 laffer1 131 CATEGORIES= security net
7 laffer1 14169 MASTER_SITES= ftp://ftp.gnutls.org/gcrypt/gnutls/v${PORTVERSION:C/.[0-9]+$//}/
8 laffer1 131
9     MAINTAINER= ports@MidnightBSD.org
10     COMMENT= GNU Transport Layer Security library
11 vganji 9529 LICENSE= gpl3
12 laffer1 7767
13 laffer1 14169 LIB_DEPENDS= nettle:${PORTSDIR}/security/nettle \
14     gpg-error:${PORTSDIR}/security/libgpg-error \
15     p11-kit:${PORTSDIR}/security/p11-kit
16 laffer1 131
17 vganji 9529 CONFLICTS= gnutls-devel-[0-9]*
18    
19 laffer1 14169 USE_PATHFIX= yes
20 laffer1 131 USE_BZIP2= yes
21     USE_ICONV= yes
22 laffer1 14169 USE_PKGCONFIG= build
23     USE_GNOME= ltverhack gnomehack
24 laffer1 131 GNU_CONFIGURE= yes
25 vganji 9529 MAKE_JOBS_SAFE= yes
26 laffer1 4271 USE_LDCONFIG= yes
27 laffer1 10713 USE_AUTOTOOLS= libtool
28 laffer1 14169 LIBTOOLFILES= configure lib/configure libextra/configure
29 laffer1 131 CPPFLAGS+= -I${LOCALBASE}/include
30     LDFLAGS+= -L${LOCALBASE}/lib
31 laffer1 14169 CPPFLAGS+= -fPIC
32 vganji 9529 CONFIGURE_ARGS+= --disable-guile
33 laffer1 131 MANCOMPRESSED= no
34    
35 laffer1 14169 OPTIONS_DEFINE= LIBTASN1 CXX LZO NLS
36 laffer1 131
37 laffer1 14169 LIBTASN1_DESC= Use system libtasn1 instead of local one
38     CXX_DESC= Install C++ library
39     LZO_DESC= LZO compression
40    
41     OPTIONS_DEFAULT= LIBTASN1 CXX
42    
43     .include <bsd.mport.options.mk>
44    
45     .if ${PORT_OPTIONS:MLIBTASN1}
46     LIB_DEPENDS+= tasn1:${PORTSDIR}/security/libtasn1
47 laffer1 7767 .else
48     CONFIGURE_ARGS+= --with-included-libtasn1
49 laffer1 131 .endif
50    
51 laffer1 14169 .if ${PORT_OPTIONS:MLZO}
52 laffer1 7767 LIB_DEPENDS+= lzo2:${PORTSDIR}/archivers/lzo2
53     CONFIGURE_ARGS+= --with-lzo
54     .endif
55    
56 laffer1 14169 .if ${PORT_OPTIONS:MCXX}
57 laffer1 3847 CONFIGURE_ARGS+= --disable-cxx
58 laffer1 7767 PLIST_SUB+= CXX="@comment "
59 laffer1 3847 .else
60 laffer1 7767 PLIST_SUB+= CXX=""
61 laffer1 3847 .endif
62    
63 laffer1 14169 .if ${PORT_OPTIONS:MNLS}
64 laffer1 131 CONFIGURE_ARGS+= --disable-nls
65     PLIST_SUB+= NLS="@comment "
66     .else
67 laffer1 14169 USES+= gettext
68 laffer1 131 PLIST_SUB+= NLS=""
69     .endif
70    
71     PORTDOCS= AUTHORS NEWS README THANKS
72 laffer1 14169 PORTEXAMPLES= *.c
73 laffer1 131
74 laffer1 14169 post-patch:
75     @${FIND} ${WRKSRC} -name "Makefile.in" -type f | ${XARGS} ${REINPLACE_CMD} \
76     -e 's|[$$][(]LTLIBPTHREAD[)]||g'
77 laffer1 131
78     post-install:
79 laffer1 14169 .if !defined (NOPORTEXAMPLES)
80 laffer1 131 @${MKDIR} ${EXAMPLESDIR}
81 laffer1 14169 cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES:C,^,doc/examples/,} \
82     ${EXAMPLESDIR}
83     .endif
84 laffer1 131 .if !defined(NOPORTDOCS)
85     @${MKDIR} ${DOCSDIR}
86     .for i in ${PORTDOCS}
87     @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
88     .endfor
89     .endif
90    
91     .include "Makefile.man"
92 laffer1 14169 .include <bsd.port.mk>

Properties

Name Value
svn:keywords MidnightBSD=%H