# New ports collection makefile for:	xlog
# Date created:		2002-11-05
# Whom:			Patrick Gardella <patrick@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=	xlog
PORTVERSION=	0.9.10
PORTREVISION=	1
CATEGORIES=	comms
MASTER_SITES=	http://pg4i.mattsnetwork.co.uk/download/

MAINTAINER=	matt@mattsnetwork.co.uk
COMMENT=	Amateur Radio logging application

USE_X_PREFIX=	yes
USE_GNOME=	libgnomeprint
GNU_CONFIGURE=	yes
USE_GMAKE=	yes

.if defined(WITH_HAMLIB)
LIB_DEPENDS+=	hamlib:${PORTSDIR}/comms/hamlib
CONFIGURE_ARGS+=	--enable-hamlib
.endif

MAN1=		xlog.1

pre-extract:
.if !defined(WITH_HAMLIB)
	@${ECHO_MSG} "You can enable hamlib support for Xlog by defining WITH_HAMLIB"
.endif

.include <bsd.port.mk>