Date: Sun, 3 Sep 2006 12:45:57 GMT From: Max Brazhnikov <makc@issp.ac.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/102816: [maintainer update] math/qtiplot to 0.8.6 Message-ID: <200609031245.k83CjvfK018184@www.freebsd.org> Resent-Message-ID: <200609031250.k83CoGNH067247@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 102816 >Category: ports >Synopsis: [maintainer update] math/qtiplot to 0.8.6 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Sep 03 12:50:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Max Brazhnikov >Release: FreeBSD 6.1-STABLE i386 >Organization: >Environment: FreeBSD luna.zuzino.mipt.ru 6.1-STABLE FreeBSD 6.1-STABLE #0: Mon Jun 5 18:46:21 MSD 2006 makc@luna.zuzino.mipt.ru:/usr/obj/usr/src/sys/LUNA i386 >Description: Update to the latest version. Remove dependence on qwt4 - now qtiplot statically linked to qwt5 (shipped with port). Add dependence on liborigin. liborigin port should be fixed for successful compiling qtiplot: http://www.freebsd.org/cgi/query-pr.cgi?pr=102814 >How-To-Repeat: >Fix: diff -ruN --exclude=CVS /usr/ports//math/qtiplot/Makefile /home/makc/porting/ports/math/qtiplot/Makefile --- /usr/ports//math/qtiplot/Makefile Sat Aug 26 20:13:34 2006 +++ /home/makc/porting/ports/math/qtiplot/Makefile Sun Sep 3 16:03:48 2006 @@ -6,16 +6,17 @@ # PORTNAME= qtiplot -PORTVERSION= 0.8.5 +PORTVERSION= 0.8.6.2 CATEGORIES= math science MASTER_SITES= http://soft.proindependent.com/src/ +DISTNAME= ${PORTNAME}-0.8.6-2 MAINTAINER= makc@issp.ac.ru COMMENT= An Origin clone for data analysis and scientific plotting BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake LIB_DEPENDS= gsl.9:${PORTSDIR}/math/gsl \ - qwt:${PORTSDIR}/x11-toolkits/qwt \ + origin.0:${PORTSDIR}/math/liborigin \ qwtplot3d:${PORTSDIR}/math/qwtplot3d USE_BZIP2= yes @@ -33,33 +34,41 @@ IGNORE= does not compile on FreeBSD 4.x .endif -.if exists(${X11BASE}/share/qt/mkspecs/freebsd-g++) -QMAKESPEC= ${X11BASE}/share/qt/mkspecs/freebsd-g++ -.else +QMAKE= qmake QMAKESPEC= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ -.endif + +QPRO_DIRS= . \ + 3rdparty/qwt \ + fitPlugins/fitRational0 \ + fitPlugins/fitRational1 \ + qtiplot post-patch: +.for d in ${QPRO_DIRS} @${REINPLACE_CMD} -e \ - "s:../3rdparty/qwt/include:${LOCALBASE}/include/qwt:" \ + "s:../3rdparty/liborigin/include:${LOCALBASE}/include:" \ -e "s:/usr/include/qwtplot3d:${X11BASE}/include:" \ -e "/^unix:LIBS/s:-L /usr/lib:-L${LOCALBASE}/lib:" \ - -e "/^unix:LIBS/s:../3rdparty/qwt/lib/libqwt.a:-L ${LOCALBASE}/lib -lqwt:" \ -e "/^unix:documentation.path/s:/usr/share/doc/qtiplot:${DOCSDIR}:" \ - ${WRKSRC}/${PORTNAME}.pro + ${WRKSRC}/${d}/*.pro +.endfor do-configure: - @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \ - -spec ${QMAKESPEC} ${PORTNAME}.pro +.for d in ${QPRO_DIRS} + @cd ${WRKSRC}/${d} && ${SETENV} ${MAKE_ENV} ${QMAKE} \ + -spec ${QMAKESPEC} *.pro +.endfor post-configure: +.for d in ${QPRO_DIRS} @${REINPLACE_CMD} -e \ 's|^CC .*|CC=${CC}|; \ s|^CXX .*|CXX=${CXX}|; \ s|-pipe||; \ s|^\(CFLAGS .*= \)|\1${CFLAGS}|; \ s|^\(CXXFLAGS = \)|\1${CXXFLAGS}|' \ - ${WRKSRC}/Makefile + ${WRKSRC}/${d}/Makefile +.endfor do-install: ${INSTALL_PROGRAM} ${WRKSRC}/qtiplot/qtiplot ${PREFIX}/bin diff -ruN --exclude=CVS /usr/ports//math/qtiplot/distinfo /home/makc/porting/ports/math/qtiplot/distinfo --- /usr/ports//math/qtiplot/distinfo Sat Aug 26 20:13:34 2006 +++ /home/makc/porting/ports/math/qtiplot/distinfo Sun Sep 3 03:15:37 2006 @@ -1,3 +1,3 @@ -MD5 (qtiplot-0.8.5.tar.bz2) = aa7350a3e5f2662077684421e0deb21f -SHA256 (qtiplot-0.8.5.tar.bz2) = 81831d8dfaddbdf32d85a6e7eaf0e54e2321e2fba6ffaabfe6943bc326a6f874 -SIZE (qtiplot-0.8.5.tar.bz2) = 530579 +MD5 (qtiplot-0.8.6-2.tar.bz2) = 6025c050b291671ffcfcac7949e97c4e +SHA256 (qtiplot-0.8.6-2.tar.bz2) = 64342a9c19ab7fff8dd1ea7e1dafe331709393a6ad892ffda8138ec07c3df657 +SIZE (qtiplot-0.8.6-2.tar.bz2) = 655993 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609031245.k83CjvfK018184>