# ex:ts=8
# Ports collection makefile for:	qgfe
# Date created:			Aug 30, 2004
# Whom:				ijliao
#
# $FreeBSD: ports/math/qgfe/Makefile,v 1.5 2007/05/19 20:15:15 flz Exp $
#

PORTNAME=	qgfe
PORTVERSION=	1.0
PORTREVISION=	1
CATEGORIES=	math
MASTER_SITES=	http://www.xm1math.net/qgfe/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Gnuplot Front End

BUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake
RUN_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot

USE_BZIP2=	yes
USE_QT_VER=	3
MAKE_ENV=	QTDIR=${QT_PREFIX} \
		MOC=${MOC}

PLIST_FILES=	bin/qgfe

pre-build:
	@cd ${WRKSRC}; qmake -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ ${PORTNAME}.pro

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/qgfe ${PREFIX}/bin

.include <bsd.port.mk>


syntax highlighted by Code2HTML, v. 0.9.1