Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2007 19:16:48 GMT
From:      Max Brazhnikov<makc@issp.ac.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/111730: [maintainer] math/qwtplot3d: clean up port
Message-ID:  <200704161916.l3GJGmlR083909@freefall.freebsd.org>
Resent-Message-ID: <200704161920.l3GJKC3M084636@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         111730
>Category:       ports
>Synopsis:       [maintainer] math/qwtplot3d: clean up port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 16 19:20:11 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Max Brazhnikov
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
FreeBSD luna 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu Jan 18 12:52:49 MSK 2007     root@luna.zuzino.mipt.ru:/usr/obj/usr/src/sys/LUNA  i386
>Description:
move to ${LOCALBASE}
INSTALLS_SHLIB -> USE_LDCONFIG
use COPYTREE macro
use static pkg-plist

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN --exclude=CVS /usr/ports/math/qwtplot3d/Makefile /home/makc/porting/ports/math/qwtplot3d/Makefile
--- /usr/ports/math/qwtplot3d/Makefile	Tue Feb 13 03:16:25 2007
+++ /home/makc/porting/ports/math/qwtplot3d/Makefile	Mon Apr 16 16:14:42 2007
@@ -8,6 +8,7 @@
 
 PORTNAME=	qwtplot3d
 PORTVERSION=	0.2.6
+PORTREVISION=	1
 CATEGORIES=	math
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -19,11 +20,9 @@
 BUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake
 
 USE_QT_VER=	3
-USE_X_PREFIX=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}
-MAKE_ENV=	QTDIR=${QT_PREFIX} \
-		MOC=${MOC}
-INSTALLS_SHLIB=	yes
+MAKE_ENV=	QTDIR=${QT_PREFIX}
+USE_LDCONFIG=	yes
 
 pre-build:
 	@cd ${WRKSRC}; qmake -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ ${PORTNAME}.pro
@@ -34,12 +33,8 @@
 	${LN} -fs ${PREFIX}/lib/libqwtplot3d.so.${PORTVERSION} ${PREFIX}/lib/libqwtplot3d.so.0
 	${LN} -fs ${PREFIX}/lib/libqwtplot3d.so.${PORTVERSION} ${PREFIX}/lib/libqwtplot3d.so
 .if !defined(NOPORTDOCS)
-	@${MKDIR} ${EXAMPLESDIR}
-	${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
-	@${FIND} ${EXAMPLESDIR} ! -type d | \
-		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
-	@${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \
-		${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+	${MKDIR} ${EXAMPLESDIR}
+	(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
 .endif
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/math/qwtplot3d/pkg-plist /home/makc/porting/ports/math/qwtplot3d/pkg-plist
--- /usr/ports/math/qwtplot3d/pkg-plist	Sun Apr 16 00:11:16 2006
+++ /home/makc/porting/ports/math/qwtplot3d/pkg-plist	Mon Apr 16 16:00:14 2007
@@ -29,3 +29,87 @@
 lib/libqwtplot3d.so
 lib/libqwtplot3d.so.0
 lib/libqwtplot3d.so.0.2.6
+%%PORTDOCS%%share/examples/qwtplot3d/autoswitch/autoswitch.cpp
+%%PORTDOCS%%share/examples/qwtplot3d/autoswitch/autoswitch.h
+%%PORTDOCS%%share/examples/qwtplot3d/autoswitch/autoswitch.pro
+%%PORTDOCS%%share/examples/qwtplot3d/axes/axes.pro
+%%PORTDOCS%%share/examples/qwtplot3d/axes/src/axes.h
+%%PORTDOCS%%share/examples/qwtplot3d/axes/src/axesmainwindow.cpp
+%%PORTDOCS%%share/examples/qwtplot3d/axes/src/axesmainwindow.h
+%%PORTDOCS%%share/examples/qwtplot3d/axes/src/axesmainwindowbase.ui
+%%PORTDOCS%%share/examples/qwtplot3d/axes/src/axesmainwindowbase4.ui
+%%PORTDOCS%%share/examples/qwtplot3d/axes/src/main.cpp
+%%PORTDOCS%%share/examples/qwtplot3d/box.png
+%%PORTDOCS%%share/examples/qwtplot3d/common.pro
+%%PORTDOCS%%share/examples/qwtplot3d/dsp.bat
+%%PORTDOCS%%share/examples/qwtplot3d/enrichments/enrichments.pro
+%%PORTDOCS%%share/examples/qwtplot3d/enrichments/src/enrichmentmainwindow.cpp
+%%PORTDOCS%%share/examples/qwtplot3d/enrichments/src/enrichmentmainwindow.h
+%%PORTDOCS%%share/examples/qwtplot3d/enrichments/src/enrichmentmainwindowbase.ui
+%%PORTDOCS%%share/examples/qwtplot3d/enrichments/src/enrichmentmainwindowbase4.ui
+%%PORTDOCS%%share/examples/qwtplot3d/enrichments/src/enrichments.cpp
+%%PORTDOCS%%share/examples/qwtplot3d/enrichments/src/enrichments.h
+%%PORTDOCS%%share/examples/qwtplot3d/enrichments/src/main.cpp
+%%PORTDOCS%%share/examples/qwtplot3d/examples.dsw
+%%PORTDOCS%%share/examples/qwtplot3d/examples.pro
+%%PORTDOCS%%share/examples/qwtplot3d/examples.sln
+%%PORTDOCS%%share/examples/qwtplot3d/filecell.png
+%%PORTDOCS%%share/examples/qwtplot3d/fileopen.png
+%%PORTDOCS%%share/examples/qwtplot3d/filledmesh.png
+%%PORTDOCS%%share/examples/qwtplot3d/floordata.png
+%%PORTDOCS%%share/examples/qwtplot3d/floorempty.png
+%%PORTDOCS%%share/examples/qwtplot3d/flooriso.png
+%%PORTDOCS%%share/examples/qwtplot3d/floormesh.png
+%%PORTDOCS%%share/examples/qwtplot3d/frame.png
+%%PORTDOCS%%share/examples/qwtplot3d/grid.png
+%%PORTDOCS%%share/examples/qwtplot3d/gridb.png
+%%PORTDOCS%%share/examples/qwtplot3d/gridc.png
+%%PORTDOCS%%share/examples/qwtplot3d/gridf.png
+%%PORTDOCS%%share/examples/qwtplot3d/gridfr.png
+%%PORTDOCS%%share/examples/qwtplot3d/gridl.png
+%%PORTDOCS%%share/examples/qwtplot3d/gridr.png
+%%PORTDOCS%%share/examples/qwtplot3d/hiddenline.png
+%%PORTDOCS%%share/examples/qwtplot3d/icon.ico
+%%PORTDOCS%%share/examples/qwtplot3d/icon.png
+%%PORTDOCS%%share/examples/qwtplot3d/icon.rc
+%%PORTDOCS%%share/examples/qwtplot3d/images.qrc
+%%PORTDOCS%%share/examples/qwtplot3d/mesh2/mesh2.pro
+%%PORTDOCS%%share/examples/qwtplot3d/mesh2/src/colormapreader.cpp
+%%PORTDOCS%%share/examples/qwtplot3d/mesh2/src/colormapreader.h
+%%PORTDOCS%%share/examples/qwtplot3d/mesh2/src/designerworkaround.cpp
+%%PORTDOCS%%share/examples/qwtplot3d/mesh2/src/designerworkaround.h
+%%PORTDOCS%%share/examples/qwtplot3d/mesh2/src/femreader.h
+%%PORTDOCS%%share/examples/qwtplot3d/mesh2/src/functions.h
+%%PORTDOCS%%share/examples/qwtplot3d/mesh2/src/lightingdlg.cpp
+%%PORTDOCS%%share/examples/qwtplot3d/mesh2/src/lightingdlg.h
+%%PORTDOCS%%share/examples/qwtplot3d/mesh2/src/lightingdlgbase.ui
+%%PORTDOCS%%share/examples/qwtplot3d/mesh2/src/lightingdlgbase4.ui
+%%PORTDOCS%%share/examples/qwtplot3d/mesh2/src/lightingdlgbaseimpl.cpp
+%%PORTDOCS%%share/examples/qwtplot3d/mesh2/src/lightingdlgbaseimpl.h
+%%PORTDOCS%%share/examples/qwtplot3d/mesh2/src/main.cpp
+%%PORTDOCS%%share/examples/qwtplot3d/mesh2/src/mesh.cpp
+%%PORTDOCS%%share/examples/qwtplot3d/mesh2/src/mesh2mainwindow.cpp
+%%PORTDOCS%%share/examples/qwtplot3d/mesh2/src/mesh2mainwindow.h
+%%PORTDOCS%%share/examples/qwtplot3d/mesh2/src/mesh2mainwindowbase.ui
+%%PORTDOCS%%share/examples/qwtplot3d/mesh2/src/mesh2mainwindowbase4.ui
+%%PORTDOCS%%share/examples/qwtplot3d/mesh2/src/thesis.tex
+%%PORTDOCS%%share/examples/qwtplot3d/movie.png
+%%PORTDOCS%%share/examples/qwtplot3d/nodata.png
+%%PORTDOCS%%share/examples/qwtplot3d/none.png
+%%PORTDOCS%%share/examples/qwtplot3d/normals.png
+%%PORTDOCS%%share/examples/qwtplot3d/polygon.png
+%%PORTDOCS%%share/examples/qwtplot3d/qwtplot.png
+%%PORTDOCS%%share/examples/qwtplot3d/savecontent.png
+%%PORTDOCS%%share/examples/qwtplot3d/scattered.png
+%%PORTDOCS%%share/examples/qwtplot3d/simpleplot/simpleplot.cpp
+%%PORTDOCS%%share/examples/qwtplot3d/simpleplot/simpleplot.pro
+%%PORTDOCS%%share/examples/qwtplot3d/wireframe.png
+%%PORTDOCS%%@dirrm share/examples/qwtplot3d/simpleplot
+%%PORTDOCS%%@dirrm share/examples/qwtplot3d/mesh2/src
+%%PORTDOCS%%@dirrm share/examples/qwtplot3d/mesh2
+%%PORTDOCS%%@dirrm share/examples/qwtplot3d/enrichments/src
+%%PORTDOCS%%@dirrm share/examples/qwtplot3d/enrichments
+%%PORTDOCS%%@dirrm share/examples/qwtplot3d/axes/src
+%%PORTDOCS%%@dirrm share/examples/qwtplot3d/axes
+%%PORTDOCS%%@dirrm share/examples/qwtplot3d/autoswitch
+%%PORTDOCS%%@dirrm share/examples/qwtplot3d

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704161916.l3GJGmlR083909>