1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/math/qwtplot3d/Makefile
Shaun Amott 3f2ac340dd - Assign maintainership to submitter
- portlint(1) tweaks (spaces->tabs, shorten pkg-descr)

PR:		ports/99249
Submitted by:	Max Brazhnikov <makc@issp.ac.ru>
Approved by:	ahze (mentor)
2006-06-21 17:27:21 +00:00

46 lines
1.2 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: qwtplot3d
# Date created: Aug 30, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= qwtplot3d
PORTVERSION= 0.2.6
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= makc@issp.ac.ru
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.${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
.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>