summaryrefslogtreecommitdiff
path: root/math/xmgr/Makefile
blob: c2aae49595f581382b6a72136bb660e1662c5749 (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.3 1999/05/20 20:09:51 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/

# This isn't a good solution as any binary packages built from this
# will have the one or other dependencies compiled in. 
.if ! exists(/usr/bin/fort77)
DEPENDS+=	fort77-1.14a:../../lang/fort77
.endif
DEPENDS+=	xpm-3.4k:../../graphics/xpm
DEPENDS+=	netcdf-3.4:../../devel/netcdf
BUILD_DEPENDS=	bison:../../devel/bison

USE_X11=	YES
USE_MOTIF=	YES
GNU_CONFIGURE=	YES
CONFIGURE_ARGS=	--enable-acegr-home=${PREFIX} \
	--enable-extra-incpath=${X11BASE}/include/X11:${LOCALBASE}/include \
	--enable-extra-ldpath=${LOCALBASE}/lib

ALL_TARGET=
INSTALL_TARGET=	install

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