pvalchev 1832e4fb3a Import of grace-5.1.4
Grace is a tool to make two-dimensional plots of numerical data. It
runs under various (if not all) flavours of UNIX with X11 and M*tif.
Its capabilities are roughly similar to GUI-based programs like
Sigmaplot or Microcal Origin plus script-based tools like gnuplot or
Genplot. Its strength lies in the fact that it combines the
convenience of a graphical user interface with the power of a
scripting language which enables it to do sophisticated calculations
or perform automated tasks.

Flavors:
    no_x11 - build command line tool only, no gui
    fftw   - use math/fftw for optimized FFT
    netcdf - use math/netcdf for network common data form support
    xmhtml - use www/xmhtml to use grace's internal HTML browser
             for helpfiles etc.

WWW: http://plasma-gate.weizmann.ac.il/Grace/

MAINTAINER=	Nikolay Sturm <Nikolay.Sturm@desy.de>
2001-07-13 18:53:55 +00:00

71 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2001/07/13 18:53:55 pvalchev Exp $
# $FreeBSD: ports/math/grace/Makefile,v 1.18 2001/04/25 05:59:19 lkoeller Exp $
# Original from: Lars Koeller <Lars.Koeller@Uni-Bielefeld.de>
COMMENT= "GRaphing, Advanced Computation and Exploration of data"
DISTNAME= grace-5.1.4
CATEGORIES= math
NEED_VERSION= 1.419
HOMEPAGE= http://plasma-gate.weizmann.ac.il/Grace/
MAINTAINER= Nikolay Sturm <Nikolay.Sturm@desy.de>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://plasma-gate.weizmann.ac.il/pub/grace/src/ \
ftp://ftp.fu-berlin.de/unix/graphics/grace/src/ \
ftp://freedom7.swmed.edu/pub/mirrors/grace/src/
FAKE_FLAGS= GRACE_HOME=${WRKINST}${PREFIX}/grace
CONFIGURE_STYLE= gnu dest
CONFIGURE_ARGS+= --with-bundled-xbae \
--with-extra-incpath=${LOCALBASE}/include \
--with-extra-ldpath=${LOCALBASE}/lib \
--enable-grace-home=${LOCALBASE}/grace
BUILD_DEPENDS= ${LOCALBASE}/lib/libpdf.a::print/pdflib
LIB_DEPENDS= jpeg.62::graphics/jpeg \
png.2::graphics/png \
t1.2::devel/t1lib \
tiff.35::graphics/tiff
FLAVORS= no_x11 fftw netcdf xmhtml
FLAVOR?=
.if ${FLAVOR:L:Mno_x11}
CONFIGURE_ARGS+= --without-x
.else
USE_X11= Yes
USE_MOTIF= openmotif
.endif
.if ${FLAVOR:L:Mfftw}
LIB_DEPENDS+= fftw.2::math/fftw
CONFIGURE_ARGS+= --with-fftw
.else
CONFIGURE_ARGS+= --without-fftw
.endif
.if ${FLAVOR:L:Mnetcdf}
LIB_DEPENDS+= netcdf.1::math/netcdf
CONFIGURE_ARGS+= --enable-netcdf
.else
CONFIGURE_ARGS+= --disable-netcdf
.endif
.if ${FLAVOR:L:Mxmhtml}
LIB_DEPENDS+= XmHTML.1::www/xmhtml
CONFIGURE_ARGS+= --enable-xmhtml
.else
CONFIGURE_ARGS+= --disable-xmhtml
.endif
.include <bsd.port.mk>