# ex:ts=8
# Ports collection Makefile for:	linsmith
# Date created:			Dec 22, 2006
# Whom:				ijliao
#
# $FreeBSD: ports/science/linsmith/Makefile,v 1.6 2009/01/28 23:25:20 beat Exp $
#

PORTNAME=	linsmith
PORTVERSION=	0.99.11
CATEGORIES=	science hamradio
MASTER_SITES=	SF

MAINTAINER=	beat@FreeBSD.org
COMMENT=	Smith charting program

LIB_DEPENDS=	popt.0:${PORTSDIR}/devel/popt

USE_GNOME=	pkgconfig libgnomeprint libgnomeui libxml2
USE_ICONV=	yes
USE_GETTEXT=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
	@${CP} ${FILESDIR}/carg.c  ${WRKSRC}/src

.include <bsd.port.mk>
