freebsd-ports/math/labplot/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00

120 lines
2.9 KiB
Makefile

# New ports collection makefile for: labplot
# Date created: 07 August 2004
# Whom: Kay Lehmann <kay_lehmann@web.de>
#
# $FreeBSD$
#
PORTNAME= LabPlot
PORTVERSION= 1.6.0.2
PORTREVISION= 4
CATEGORIES= math kde
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=labplot
MAINTAINER= makc@FreeBSD.org
COMMENT= LabPlot : Data analysis and visualisation
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
jasper.4:${PORTSDIR}/graphics/jasper \
MagickWand.2:${PORTSDIR}/graphics/ImageMagick \
gsl.13:${PORTSDIR}/math/gsl \
fftw3.5:${PORTSDIR}/math/fftw3 \
qwtplot3d.0:${PORTSDIR}/math/qwtplot3d \
origin.0:${PORTSDIR}/math/liborigin
USE_BZIP2= yes
USE_QT_VER= 3
USE_KDELIBS_VER=3
USE_GL= glu
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:22
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
USE_GETTEXT= yes
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
CONFIGURE_ARGS+=--enable-system-qwtplot3d=yes --enable-system-liborigin=yes \
--enable-ocaml=no --enable-fftw=no
MAN1= LabPlot.1 labplot.1
OPTIONS+= R "Statistic analysis using R language" off
OPTIONS+= QHULL "Qhull support" off
OPTIONS+= PSTOEDIT "Export to vector graphics using pstoedit" off
OPTIONS+= NETCDF "netCDF data support" off
OPTIONS+= CDF "CDF data support" off
OPTIONS+= HDF5 "HDF5 data support" off
OPTIONS+= AUDIOFILE "Audio data support" off
OPTIONS+= KEXIDB "KexiDB support" off
OPTIONS+= QSA "Qt Scripting support" off
OPTIONS+= TEXVC "Latex formula editor" off
.include <bsd.port.pre.mk>
.if defined(WITH_R)
LIB_DEPENDS+= R.0:${PORTSDIR}/math/R
CONFIGURE_ENV+= R_HOME=${LOCALBASE}/lib/R
CONFIGURE_ARGS+=--enable-R=yes
.else
CONFIGURE_ARGS+=--enable-R=no
.endif
.if defined(WITH_QHULL)
LIB_DEPENDS+= qhull.5:${PORTSDIR}/math/qhull
CONFIGURE_ARGS+=--enable-qhull=yes
.else
CONFIGURE_ARGS+=--enable-qhull=no
.endif
.if defined(WITH_PSTOEDIT)
RUN_DEPENDS+= pstoedit:${PORTSDIR}/graphics/pstoedit
.endif
.if defined(WITH_NETCDF)
LIB_DEPENDS+= netcdf.4:${PORTSDIR}/science/netcdf
CONFIGURE_ARGS+=--enable-netcdf=yes
.else
CONFIGURE_ARGS+=--enable-netcdf=no
.endif
.if defined(WITH_CDF)
LIB_DEPENDS+= cdf.0:${PORTSDIR}/science/cdf
CONFIGURE_ARGS+=--enable-cdf=yes
.else
CONFIGURE_ARGS+=--enable-cdf=no
.endif
.if defined(WITH_HDF5)
LIB_DEPENDS+= hdf5.0:${PORTSDIR}/science/hdf5
CONFIGURE_ARGS+=--enable-hdf5=yes
.else
CONFIGURE_ARGS+=--enable-hdf5=no
.endif
.if defined(WITH_AUDIOFILE)
LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile
CONFIGURE_ARGS+=--enable-audiofile=yes
.else
CONFIGURE_ARGS+=--enable-audiofile=no
.endif
.if defined(WITH_KEXIDB)
LIB_DEPENDS+= kexidb.2:${PORTSDIR}/editors/koffice-kde3
CONFIGURE_ARGS+=--enable-KexiDB=yes
.else
CONFIGURE_ARGS+=--enable-KexiDB=no
.endif
.if defined(WITH_QSA)
LIB_DEPENDS+= qsa.1:${PORTSDIR}/devel/qsa
CONFIGURE_ARGS+=--enable-qsa=yes
.else
CONFIGURE_ARGS+=--enable-qsa=no
.endif
.if defined(WITH_TEXVC)
RUN_DEPENDS+= texvc:${PORTSDIR}/print/texvc
.endif
.include <bsd.port.post.mk>