# ex:ts=8 # Ports collection makefile for: meshviewer # Date created: Jun 10, 2002 # Whom: ijliao # # $FreeBSD$ PORTNAME= meshviewer PORTVERSION= 0.2.2 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= mview DISTNAME= mview-src-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Mesh Viewer USE_QT_VER= 3 USE_GL= yes MAKE_ENV= MOC="${MOC}" \ QTCPPFLAGS="${QTCPPFLAGS} ${PTHREAD_CFLAGS}" \ QTCFGLIBS="${QTCFGLIBS} ${PTHREAD_LIBS}" CFLAGS+= -fpermissive do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mview ${PREFIX}/bin .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} cd ${WRKSRC}/Documentation && ${FIND} . | \ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} .endif .include