diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2004-08-30 09:22:45 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2004-08-30 09:22:45 +0000 |
commit | 9241753e8d36a5ca5a4a59bb4b2586a479e87f5f (patch) | |
tree | 0e8c96032c60f0457725433994d860fd894161f6 /math/qwtplot3d-qt4/Makefile | |
parent | Update to version 1.6.1 (diff) |
add qwtplot3d 0.2.4 beta
A 3D plotting widget for scientific data and mathematical expressions
Notes
Notes:
svn path=/head/; revision=117647
Diffstat (limited to 'math/qwtplot3d-qt4/Makefile')
-rw-r--r-- | math/qwtplot3d-qt4/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/math/qwtplot3d-qt4/Makefile b/math/qwtplot3d-qt4/Makefile new file mode 100644 index 000000000000..da4bc1cebe23 --- /dev/null +++ b/math/qwtplot3d-qt4/Makefile @@ -0,0 +1,46 @@ +# ex:ts=8 +# Ports collection makefile for: qwtplot3d +# Date created: Aug 30, 2004 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= qwtplot3d +PORTVERSION= 0.2.4.b +CATEGORIES= math +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/-beta/} +EXTRACT_SUFX= .tgz + +MAINTAINER= ports@FreeBSD.org +COMMENT= A 3D plotting widget for scientific data and mathematical expressions + +BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake + +USE_QT_VER= 3 +USE_X_PREFIX= yes +WRKSRC= ${WRKDIR}/${PORTNAME} +MAKE_ENV= QTDIR=${X11BASE} \ + MOC=${MOC} +INSTALLS_SHLIB= yes + +pre-build: + @cd ${WRKSRC}; qmake -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ ${PORTNAME}.pro + +do-install: + ${CP} ${WRKSRC}/include/* ${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/lib/libqwtplot3d.so.0.2.4 ${PREFIX}/lib + ${LN} -fs ${PREFIX}/lib/libqwtplot3d.so.0.2.4 ${PREFIX}/lib/libqwtplot3d.so.0 + ${LN} -fs ${PREFIX}/lib/libqwtplot3d.so.0.2.4 ${PREFIX}/lib/libqwtplot3d.so +.if !defined(NOPORTDOCS) + @${MKDIR} ${EXAMPLESDIR} + ${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR} + @${FIND} ${EXAMPLESDIR} ! -type d | \ + ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} + @${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \ + ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} +.endif + +.include <bsd.port.mk> |