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

PORTNAME=	xgfe
PORTVERSION=	2.1
PORTREVISION=	1
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
USE_X_PREFIX=	yes

MAKE_ENV+=	DOCSDIR=$(DOCSDIR) PTHREAD_CFLAGS="$(PTHREAD_CFLAGS)" \
		PTHREAD_LIBS="$(PTHREAD_LIBS)"
.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>