summaryrefslogtreecommitdiff
path: root/math/xmgr/Makefile
blob: d892945578fac103102182ee676a3dad589331e5 (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
35
36
37
38
39
# New ports collection makefile for:	xmgr
# Version required:	4.1.1
# Date created:		So   2 M�r 1997 12:11:43 MET
# Whom:			Andreas Klemm <andreas@klemm.gtn.com>
#
# $Id: Makefile,v 1.14 1999/05/12 07:46:53 asami Exp $
#

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

MAINTAINER=	Lars.Koeller@Uni-Bielefeld.DE

BUILD_DEPENDS=	${X11BASE}/lib/libhlpclient.a:${PORTSDIR}/x11/libhelp \
		${LOCALBASE}/lib/libmfhdf.a:${PORTSDIR}/graphics/hdf
LIB_DEPENDS=	Xbae.6:${PORTSDIR}/x11-toolkits/xbae

USE_X_PREFIX=	YES
REQUIRES_MOTIF=	YES
HAS_CONFIGURE=	YES
CONFIGURE_ARGS=	-prefix=${X11BASE} \
	--enable-extra-incpath=${X11BASE}/include/X11:${LOCALBASE}/include \
	--enable-extra-ldpath=${LOCALBASE}/lib --enable-libhelp \
	--enable-mfhdf --enable-acegr-home=${X11BASE}/lib/X11/xmgr

ALL_TARGET=
INSTALL_TARGET=	install links

post-patch:
	mv ${WRKSRC}/configure ${WRKSRC}/configure.input
	sed "s%__MOTIFLIB__%${MOTIFLIB}%" ${WRKSRC}/configure.input > ${WRKSRC}/configure
	rm -f ${WRKSRC}/configure.input
	${CHMOD} 755 ${WRKSRC}/configure

.include <bsd.port.mk>