2003-02-08 10:27:24 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: meshviewer
|
|
|
|
# Date created: Jun 10, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= meshviewer
|
2009-01-14 16:00:28 +00:00
|
|
|
PORTVERSION= 0.3.2
|
2010-03-28 06:47:48 +00:00
|
|
|
PORTREVISION= 1
|
2003-02-08 10:27:24 +00:00
|
|
|
CATEGORIES= graphics
|
2009-08-22 00:23:13 +00:00
|
|
|
MASTER_SITES= SF/mview/mview/${PORTVERSION}
|
2003-02-08 10:27:24 +00:00
|
|
|
DISTNAME= mview-src-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:08:19 +00:00
|
|
|
COMMENT= Mesh Viewer
|
2003-02-08 10:27:24 +00:00
|
|
|
|
2009-01-14 16:00:28 +00:00
|
|
|
USE_QT_VER= 4
|
|
|
|
QT_COMPONENTS= corelib gui opengl moc_build qmake_build
|
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
PLIST_FILES= bin/mview
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${RM} -f ${WRKSRC}/qt4/*.moc.cpp
|
2003-02-08 10:27:24 +00:00
|
|
|
|
2006-08-01 19:36:52 +00:00
|
|
|
post-patch:
|
2009-01-14 16:00:28 +00:00
|
|
|
@${ECHO_CMD} "QT += opengl" >> ${WRKSRC}/mview.pro
|
|
|
|
@${REINPLACE_CMD} -e 's|<values.h>|<cmath>|g' ${WRKSRC}/mesh/mesh.cpp
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
|
|
|
${QMAKE} -spec ${QMAKESPEC} GUI="QT4"
|
2004-08-28 06:26:49 +00:00
|
|
|
|
2003-02-08 10:27:24 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mview ${PREFIX}/bin
|
2004-04-18 16:52:52 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2009-01-14 16:00:28 +00:00
|
|
|
@(cd ${WRKSRC}/Documentation && ${COPYTREE_SHARE} . ${DOCSDIR})
|
2004-04-18 16:52:52 +00:00
|
|
|
.endif
|
2003-02-08 10:27:24 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|