summaryrefslogtreecommitdiff
path: root/cad/meshlab/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cad/meshlab/Makefile')
-rw-r--r--cad/meshlab/Makefile32
1 files changed, 13 insertions, 19 deletions
diff --git a/cad/meshlab/Makefile b/cad/meshlab/Makefile
index 476e6563aad8..cf2d6b3b6e75 100644
--- a/cad/meshlab/Makefile
+++ b/cad/meshlab/Makefile
@@ -1,47 +1,41 @@
-# ex: ts=8
-# New ports collection Makefile for: meshlab
-# Date created: 26 October 2010
-# Whom: gahr
-#
+# Created by: gahr
# $FreeBSD$
-#
PORTNAME= meshlab
-DISTVERSION= 1.3.0
+DISTVERSION= 1.3.2
CATEGORIES= cad
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/MeshLab%20v${PORTVERSION}/
-DISTNAME= MeshLabSrc_AllInc_v${PORTVERSION:S/.//g}
-EXTRACT_SUFX= .tgz
+MASTER_SITES= ${MASTER_SITE_LOCAL}/gahr/ \
+ http://people.freebsd.org/~gahr/distfiles/
MAINTAINER= gahr@FreeBSD.org
-COMMENT= A tool for processing and editing 3D triangular meshes
+COMMENT= 3D triangular meshes processing and editing tool
+EXTRACT_DEPENDS=7z:${PORTSDIR}/archivers/p7zip
LIB_DEPENDS= QtSolutions_SOAP-head:${PORTSDIR}/devel/qt4-qtsolutions-soap
-BROKEN= does not build
-
USE_GL= glew glu
-USE_QT4= qmake corelib gui xml opengl network moc uic rcc script
+USE_QT4= qmake_build moc_build rcc_build uic_build corelib gui xml \
+ xmlpatterns opengl network script
+USE_DOS2UNIX= external/structuresynth/ssynth/SyntopiaCore/GLEngine/Object3D.h
USE_LDCONFIG= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}/src
+WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME}/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 meshlab_full.pro
+ cd ${WRKSRC}/external && ${QMAKE} -spec ${QMAKESPEC} -recursive external.pro
+ cd ${WRKSRC} && ${QMAKE} -spec ${QMAKESPEC} -recursive meshlab_full.pro
do-build:
cd ${WRKSRC}/external && ${MAKE}
cd ${WRKSRC} && ${MAKE}
do-install:
- ${INSTALL_DATA} ${WRKSRC}/distrib/libcommon.so.1.0.0 ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/common/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