summaryrefslogtreecommitdiff
path: root/math/xgfe/Makefile
blob: 7a3dae5eba860b9ea3c7a05a0ef87015f2423d6c (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
# New ports collection makefile for:	xgfe
# Date created:        24 March 1998
# Whom:                Matthew Hunt <mph@pobox.com>
#
# $FreeBSD$
#

PORTNAME=	xgfe
PORTVERSION=	2.1
PORTREVISION=	5
CATEGORIES=	math
MASTER_SITES=	${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR=	graphics/gnuplot/contrib

MAINTAINER=	ports@FreeBSD.org
COMMENT=	An X11 front-end for Gnuplot

RUN_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot

USE_QT_VER=	3

MAKE_ENV+=	DOCSDIR=$(DOCSDIR) PTHREAD_CFLAGS="$(PTHREAD_CFLAGS)" \
		PTHREAD_LIBS="$(PTHREAD_LIBS)" QT_PREFIX="${QT_PREFIX}"
.if defined(NOPORTDOCS)
MAKE_ENV+=	NOPORTDOCS=$(NOPORTDOCS)
.endif

WRKSRC=		$(WRKDIR)/$(DISTNAME)/source

post-extract:
	@cd $(WRKSRC) && ${LN} -sf Makefile.freebsd-gcc Makefile

.include <bsd.port.mk>