freebsd-ports/x11-toolkits/qwt6/Makefile
Max Brazhnikov 3503010e03 x11-toolkits/qwt5 and qwt6:
- Convert to new options helpers
- Remove now needless manual stripping
2015-08-25 10:01:19 +00:00

35 lines
798 B
Makefile

# $FreeBSD$
PORTNAME= qwt
PORTVERSION= 6.1.0
PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= SF
PKGNAMESUFFIX= 6
MAINTAINER= makc@FreeBSD.org
COMMENT= Qt Widgets for Technical Applications
USES= gmake qmake tar:bzip2
USE_QT4= gui opengl svg xml moc_build
USE_LDCONFIG= yes
DOCSDIR= ${PREFIX}/share/doc/qwt6
PORTDOCS= *
PLIST_SUB= INCLUDEDIR=include/qwt6 \
SHLIB_VER=${PORTVERSION} \
SHLIB_SHVER=${PORTVERSION:R} \
QT_MKSPECDIR=share/qt4/mkspecs
OPTIONS_DEFINE= DOCS
post-patch:
cd ${WRKSRC} && \
${REINPLACE_CMD} -e 's,qwtAddLibrary(qwt),qwtAddLibrary(qwt6),g' \
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})
.include <bsd.port.mk>