1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/math/qtiplot/Makefile
Jean-Yves Lefort e09df88e2c Add qtiplot.
The purpose of QtiPlot was to develop a free, platform independent clone of
Origin. The result is still far away from its model, but there's a "wish to"
list that is being constantly worked on.

Features:

  * Neat 2D and 3D data plotting
  * ASCII-Import
  * Spreadsheet and calculations in column-logic
  * Great non-linear y=f(x) curve fitting and estimation of statistical
    errors of the fit-parameters

WWW: http://soft.proindependent.com/qtiplot.html

PR:		ports/80849
Submitted by:	Jie Gao <gaoj@cpsc.ucalgary.ca>
2005-05-14 10:09:05 +00:00

60 lines
1.3 KiB
Makefile

# New ports collection makefile for: qtiplot
# Date created: 9 May 2005
# Whom: Jie Gao <gaoj@cpsc.ucalgary.ca>
#
# $FreeBSD$
#
PORTNAME= qtiplot
PORTVERSION= 0.6.0
CATEGORIES= math science
MASTER_SITES= http://soft.proindependent.com/
MAINTAINER= gaoj@cpsc.ucalgary.ca
COMMENT= An Origin clone for data analysis and scientific plotting
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
LIB_DEPENDS= gsl:${PORTSDIR}/math/gsl \
qwt:${PORTSDIR}/x11-toolkits/qwt \
qwtplot3d:${PORTSDIR}/math/qwtplot3d
USE_ZIP= yes
USE_REINPLACE= yes
USE_GMAKE= yes
PLIST_FILES= bin/qtiplot
USE_QT_VER= 3
MAKE_ENV= QTDIR=${QT_PREFIX}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
IGNORE= does not compile on FreeBSD 4.x
.endif
pre-configure:
@${REINPLACE_CMD} -e \
"s:/home/ion/qt/qwt-4.2.0/include:${LOCALBASE}/include/qwt:" \
-e "s:/home/ion/qt/qwtplot3d/include:${X11BASE}/include:" \
-e "/^unix:LIBS/s:-L /usr/lib:-L${LOCALBASE}/lib:" \
${WRKSRC}/qtiplot.pro
do-configure:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \
-spec freebsd-g++ qtiplot.pro
post-configure:
@${REINPLACE_CMD} -e \
's|^CC .*|CC=${CC}|; \
s|^CXX .*|CXX=${CXX}|; \
s|-pipe||; \
s|^\(CFLAGS .*= \)|\1${CFLAGS}|; \
s|^\(CXXFLAGS = \)|\1${CXXFLAGS}|' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/qtiplot ${PREFIX}/bin
.include <bsd.port.post.mk>