freebsd-ports/x11-toolkits/qwt6/Makefile

36 lines
798 B
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= qwt
2013-07-14 17:27:05 +02:00
PORTVERSION= 6.1.0
PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= SF
PKGNAMESUFFIX= 6
MAINTAINER= makc@FreeBSD.org
COMMENT= Qt Widgets for Technical Applications
2014-05-12 12:53:41 +02:00
USES= gmake qmake tar:bzip2
USE_QT4= gui opengl svg xml moc_build
USE_LDCONFIG= yes
DOCSDIR= ${PREFIX}/share/doc/qwt6
2009-03-29 23:30:44 +02:00
PORTDOCS= *
PLIST_SUB= INCLUDEDIR=include/qwt6 \
2011-08-19 18:53:51 +02:00
SHLIB_VER=${PORTVERSION} \
SHLIB_SHVER=${PORTVERSION:R} \
QT_MKSPECDIR=share/qt4/mkspecs
2011-08-19 18:53:51 +02:00
OPTIONS_DEFINE= DOCS
post-patch:
cd ${WRKSRC} && \
${REINPLACE_CMD} -e 's,qwtAddLibrary(qwt),qwtAddLibrary(qwt6),g' \
2013-07-14 17:27:05 +02:00
qwt.prf textengines/textengines.pri && \
${REINPLACE_CMD} -e '/INSTALLS.*doc/d' doc/doc.pro
post-install-DOCS-on:
(cd ${WRKSRC}/doc/html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
2011-08-19 18:53:51 +02:00
.include <bsd.port.mk>