1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00
freebsd-ports/graphics/meshviewer/Makefile

43 lines
922 B
Makefile
Raw Normal View History

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
PORTVERSION= 0.3.2
PORTREVISION= 1
2003-02-08 10:27:24 +00:00
CATEGORIES= graphics
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
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
post-patch:
@${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"
2003-02-08 10:27:24 +00:00
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mview ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC}/Documentation && ${COPYTREE_SHARE} . ${DOCSDIR})
.endif
2003-02-08 10:27:24 +00:00
.include <bsd.port.mk>