summaryrefslogtreecommitdiff
path: root/net/yaz/Makefile
blob: 10af25eca440edb236bec805d5933f6c2338da59 (plain)
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
# $NetBSD: Makefile,v 1.13 2008/01/18 05:08:52 tnn Exp $
#

DISTNAME=	yaz-2.1.56
PKGREVISION=	2
CATEGORIES=	net
MASTER_SITES=	http://ftp.indexdata.dk/pub/yaz/

MAINTAINER=	phil@NetBSD.org
HOMEPAGE=	http://indexdata.dk/yaz/
COMMENT=	C/C++ toolkit for the development of Z39.50v3/SRW clients and servers

USE_LIBTOOL=	YES
GNU_CONFIGURE=	YES

PTHREAD_OPTS+=	native optional

.include "../../textproc/libxml2/buildlink3.mk"
CONFIGURE_ARGS+=	--with-xml2=${BUILDLINK_PREFIX.libxml2}

.include "../../security/openssl/buildlink3.mk"
CONFIGURE_ARGS+=	--with-openssl=${BUILDLINK_PREFIX.openssl}

.include "../../converters/libiconv/buildlink3.mk"
CONFIGURE_ARGS+=	--with-iconv=${BUILDLINK_PREFIX.libiconv}

.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
PLIST_SUBST+=	YAZTHREAD="@comment "
.else
PLIST_SUBST+=	YAZTHREAD=""
.endif

.include "../../mk/bsd.pkg.mk"