# ex:ts=8
# Ports collection Makefile for:	linsmith
# Date created:			Dec 22, 2006
# Whom:				ijliao
#
# $FreeBSD: ports/science/linsmith/Makefile,v 1.2 2007/05/19 20:22:13 flz Exp $
#

PORTNAME=	linsmith
PORTVERSION=	0.99.3
PORTREVISION=	1
CATEGORIES=	science
MASTER_SITES=	SF

MAINTAINER=	ijliao@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>
