blob: 8c0bd336166d2271b502ad530d20c3a28a1bd444 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# New ports collection makefile for: gnutls
# Date created: 13 Nov 2002
# Whom: Sergei Kolobov <sergei@kolobov.com>
#
# $FreeBSD$
#
PORTNAME= gnutls
PORTVERSION= 0.6.0
PORTREVISION= 1
CATEGORIES= security net
MASTER_SITES= ${MASTER_SITE_GNUPG} \
http://www.mirrors.wiretapped.net/security/network-security/gnutls/ \
ftp://ftp.mirrors.wiretapped.net/security/network-security/gnutls/ \
ftp://ftp.gnutls.org/pub/gnutls/
MASTER_SITE_SUBDIR= alpha/gnutls
MAINTAINER= sergei@kolobov.com
COMMENT= GNU Transport Layer Security library
LIB_DEPENDS= gcrypt.6:${PORTSDIR}/security/libgcrypt \
tasn1.0:${PORTSDIR}/security/libtasn1
.if defined(WITH_OPENCDK)
LIB_DEPENDS+= opencdk.5:${PORTSDIR}/security/opencdk
.endif
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
DOCS= AUTHORS NEWS README THANKS
pre-configure:
@${ECHO_MSG} ""
.if defined (WITH_OPENCDK)
@${ECHO_MSG} "Enabled OpenCDK support"
.else
@${ECHO_MSG} "OpenCDK support is disabled by default"
@${ECHO_MSG} "Use WITH_OPENCDK=yes to enable"
.endif
@${ECHO_MSG} ""
post-install:
${RM} -f ${PREFIX}/lib/libgnutls.la ${PREFIX}/lib/libgnutls-extra.la
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/doc/examples/*.c ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/doc/tex/*.ps ${DOCSDIR}
.endif
.include <bsd.port.mk>
|