aboutsummaryrefslogtreecommitdiffstats
path: root/math/xmgr/Makefile
blob: ca856e9e898a99a66132157a18a93112e61ec392 (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.16 1999/08/28 02:17:21 mharo 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>