aboutsummaryrefslogtreecommitdiff
path: root/math/qgfe/Makefile
blob: 1c1a3682acd446b19a17872fbcb6ff6b18bda719 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# ex:ts=8
# Ports collection makefile for:	qgfe
# Date created:			Aug 30, 2004
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	qgfe
PORTVERSION=	1.0
PORTREVISION=	3
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>