blob: 5fc76c5d5bf71d4d72b23dba01d119295566e52d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.15 2021/02/07 06:30:42 ryoon Exp $
DISTNAME= qwt-6.1.5
PKGNAME= qwt6-qt5-6.1.5
PKGREVISION= 4
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qwt/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://sourceforge.net/projects/qwt/
COMMENT= Qt widget library for technical purposes
LICENSE= gnu-lgpl-v2
EXTRACT_USING= bsdtar
USE_LANGUAGES= c++
USE_TOOLS+= gmake
USE_LIBTOOL= yes
AUTO_MKDIRS= yes
INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR}
PLIST_SUBST+= VERSION=${PKGVERSION_NOREV}
# remove tex temp files that should not be installed
post-extract:
rm -f ${WRKSRC}/doc/html/_form*
rm -f ${WRKSRC}/doc/html/functions_*~.html
do-configure:
cd ${WRKSRC} && env ${CONFIGURE_ENV} ${QTDIR}/bin/qmake
# Appparently this plugin has a valid expectation that libqwt is
# already loaded, at least as used in qgis.
CHECK_SHLIBS_SKIP+= qt5/plugins/designer/libqwt_designer_plugin.so
.include "../../x11/qt5-qttools/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtsvg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|