Use bsdtar, to avoid installing pax droppings and failing the PLIST check. Skip the shlib check on a plugin, on the theory that the plugin expects the missing library to already have been loaded, and this appears to be the case when used in qgis. Should perhaps be addressed upstream, if someone really understands what is going on.
34 lines
946 B
Makefile
34 lines
946 B
Makefile
# $NetBSD: Makefile,v 1.3 2019/11/24 01:31:38 gdt Exp $
|
|
|
|
DISTNAME= qwt-6.1.4
|
|
PKGNAME= qwt6-qt5-6.1.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}
|
|
|
|
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"
|