summaryrefslogtreecommitdiff
path: root/cad/meshlab
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2011-02-14 07:44:02 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2011-02-14 07:44:02 +0000
commit8b3ffd5b62f18c81a37f1522ff22e9c766a4d6f5 (patch)
treee56d4be4accc2b2efad664c5cfd4d8ee59e1e1b0 /cad/meshlab
parent- Fix pkg-plist for PORTDOCS (ffplay and ffserver) (diff)
- New port: cad/meshlab
MeshLab is an open source, portable, and extensible system for the processing and editing of unstructured 3D triangular meshes. WWW: http://meshlab.sourceforge.net/
Diffstat (limited to 'cad/meshlab')
-rw-r--r--cad/meshlab/Makefile52
-rw-r--r--cad/meshlab/distinfo2
-rw-r--r--cad/meshlab/files/patch-common_pluginmanager.cpp14
-rw-r--r--cad/meshlab/pkg-descr7
-rw-r--r--cad/meshlab/pkg-plist248
5 files changed, 323 insertions, 0 deletions
diff --git a/cad/meshlab/Makefile b/cad/meshlab/Makefile
new file mode 100644
index 000000000000..46f90ebf5f0e
--- /dev/null
+++ b/cad/meshlab/Makefile
@@ -0,0 +1,52 @@
+# ex: ts=8
+# New ports collection Makefile for: meshlab
+# Date created: 26 October 2010
+# Whom: gahr
+#
+# $FreeBSD$
+#
+
+PORTNAME= meshlab
+PORTVERSION= 1.2.3
+CATEGORIES= cad
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/MeshLab%20v${PORTVERSION}/
+DISTNAME= MeshLabSrc_AllInc_v123a
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= gahr@FreeBSD.org
+COMMENT= A tool for processing and editing 3D triangular meshes
+
+USE_GL= glew
+USE_QT_VER= 4
+QT_COMPONENTS= qmake corelib gui xml opengl network moc uic rcc
+
+USE_LDCONFIG= yes
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/meshlab/src
+
+post-patch:
+ ${FIND} ${WRKSRC} -name "*.pro" | ${XARGS} ${REINPLACE_CMD} -e 's|^linux-g++|freebsd-g++|'
+ ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
+ ${WRKSRC}/common/pluginmanager.cpp
+
+do-configure:
+ cd ${WRKSRC}/external && ${QMAKE} -recursive external.pro
+ cd ${WRKSRC} && ${QMAKE} -recursive meshlabv12.pro
+
+do-build:
+ cd ${WRKSRC}/external && ${MAKE}
+ cd ${WRKSRC} && ${MAKE}
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/distrib/libcommon.so.1.0.0 ${PREFIX}/lib
+ ${LN} -sf ${PREFIX}/lib/libcommon.so.1.0.0 ${PREFIX}/lib/libcommon.so.1.0
+ ${LN} -sf ${PREFIX}/lib/libcommon.so.1.0 ${PREFIX}/lib/libcommon.so.1
+ ${LN} -sf ${PREFIX}/lib/libcommon.so.1 ${PREFIX}/lib/libcommon.so
+ ${MKDIR} ${PREFIX}/lib/meshlab/plugins
+ cd ${WRKSRC}/distrib/plugins && ${COPYTREE_SHARE} \*.so ${PREFIX}/lib/meshlab/plugins
+ ${MKDIR} ${PREFIX}/lib/meshlab/shaders
+ cd ${WRKSRC}/distrib/shaders && ${COPYTREE_SHARE} \* ${PREFIX}/lib/meshlab/shaders
+ ${INSTALL_PROGRAM} ${WRKSRC}/distrib/meshlab ${PREFIX}/lib/meshlab
+ ${LN} -sf ${PREFIX}/lib/meshlab/meshlab ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/cad/meshlab/distinfo b/cad/meshlab/distinfo
new file mode 100644
index 000000000000..e8380521aa70
--- /dev/null
+++ b/cad/meshlab/distinfo
@@ -0,0 +1,2 @@
+SHA256 (MeshLabSrc_AllInc_v123a.tgz) = 3b515ddde7ff24a14ba32e3cbc755661cd7d58a4a2a467133d59fad001168427
+SIZE (MeshLabSrc_AllInc_v123a.tgz) = 11126723
diff --git a/cad/meshlab/files/patch-common_pluginmanager.cpp b/cad/meshlab/files/patch-common_pluginmanager.cpp
new file mode 100644
index 000000000000..e6be3aed5663
--- /dev/null
+++ b/cad/meshlab/files/patch-common_pluginmanager.cpp
@@ -0,0 +1,14 @@
+--- common/pluginmanager.cpp.orig 2011-02-07 14:11:51.000000000 +0100
++++ common/pluginmanager.cpp 2011-02-07 14:12:33.000000000 +0100
+@@ -98,7 +98,11 @@
+
+ QString PluginManager::getPluginDirPath()
+ {
++#ifdef __FreeBSD__
++ QDir pluginsDir("%%PREFIX%%/lib/meshlab/");
++#else
+ QDir pluginsDir(getBaseDirPath());
++#endif
+ if(!pluginsDir.exists("plugins"))
+ //QMessageBox::warning(0,"Meshlab Initialization","Serious error. Unable to find the plugins directory.");
+ qDebug("Meshlab Initialization: Serious error. Unable to find the plugins directory.");
diff --git a/cad/meshlab/pkg-descr b/cad/meshlab/pkg-descr
new file mode 100644
index 000000000000..a9b4a5ff2c9a
--- /dev/null
+++ b/cad/meshlab/pkg-descr
@@ -0,0 +1,7 @@
+MeshLab is an open source, portable, and extensible system for the processing
+and editing of unstructured 3D triangular meshes. The system is aimed to help
+the processing of the typical not-so-small unstructured models arising in 3D
+scanning, providing a set of tools for editing, cleaning, healing, inspecting,
+rendering and converting this kind of meshes.
+
+WWW: http://meshlab.sourceforge.net/
diff --git a/cad/meshlab/pkg-plist b/cad/meshlab/pkg-plist
new file mode 100644
index 000000000000..aef58ca74aa7
--- /dev/null
+++ b/cad/meshlab/pkg-plist
@@ -0,0 +1,248 @@
+bin/meshlab
+lib/libcommon.so.1.0.0
+lib/libcommon.so.1.0
+lib/libcommon.so.1
+lib/libcommon.so
+lib/meshlab/meshlab
+lib/meshlab/plugins/libdecorate_shadow.so
+lib/meshlab/plugins/libedit_hole.so
+lib/meshlab/plugins/libedit_pickpoints.so
+lib/meshlab/plugins/libedit_quality.so
+lib/meshlab/plugins/libedit_select.so
+lib/meshlab/plugins/libedit_texture.so
+lib/meshlab/plugins/libedit_topo.so
+lib/meshlab/plugins/libeditalign.so
+lib/meshlab/plugins/libeditmeasure.so
+lib/meshlab/plugins/libeditpaint.so
+lib/meshlab/plugins/libeditrgbtri.so
+lib/meshlab/plugins/libeditsegment.so
+lib/meshlab/plugins/libfilter_aging.so
+lib/meshlab/plugins/libfilter_ao.so
+lib/meshlab/plugins/libfilter_autoalign.so
+lib/meshlab/plugins/libfilter_clean.so
+lib/meshlab/plugins/libfilter_colorize.so
+lib/meshlab/plugins/libfilter_colorproc.so
+lib/meshlab/plugins/libfilter_create.so
+lib/meshlab/plugins/libfilter_fractal.so
+lib/meshlab/plugins/libfilter_func.so
+lib/meshlab/plugins/libfilter_isoparametrization.so
+lib/meshlab/plugins/libfilter_measure.so
+lib/meshlab/plugins/libfilter_meshing.so
+lib/meshlab/plugins/libfilter_mls.so
+lib/meshlab/plugins/libfilter_plymc.so
+lib/meshlab/plugins/libfilter_poisson.so
+lib/meshlab/plugins/libfilter_qhull.so
+lib/meshlab/plugins/libfilter_quality.so
+lib/meshlab/plugins/libfilter_sampling.so
+lib/meshlab/plugins/libfilter_select.so
+lib/meshlab/plugins/libfilter_slice.so
+lib/meshlab/plugins/libfilter_splitter.so
+lib/meshlab/plugins/libfilter_texture.so
+lib/meshlab/plugins/libfilter_trioptimize.so
+lib/meshlab/plugins/libfilter_unsharp.so
+lib/meshlab/plugins/libfilter_zippering.so
+lib/meshlab/plugins/libfilterborder.so
+lib/meshlab/plugins/libfiltercreateiso.so
+lib/meshlab/plugins/libfiltergeodesic.so
+lib/meshlab/plugins/libio_3ds.so
+lib/meshlab/plugins/libio_base.so
+lib/meshlab/plugins/libio_bre.so
+lib/meshlab/plugins/libio_collada.so
+lib/meshlab/plugins/libio_epoch.so
+lib/meshlab/plugins/libio_expe.so
+lib/meshlab/plugins/libio_gts.so
+lib/meshlab/plugins/libio_m.so
+lib/meshlab/plugins/libio_pdb.so
+lib/meshlab/plugins/libio_tri.so
+lib/meshlab/plugins/libio_u3d.so
+lib/meshlab/plugins/libio_x3d.so
+lib/meshlab/plugins/libmeshdecorate.so
+lib/meshlab/plugins/librender_gdp.so
+lib/meshlab/plugins/librender_rfx.so
+lib/meshlab/plugins/librender_splatting.so
+lib/meshlab/plugins/libsampledecoration.so
+lib/meshlab/plugins/libsampleedit.so
+lib/meshlab/plugins/libsamplefilter.so
+lib/meshlab/plugins/libsamplefilterdoc.so
+lib/meshlab/plugins/libsamplefilterdyn.so
+lib/meshlab/shaders/3Dlabs-license.txt
+lib/meshlab/shaders/Cook-Torrance.frag
+lib/meshlab/shaders/Cook-Torrance.gdp
+lib/meshlab/shaders/Cook-Torrance.vert
+lib/meshlab/shaders/Hatch.frag
+lib/meshlab/shaders/Hatch.gdp
+lib/meshlab/shaders/Hatch.vert
+lib/meshlab/shaders/LightworkDesign-license.txt
+lib/meshlab/shaders/Oren-Nayar.frag
+lib/meshlab/shaders/Oren-Nayar.gdp
+lib/meshlab/shaders/Oren-Nayar.vert
+lib/meshlab/shaders/SEM.frag
+lib/meshlab/shaders/SEM.vert
+lib/meshlab/shaders/ambient_occlusion.vert
+lib/meshlab/shaders/ambient_occlusion4.frag
+lib/meshlab/shaders/ambient_occlusion8.frag
+lib/meshlab/shaders/decorate_shadow/._sm
+lib/meshlab/shaders/decorate_shadow/._ssao
+lib/meshlab/shaders/decorate_shadow/._vsm
+lib/meshlab/shaders/decorate_shadow/._vsmb
+lib/meshlab/shaders/decorate_shadow/sm/._depth.frag
+lib/meshlab/shaders/decorate_shadow/sm/._depth.vert
+lib/meshlab/shaders/decorate_shadow/sm/._object.frag
+lib/meshlab/shaders/decorate_shadow/sm/._object.vert
+lib/meshlab/shaders/decorate_shadow/sm/depth.frag
+lib/meshlab/shaders/decorate_shadow/sm/depth.vert
+lib/meshlab/shaders/decorate_shadow/sm/object.frag
+lib/meshlab/shaders/decorate_shadow/sm/object.vert
+lib/meshlab/shaders/decorate_shadow/ssao/._blur.frag
+lib/meshlab/shaders/decorate_shadow/ssao/._blur.vert
+lib/meshlab/shaders/decorate_shadow/ssao/._normalMap.frag
+lib/meshlab/shaders/decorate_shadow/ssao/._normalMap.vert
+lib/meshlab/shaders/decorate_shadow/ssao/._ssao.frag
+lib/meshlab/shaders/decorate_shadow/ssao/._ssao.vert
+lib/meshlab/shaders/decorate_shadow/ssao/blur.frag
+lib/meshlab/shaders/decorate_shadow/ssao/blur.vert
+lib/meshlab/shaders/decorate_shadow/ssao/normalMap.frag
+lib/meshlab/shaders/decorate_shadow/ssao/normalMap.vert
+lib/meshlab/shaders/decorate_shadow/ssao/ssao.frag
+lib/meshlab/shaders/decorate_shadow/ssao/ssao.vert
+lib/meshlab/shaders/decorate_shadow/vsm/._depthVSM.frag
+lib/meshlab/shaders/decorate_shadow/vsm/._depthVSM.vert
+lib/meshlab/shaders/decorate_shadow/vsm/._objectVSM.frag
+lib/meshlab/shaders/decorate_shadow/vsm/._objectVSM.vert
+lib/meshlab/shaders/decorate_shadow/vsm/depthVSM.frag
+lib/meshlab/shaders/decorate_shadow/vsm/depthVSM.vert
+lib/meshlab/shaders/decorate_shadow/vsm/objectVSM.frag
+lib/meshlab/shaders/decorate_shadow/vsm/objectVSM.vert
+lib/meshlab/shaders/decorate_shadow/vsmb/._blurVSM.frag
+lib/meshlab/shaders/decorate_shadow/vsmb/._blurVSM.vert
+lib/meshlab/shaders/decorate_shadow/vsmb/._depthVSM.frag
+lib/meshlab/shaders/decorate_shadow/vsmb/._depthVSM.vert
+lib/meshlab/shaders/decorate_shadow/vsmb/._objectVSM.frag
+lib/meshlab/shaders/decorate_shadow/vsmb/._objectVSM.vert
+lib/meshlab/shaders/decorate_shadow/vsmb/blurVSM.frag
+lib/meshlab/shaders/decorate_shadow/vsmb/blurVSM.vert
+lib/meshlab/shaders/decorate_shadow/vsmb/depthVSM.frag
+lib/meshlab/shaders/decorate_shadow/vsmb/depthVSM.vert
+lib/meshlab/shaders/decorate_shadow/vsmb/objectVSM.frag
+lib/meshlab/shaders/decorate_shadow/vsmb/objectVSM.vert
+lib/meshlab/shaders/depthmap.frag
+lib/meshlab/shaders/depthmap.gdp
+lib/meshlab/shaders/depthmap.vert
+lib/meshlab/shaders/dimple.frag
+lib/meshlab/shaders/dimple.gdp
+lib/meshlab/shaders/dimple.vert
+lib/meshlab/shaders/electronic microscope.gdp
+lib/meshlab/shaders/envmap.frag
+lib/meshlab/shaders/envmap.gdp
+lib/meshlab/shaders/envmap.vert
+lib/meshlab/shaders/glass.frag
+lib/meshlab/shaders/glass.gdp
+lib/meshlab/shaders/glass.vert
+lib/meshlab/shaders/gooch.frag
+lib/meshlab/shaders/gooch.gdp
+lib/meshlab/shaders/gooch.vert
+lib/meshlab/shaders/lattice.frag
+lib/meshlab/shaders/lattice.gdp
+lib/meshlab/shaders/lattice.vert
+lib/meshlab/shaders/minnaert.frag
+lib/meshlab/shaders/minnaert.gdp
+lib/meshlab/shaders/minnaert.vert
+lib/meshlab/shaders/normalmap.frag
+lib/meshlab/shaders/normalmap.gdp
+lib/meshlab/shaders/normalmap.vert
+lib/meshlab/shaders/phong.frag
+lib/meshlab/shaders/phong.gdp
+lib/meshlab/shaders/phong.vert
+lib/meshlab/shaders/polkadot3d.frag
+lib/meshlab/shaders/polkadot3d.gdp
+lib/meshlab/shaders/polkadot3d.vert
+lib/meshlab/shaders/reflexion_lines.frag
+lib/meshlab/shaders/reflexion_lines.gdp
+lib/meshlab/shaders/reflexion_lines.vert
+lib/meshlab/shaders/shadersrm/._NormalMapping.rfx
+lib/meshlab/shaders/shadersrm/._PhongUntextured.rfx
+lib/meshlab/shaders/shadersrm/._QualityContour.rfx
+lib/meshlab/shaders/shadersrm/._ZBrush.rfx
+lib/meshlab/shaders/shadersrm/._cartoon.rfx
+lib/meshlab/shaders/shadersrm/._old
+lib/meshlab/shaders/shadersrm/NormalMapping.rfx
+lib/meshlab/shaders/shadersrm/PhongUntextured.rfx
+lib/meshlab/shaders/shadersrm/QualityContour.rfx
+lib/meshlab/shaders/shadersrm/ZBrush.rfx
+lib/meshlab/shaders/shadersrm/cartoon.rfx
+lib/meshlab/shaders/shadersrm/old/._Depth of Field.rfx
+lib/meshlab/shaders/shadersrm/old/._GlyphBomb.rfx
+lib/meshlab/shaders/shadersrm/old/._ImageBasedLighting.rfx
+lib/meshlab/shaders/shadersrm/old/._Plastic.rfx
+lib/meshlab/shaders/shadersrm/old/._RenderToTexture.rfx
+lib/meshlab/shaders/shadersrm/old/._cubeenvmap.rfx
+lib/meshlab/shaders/shadersrm/old/._fur.rfx
+lib/meshlab/shaders/shadersrm/old/._hatching.rfx
+lib/meshlab/shaders/shadersrm/old/Depth of Field.rfx
+lib/meshlab/shaders/shadersrm/old/GlyphBomb.rfx
+lib/meshlab/shaders/shadersrm/old/ImageBasedLighting.rfx
+lib/meshlab/shaders/shadersrm/old/Plastic.rfx
+lib/meshlab/shaders/shadersrm/old/RenderToTexture.rfx
+lib/meshlab/shaders/shadersrm/old/cubeenvmap.rfx
+lib/meshlab/shaders/shadersrm/old/fur.rfx
+lib/meshlab/shaders/shadersrm/old/hatching.rfx
+lib/meshlab/shaders/splatpyramid/._shader_analysis.frag
+lib/meshlab/shaders/splatpyramid/._shader_analysis.vert
+lib/meshlab/shaders/splatpyramid/._shader_analysis_color.frag
+lib/meshlab/shaders/splatpyramid/._shader_analysis_color.vert
+lib/meshlab/shaders/splatpyramid/._shader_copy.frag
+lib/meshlab/shaders/splatpyramid/._shader_copy.vert
+lib/meshlab/shaders/splatpyramid/._shader_copy_color.frag
+lib/meshlab/shaders/splatpyramid/._shader_copy_color.vert
+lib/meshlab/shaders/splatpyramid/._shader_phong.frag
+lib/meshlab/shaders/splatpyramid/._shader_phong.vert
+lib/meshlab/shaders/splatpyramid/._shader_phong_color.frag
+lib/meshlab/shaders/splatpyramid/._shader_phong_color.vert
+lib/meshlab/shaders/splatpyramid/._shader_point_projection.frag
+lib/meshlab/shaders/splatpyramid/._shader_point_projection.vert
+lib/meshlab/shaders/splatpyramid/._shader_point_projection_color.frag
+lib/meshlab/shaders/splatpyramid/._shader_point_projection_color.vert
+lib/meshlab/shaders/splatpyramid/._shader_synthesis.frag
+lib/meshlab/shaders/splatpyramid/._shader_synthesis.vert
+lib/meshlab/shaders/splatpyramid/._shader_synthesis_color.frag
+lib/meshlab/shaders/splatpyramid/._shader_synthesis_color.vert
+lib/meshlab/shaders/splatpyramid/shader_analysis.frag
+lib/meshlab/shaders/splatpyramid/shader_analysis.vert
+lib/meshlab/shaders/splatpyramid/shader_analysis_color.frag
+lib/meshlab/shaders/splatpyramid/shader_analysis_color.vert
+lib/meshlab/shaders/splatpyramid/shader_copy.frag
+lib/meshlab/shaders/splatpyramid/shader_copy.vert
+lib/meshlab/shaders/splatpyramid/shader_copy_color.frag
+lib/meshlab/shaders/splatpyramid/shader_copy_color.vert
+lib/meshlab/shaders/splatpyramid/shader_phong.frag
+lib/meshlab/shaders/splatpyramid/shader_phong.vert
+lib/meshlab/shaders/splatpyramid/shader_phong_color.frag
+lib/meshlab/shaders/splatpyramid/shader_phong_color.vert
+lib/meshlab/shaders/splatpyramid/shader_point_projection.frag
+lib/meshlab/shaders/splatpyramid/shader_point_projection.vert
+lib/meshlab/shaders/splatpyramid/shader_point_projection_color.frag
+lib/meshlab/shaders/splatpyramid/shader_point_projection_color.vert
+lib/meshlab/shaders/splatpyramid/shader_synthesis.frag
+lib/meshlab/shaders/splatpyramid/shader_synthesis.vert
+lib/meshlab/shaders/splatpyramid/shader_synthesis_color.frag
+lib/meshlab/shaders/splatpyramid/shader_synthesis_color.vert
+lib/meshlab/shaders/stripes2.frag
+lib/meshlab/shaders/stripes2.gdp
+lib/meshlab/shaders/stripes2.vert
+lib/meshlab/shaders/toon.frag
+lib/meshlab/shaders/toon.gdp
+lib/meshlab/shaders/toon.vert
+lib/meshlab/shaders/xray.frag
+lib/meshlab/shaders/xray.gdp
+lib/meshlab/shaders/xray.vert
+@dirrm lib/meshlab/shaders/splatpyramid
+@dirrm lib/meshlab/shaders/shadersrm/old
+@dirrm lib/meshlab/shaders/shadersrm
+@dirrm lib/meshlab/shaders/decorate_shadow/vsmb
+@dirrm lib/meshlab/shaders/decorate_shadow/vsm
+@dirrm lib/meshlab/shaders/decorate_shadow/ssao
+@dirrm lib/meshlab/shaders/decorate_shadow/sm
+@dirrm lib/meshlab/shaders/decorate_shadow
+@dirrm lib/meshlab/shaders
+@dirrm lib/meshlab/plugins
+@dirrm lib/meshlab