summaryrefslogtreecommitdiff
path: root/math/xmgr/Makefile
blob: 3c24283dfddfe8fbfeeb11c572f85a827c251b06 (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
37
38
# $NetBSD: Makefile,v 1.2 1999/04/05 04:19:00 hubertf 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
CONFIGURE_ENV+=	INSTALL_SCRIPT="${INSTALL_SCRIPT}"
CONFIGURE_ENV+=	INSTALL_DATA="${INSTALL_DATA}"

ALL_TARGET=
INSTALL_TARGET=	install

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