summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2019-10-29 17:45:24 +0000
committerkamil <kamil@pkgsrc.org>2019-10-29 17:45:24 +0000
commit4f00db326709cec6d0a679828d8dab6d436a9ead (patch)
tree6b78fdf8a1dc6cc390483ff6c2b9fc9d0a9806d3 /x11
parentfd851bb3d85819a9df86c48e5d02910b46a7e4d5 (diff)
downloadpkgsrc-4f00db326709cec6d0a679828d8dab6d436a9ead.tar.gz
qt5-qscintilla: Split Makefile into Makefile and Makefile.common
Makefile.common will be used by the python bindings.
Diffstat (limited to 'x11')
-rw-r--r--x11/qt5-qscintilla/Makefile13
-rw-r--r--x11/qt5-qscintilla/Makefile.common20
2 files changed, 23 insertions, 10 deletions
diff --git a/x11/qt5-qscintilla/Makefile b/x11/qt5-qscintilla/Makefile
index fdcae85ed3e..f5115ce9c79 100644
--- a/x11/qt5-qscintilla/Makefile
+++ b/x11/qt5-qscintilla/Makefile
@@ -1,15 +1,9 @@
-# $NetBSD: Makefile,v 1.1 2019/10/26 13:19:17 kamil Exp $
-#
+# $NetBSD: Makefile,v 1.2 2019/10/29 17:45:24 kamil Exp $
-DISTNAME= QScintilla_gpl-2.11.2
-PKGNAME= qt5-${DISTNAME:tl:S/_gpl-/-/}
-CATEGORIES= x11
-MASTER_SITES= https://www.riverbankcomputing.com/static/Downloads/QScintilla/${PKGVERSION_NOREV}/
+.include "../../x11/qt5-qscintilla/Makefile.common"
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://www.riverbankcomputing.co.uk/software/qscintilla/intro
+PKGNAME= qt5-${DISTNAME:tl:S/_gpl-/-/}
COMMENT= Scintilla C++ editor class for Qt5
-LICENSE= gnu-gpl-v3
WRKSRC= ${WRKDIR}/${DISTNAME}/Qt4Qt5
@@ -23,5 +17,4 @@ INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}
do-configure:
(cd ${WRKSRC} && ${QTDIR}/bin/qmake -o Makefile qscintilla.pro)
-.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/qt5-qscintilla/Makefile.common b/x11/qt5-qscintilla/Makefile.common
new file mode 100644
index 00000000000..58bd8d478ad
--- /dev/null
+++ b/x11/qt5-qscintilla/Makefile.common
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile.common,v 1.1 2019/10/29 17:45:24 kamil Exp $
+#
+# used by x11/qt5-qscintilla/Makefile
+# used by x11/py-qt5-qscintilla/Makefile
+
+DISTNAME= QScintilla_gpl-2.11.2
+CATEGORIES= x11
+MASTER_SITES= https://www.riverbankcomputing.com/static/Downloads/QScintilla/${PKGVERSION_NOREV}/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.riverbankcomputing.co.uk/software/qscintilla/intro
+LICENSE= gnu-gpl-v3
+
+USE_LANGUAGES= c++
+USE_LIBTOOL= yes
+
+DISTINFO_FILE= ${.CURDIR}/../../x11/qt5-qscintilla/distinfo
+#PATCHDIR= ${.CURDIR}/../../x11/qt5-qscintilla/patches
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"