# Created by: Christian Laursen <xi@borderworlds.dk>
# $FreeBSD: branches/RELENG_9_2_0/net/nbd-server/Makefile 317110 2013-05-02 13:14:54Z pawel $

PORTNAME=	nbd
PORTVERSION=	3.3
PORTEPOCH=	1
CATEGORIES=	net
MASTER_SITES=	SF
PKGNAMESUFFIX=	-server

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Server for the Linux network block device (nbd)

USE_BZIP2=	yes
USE_GNOME=	glib20
USES=		pkgconfig
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-lfs --enable-syslog

PLIST_FILES=	bin/nbd-server bin/nbd-trdump
MAN1=		nbd-server.1 nbd-trdump.1
MAN5=		nbd-server.5
MAN8=		nbd-client.8

regression-test: build
		cd ${WRKSRC} && ${MAKE} check

.include <bsd.port.mk>
