summaryrefslogtreecommitdiff
path: root/graphics/yplot/Makefile
blob: 8e540626e63fb46f2ac39985b9645ed14356e55e (plain)
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
35
36
# $NetBSD: Makefile,v 1.20 2004/05/13 18:21:24 kristerw Exp $

DISTNAME=		yplot-1.1.2
PKGREVISION=		1
CATEGORIES=		graphics math
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=yplot/}

MAINTAINER=		tech-pkg@NetBSD.org
HOMEPAGE=		http://yplot.sourceforge.net/
COMMENT=		Yorick interface to PLplot

BUILD_DEPENDS+=		teTeX>=1.0:../../print/teTeX

.if (${MACHINE_ARCH} == "sparc64")
BROKEN=			Compiling hangs, needs attention.
.endif

USE_BUILDLINK3=		yes
CONFIGURE_ENV+=		PLPLOT_PREFIX=${BUILDLINK_PREFIX.plplot}
EVAL_PREFIX+=		YORICK_PREFIX=yorick
CONFIGURE_ENV+=		YORICK_HOME=${YORICK_PREFIX}
CONFIGURE_ENV+=		YORICK_SITE=${YORICK_PREFIX}/share/yorick
USE_X11=		yes

BUILDLINK_DEPMETHOD.yorick=	full

GNU_CONFIGURE=		yes
MAKEFILE=		Makefile.build

PYTHON_FOR_BUILD_ONLY=	yes
PYTHON_PATCH_SCRIPTS=	parse_documentation.py

.include "../../graphics/plplot/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../math/yorick/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"