# New ports collection makefile for:	zebra-server
# Date created:				14 Nov 2000
# Whom:					Dmitry Sivachenko <demon@FreeBSD.org>
#
# $FreeBSD: ports/net/zebra-server/Makefile,v 1.8 2003/02/28 11:34:39 demon Exp $
#

PORTNAME=	zebra-server
PORTVERSION=	1.3.7
CATEGORIES=	net
MASTER_SITES=	http://ftp.indexdata.dk/pub/zebra/
DISTNAME=	idzebra-${PORTVERSION}

MAINTAINER=	demon@FreeBSD.org
COMMENT=	Z39.50/SR server software

BUILD_DEPENDS=	${LOCALBASE}/bin/tclsh8.3:${PORTSDIR}/lang/tcl83
LIB_DEPENDS=	yaz.2:${PORTSDIR}/net/yaz
RUN_DEPENDS=	${LOCALBASE}/bin/tclsh8.3:${PORTSDIR}/lang/tcl83

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-yazconfig=${LOCALBASE}/bin \
		--with-tclconfig=${LOCALBASE}/lib/tcl8.3
CONFIGURE_ENV+=	PTHREAD_LIBS=${PTHREAD_LIBS}

MAN1=		zebraidx.1
MAN8=		zebrasrv.8

.include <bsd.port.mk>
