Date: Fri, 29 Jul 2005 10:04:23 -0600 (MDT) From: Jie Gao <gaoj@cpsc.ucalgary.ca> To: FreeBSD-gnats-submit@FreeBSD.org Cc: thierry@FreeBSD.org, krion@voodoo.oberon.net Subject: ports/84310: [Maintainer] Update math/qtiplot to latest version (and fix unfetchable problem) Message-ID: <200507291604.j6TG4NcD046551@localhost.cpsc.ucalgary.ca> Resent-Message-ID: <200507291610.j6TGAVRu025903@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 84310 >Category: ports >Synopsis: [Maintainer] Update math/qtiplot to latest version (and fix unfetchable problem) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Jul 29 16:10:31 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Jie Gao >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD aibsd 5.4-STABLE FreeBSD 5.4-STABLE #2: Thu Jun 23 14:31:49 MDT 2005 gaoj@aibsd:/usr/src/sys/i386/compile/AIBSD i386 >Description: Update math/qtiplot to 0.6.4 --- the latest version. And take advices to install docs. This also fix the problem with fetching the distfile of 0.6.2-2 version. >How-To-Repeat: cd /usr/ports/math/qtiplot && make fetch You will find qtiplot-0.6.2-2.zip is not fetchable. >Fix: Apply the patch below: --- patch-math-qtiplot begins here --- Index: math/qtiplot/Makefile =================================================================== RCS file: /home/grads/gaoj/repository/ports/math/qtiplot/Makefile,v retrieving revision 1.3 diff -u -r1.3 Makefile --- math/qtiplot/Makefile 7 Jul 2005 17:43:28 -0000 1.3 +++ math/qtiplot/Makefile 29 Jul 2005 15:59:54 -0000 @@ -6,24 +6,27 @@ # PORTNAME= qtiplot -PORTVERSION= 0.6.2.2 +PORTVERSION= 0.6.4 CATEGORIES= math science -MASTER_SITES= http://soft.proindependent.com/ -DISTNAME= ${PORTNAME}-0.6.2-2 +MASTER_SITES= http://soft.proindependent.com/src/ MAINTAINER= gaoj@cpsc.ucalgary.ca COMMENT= An Origin clone for data analysis and scientific plotting +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}-${PORTVERSION} 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_BZIP2= yes USE_REINPLACE= yes USE_GMAKE= yes -PLIST_FILES= bin/qtiplot +PLIST_FILES= bin/qtiplot \ + %%PORTDOCS%%%%DOCSDIR%%/faq.html \ + %%PORTDOCS%%%%DOCSDIR%%/help.html \ + "%%PORTDOCS%%@dirrm %%DOCSDIR%%" USE_QT_VER= 3 MAKE_ENV= QTDIR=${QT_PREFIX} @@ -40,16 +43,18 @@ QMAKESPEC= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ .endif -pre-configure: +post-patch: @${REINPLACE_CMD} -e \ - "s:/home/ion/qt/qwt-4.2.0/include:${LOCALBASE}/include/qwt:" \ + "s:../3rdparty/qwt/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 + -e "/^unix:LIBS/s:../3rdparty/qwt/lib:${LOCALBASE}/lib:" \ + -e "/^unix:documentation.path/s:/usr/share/doc/qtiplot:${DOCSDIR}:" \ + ${WRKSRC}/${PORTNAME}-${PORTVERSION}.pro do-configure: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \ - -spec ${QMAKESPEC} qtiplot.pro + -spec ${QMAKESPEC} ${PORTNAME}-${PORTVERSION}.pro post-configure: @${REINPLACE_CMD} -e \ @@ -61,6 +66,12 @@ ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/qtiplot ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/../qtiplot ${PREFIX}/bin +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for DOCFN in faq.html help.html + ${INSTALL_MAN} ${WRKSRC}/doc/${DOCFN} ${DOCSDIR} +.endfor +.endif .include <bsd.port.post.mk> Index: math/qtiplot/distinfo =================================================================== RCS file: /home/grads/gaoj/repository/ports/math/qtiplot/distinfo,v retrieving revision 1.2 diff -u -r1.2 distinfo --- math/qtiplot/distinfo 7 Jul 2005 17:43:28 -0000 1.2 +++ math/qtiplot/distinfo 29 Jul 2005 15:59:54 -0000 @@ -1,2 +1,2 @@ -MD5 (qtiplot-0.6.2-2.zip) = 251d406ad4ddfbbb10b7d347f755ee1b -SIZE (qtiplot-0.6.2-2.zip) = 334479 +MD5 (qtiplot-0.6.4.tar.bz2) = f22bec91f66df4ab546a3befbbbb200e +SIZE (qtiplot-0.6.4.tar.bz2) = 391282 --- patch-math-qtiplot ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507291604.j6TG4NcD046551>