summaryrefslogtreecommitdiff
path: root/math/xmgr/Makefile
blob: ea3a08159b0df13ad6f6af577ef44efaf9e774e7 (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.7 2000/08/23 23:14:29 tron Exp $
# FreeBSD Id: Makefile,v 1.13 1998/12/12 22:27:21 jseger Exp
#

DISTNAME=		xmgr-4.1.2
CATEGORIES=		math
MASTER_SITES=		ftp://plasma-gate.weizmann.ac.il/pub/xmgr4/src/ \
			ftp://plasma-gate.weizmann.ac.il/pub/xmgr4/src/old/ \
			ftp://fire.mpi-stuttgart.mpg.de/pub/mirrors/xmgr4/src/ \
			ftp://fire.mpi-stuttgart.mpg.de/pub/mirrors/xmgr4/src/old/ \
			ftp://wauug.erols.com/pub/X-Windows/xmgr4/src/ \
			ftp://wauug.erols.com/pub/X-Windows/xmgr4/src/old/

MAINTAINER=		packages@NetBSD.org
HOMEPAGE=		http://plasma-gate.weizmann.ac.il/Xmgr/

BUILD_DEPENDS=		bison:../../devel/bison
DEPENDS+=		netcdf-3.4:../../devel/netcdf

USE_FORTRAN=		YES
USE_X11=		YES
USE_XPM=		YES
USE_MOTIF=		YES

GNU_CONFIGURE=		YES
CONFIGURE_ARGS+=	--enable-acegr-home="${PREFIX}"
CONFIGURE_ARGS+=	--enable-extra-incpath="${EXTRA_INCDIRS}"
CONFIGURE_ARGS+=	--enable-extra-ldpath="${LOCALBASE}/lib"

EVAL_PREFIX+=		XPMDIR=xpm
EXTRA_INCDIRS=		${XPMDIR}/include/X11:${LOCALBASE}/include

ALL_TARGET=		# empty
INSTALL_TARGET=		install

.include "../../mk/bsd.pkg.mk"