summaryrefslogtreecommitdiff
path: root/x11/qt5-qscintilla
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
commit3e667b029db06e760b15999a8df394d384a41729 (patch)
tree8d88cf5a7c4d79a96111dba70b6da6b2dfc2f00b /x11/qt5-qscintilla
parent39cc0f7b73a61b2864868c88e63eae102b61b07c (diff)
downloadpkgsrc-3e667b029db06e760b15999a8df394d384a41729.tar.gz
qt5-qscintilla: Split Makefile into Makefile and Makefile.common
Makefile.common will be used by the python bindings.
Diffstat (limited to 'x11/qt5-qscintilla')
-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"