2004-08-30 09:22:45 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: qwtplot3d
|
|
|
|
# Date created: Aug 30, 2004
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= qwtplot3d
|
2007-09-23 23:16:24 +00:00
|
|
|
PORTVERSION= 0.2.7
|
2010-03-28 06:47:48 +00:00
|
|
|
PORTREVISION= 4
|
2004-08-30 09:22:45 +00:00
|
|
|
CATEGORIES= math
|
2009-08-22 00:28:34 +00:00
|
|
|
MASTER_SITES= SF
|
2004-08-30 09:22:45 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2011-07-07 17:34:13 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-08-30 09:22:45 +00:00
|
|
|
COMMENT= A 3D plotting widget for scientific data and mathematical expressions
|
|
|
|
|
|
|
|
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
|
|
|
|
|
2006-06-21 17:27:21 +00:00
|
|
|
USE_QT_VER= 3
|
2007-05-19 20:36:56 +00:00
|
|
|
USE_GL= yes
|
2004-08-30 09:22:45 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2007-04-17 18:51:09 +00:00
|
|
|
MAKE_ENV= QTDIR=${QT_PREFIX}
|
|
|
|
USE_LDCONFIG= yes
|
2007-09-23 23:16:24 +00:00
|
|
|
USE_DOS2UNIX= yes
|
2004-08-30 09:22:45 +00:00
|
|
|
|
|
|
|
pre-build:
|
2007-09-23 23:16:24 +00:00
|
|
|
cd ${WRKSRC}; qmake -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ ${PORTNAME}.pro
|
|
|
|
cd ${WRKSRC} && ${REINPLACE_CMD} -e \
|
|
|
|
's|^CC .*|CC=${CC}|; \
|
|
|
|
s|^CXX .*|CXX=${CXX}|; \
|
|
|
|
s|^LINK .*|LINK=${CXX}|' Makefile
|
2004-08-30 09:22:45 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${CP} ${WRKSRC}/include/* ${PREFIX}/include
|
2006-04-15 20:11:16 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/libqwtplot3d.so.${PORTVERSION} ${PREFIX}/lib
|
|
|
|
${LN} -fs ${PREFIX}/lib/libqwtplot3d.so.${PORTVERSION} ${PREFIX}/lib/libqwtplot3d.so.0
|
|
|
|
${LN} -fs ${PREFIX}/lib/libqwtplot3d.so.${PORTVERSION} ${PREFIX}/lib/libqwtplot3d.so
|
2004-08-30 09:22:45 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2007-04-17 18:51:09 +00:00
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
|
2004-08-30 09:22:45 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|