1999-03-18 09:41:40 +01:00
|
|
|
|
# New ports collection makefile for: grace
|
|
|
|
|
# Date created: Dec 28 1998
|
2000-12-31 01:17:55 +01:00
|
|
|
|
# Whom: Lars K<>ller <Lars.Koeller@Uni-Bielefeld.de>
|
1999-03-18 09:41:40 +01:00
|
|
|
|
#
|
1999-09-10 23:19:32 +02:00
|
|
|
|
# $FreeBSD$
|
1999-03-18 09:41:40 +01:00
|
|
|
|
#
|
|
|
|
|
|
2000-04-14 09:20:58 +02:00
|
|
|
|
PORTNAME= grace
|
2004-07-18 18:06:12 +02:00
|
|
|
|
PORTVERSION= 5.1.16
|
|
|
|
|
#PORTREVISION= 1
|
1999-03-18 09:41:40 +01:00
|
|
|
|
CATEGORIES= math print
|
|
|
|
|
#
|
2000-12-29 17:22:02 +01:00
|
|
|
|
# You never know when and why it is moved to ../src/old/ :-)
|
1999-03-18 09:41:40 +01:00
|
|
|
|
#
|
1999-09-10 18:39:13 +02:00
|
|
|
|
MASTER_SITES= ftp://plasma-gate.weizmann.ac.il/pub/grace/src/ \
|
1999-03-18 09:41:40 +01:00
|
|
|
|
ftp://plasma-gate.weizmann.ac.il/pub/grace/src/old/ \
|
|
|
|
|
ftp://abragam.med.utoronto.ca/pub/mirrors/grace/src/ \
|
|
|
|
|
ftp://abragam.med.utoronto.ca/pub/mirrors/grace/src/old/ \
|
|
|
|
|
ftp://linux.mathematik.tu-darmstadt.de/pub/linux/mirrors/misc/grace/src/old/ \
|
|
|
|
|
ftp://linux.mathematik.tu-darmstadt.de/pub/linux/mirrors/misc/grace/src/
|
|
|
|
|
|
|
|
|
|
MAINTAINER= Lars.Koeller@Uni-Bielefeld.DE
|
2003-02-21 13:51:06 +01:00
|
|
|
|
COMMENT= A powerful plotting tool (successor of xmgr)
|
1999-03-18 09:41:40 +01:00
|
|
|
|
|
2003-01-12 11:59:17 +01:00
|
|
|
|
LIB_DEPENDS= Xbae:${PORTSDIR}/x11-toolkits/xbae \
|
1999-09-10 18:39:13 +02:00
|
|
|
|
netcdf.1:${PORTSDIR}/math/netcdf \
|
1999-03-18 09:41:40 +01:00
|
|
|
|
fftw.2:${PORTSDIR}/math/fftw \
|
1999-09-10 18:39:13 +02:00
|
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
|
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
2001-09-11 05:32:41 +02:00
|
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
2001-12-03 21:03:06 +01:00
|
|
|
|
t1:${PORTSDIR}/devel/t1lib \
|
2000-12-29 17:22:02 +01:00
|
|
|
|
XmHTML.1:${PORTSDIR}/x11-toolkits/xmhtml \
|
2004-06-25 13:24:25 +02:00
|
|
|
|
pdf.7:${PORTSDIR}/print/pdflib
|
1999-09-07 12:45:31 +02:00
|
|
|
|
|
2001-12-03 21:03:06 +01:00
|
|
|
|
MAN1= convcal.1 grace.1 xmgrace.1 gracebat.1 grconvert.1
|
1999-03-18 09:41:40 +01:00
|
|
|
|
|
|
|
|
|
USE_X_PREFIX= YES
|
1999-05-29 06:23:15 +02:00
|
|
|
|
USE_GMAKE= YES
|
2000-11-08 00:28:20 +01:00
|
|
|
|
USE_MOTIF= YES
|
2004-01-26 20:08:24 +01:00
|
|
|
|
USE_REINPLACE= YES
|
1999-03-18 09:41:40 +01:00
|
|
|
|
HAS_CONFIGURE= YES
|
|
|
|
|
CONFIGURE_ARGS= -prefix=${X11BASE} \
|
2000-12-29 17:22:02 +01:00
|
|
|
|
--with-extra-incpath=${X11BASE}/include/X11:${LOCALBASE}/include \
|
2002-02-11 22:35:06 +01:00
|
|
|
|
--with-extra-ldpath=${LOCALBASE}/lib --without-bundled_xbae \
|
2000-12-29 17:22:02 +01:00
|
|
|
|
--enable-grace-home=${X11BASE}/lib/X11/grace
|
1999-03-18 09:41:40 +01:00
|
|
|
|
|
|
|
|
|
ALL_TARGET=
|
2003-09-15 20:31:28 +02:00
|
|
|
|
INSTALL_TARGET= install links
|
1999-03-18 09:41:40 +01:00
|
|
|
|
|
|
|
|
|
post-patch:
|
2004-01-26 20:08:24 +01:00
|
|
|
|
${REINPLACE_CMD} -e "s%-lXm %${MOTIFLIB} %" ${WRKSRC}/configure
|
1999-03-18 09:41:40 +01:00
|
|
|
|
|
1999-09-10 18:39:13 +02:00
|
|
|
|
post-install:
|
2000-12-29 17:22:02 +01:00
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
|
if [ ! -e ${X11BASE}/share/doc/grace ]; then \
|
|
|
|
|
${LN} -s ${X11BASE}/lib/X11/grace/doc ${X11BASE}/share/doc/grace; \
|
|
|
|
|
fi
|
|
|
|
|
.endif
|
1999-09-10 18:39:13 +02:00
|
|
|
|
|
2004-06-21 23:28:56 +02:00
|
|
|
|
.include <bsd.port.mk>
|