# ex:ts=8
# Ports collection makefile for:	fityk
# Date created:			Mar 8, 2005
# Whom:				ijliao
#
# $FreeBSD: ports/math/fityk/Makefile,v 1.23 2007/12/14 18:45:47 miwi Exp $
#

PORTNAME=	fityk
PORTVERSION=	0.8.2
CATEGORIES=	math
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Free peak fitting software

BUILD_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot
LIB_DEPENDS=	boost_thread.4:${PORTSDIR}/devel/boost
RUN_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot

USE_BZIP2=	yes
USE_GNOME=	gnometarget gtk20
USE_WX=		2.6+
WX_CONF_ARGS=	absolute
USE_GMAKE=	yes
USE_AUTOTOOLS=	libtool:15
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS=	--disable-3rdparty
USE_LDCONFIG=	yes

MAN1=		fityk.1

CPPFLAGS=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}

post-install:
	@-update-mime-database ${PREFIX}/share/mime

.include <bsd.port.mk>


syntax highlighted by Code2HTML, v. 0.9.1