1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

devel/qscintilla2*: Flavorize ports

This commit is contained in:
Jason E. Hale 2024-10-17 19:28:25 -04:00
parent 671f29c2a3
commit b75599479b
26 changed files with 82 additions and 185 deletions

3
MOVED
View File

@ -3534,3 +3534,6 @@ devel/wasi-libcxx13||2024-10-18|Version no longer supported as a WASI component
devel/wasi-libcxx14||2024-10-18|Version no longer supported as a WASI component
devel/wasi-libcxx15||2024-10-18|Version no longer supported as a WASI component
devel/wasi-libcxx16||2024-10-18|Version no longer supported as a WASI component
devel/qscintilla2-qt5|devel/qscintilla2@qt5|2024-10-19|Converted to a flavorized port. Use devel/qscintilla2@qt5 instead
devel/qscintilla2-qt6|devel/qscintilla2@qt6|2024-10-19|Converted to a flavorized port. Use devel/qscintilla2@qt6 instead
devel/qscintilla2-designerplugin-qt5|devel/qscintilla2-designerplugin@qt5|2024-10-19|Converted to a flavorized port. Use devel/qscintilla2-designerplugin@qt5 instead

View File

@ -22,7 +22,7 @@ BUILD_DEPENDS= cgal>0:math/cgal \
LIB_DEPENDS= libzip.so:archivers/libzip \
libhidapi.so:comms/hidapi \
libboost_regex.so:devel/boost-libs \
libqscintilla2_qt5.so:devel/qscintilla2-qt5 \
libqscintilla2_qt5.so:devel/qscintilla2@qt5 \
libopencsg.so:graphics/opencsg \
libgmp.so:math/gmp \
libmpfr.so:math/mpfr \

View File

@ -21,7 +21,7 @@ BUILD_DEPENDS= cgal>0:math/cgal \
LIB_DEPENDS= libzip.so:archivers/libzip \
libhidapi.so:comms/hidapi \
libboost_regex.so:devel/boost-libs \
libqscintilla2_qt5.so:devel/qscintilla2-qt5 \
libqscintilla2_qt5.so:devel/qscintilla2@qt5 \
libopencsg.so:graphics/opencsg \
libgmp.so:math/gmp \
libmpfr.so:math/mpfr \

View File

@ -12,7 +12,7 @@ LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/lib/libantlr.a:devel/antlr
LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5
LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2@qt5
USES= cmake desktop-file-utils gnome qt:5 sqlite
USE_QT= core concurrent gui network printsupport testlib widgets \

View File

@ -6226,9 +6226,8 @@
SUBDIR += qjson
SUBDIR += qmake
SUBDIR += qschematic
SUBDIR += qscintilla2-designerplugin-qt5
SUBDIR += qscintilla2-qt5
SUBDIR += qscintilla2-qt6
SUBDIR += qscintilla2
SUBDIR += qscintilla2-designerplugin
SUBDIR += qt-maybe
SUBDIR += qt5
SUBDIR += qt5-assistant

View File

@ -12,7 +12,7 @@ WWW= https://riverbankcomputing.com/software/pyqt
PYQT_DIST= yes
LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 \
LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2@qt5 \
libdbus-1.so:devel/dbus
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}dbus>1:devel/py-dbus@${PY_FLAVOR} \

View File

@ -11,9 +11,9 @@ COMMENT= Python bindings for QScintilla2 (PyQt5), QSci module
WWW= https://riverbankcomputing.com/software/pyqt
BUILD_DEPENDS= ${PY_SETUPTOOLS}
LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5
LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2@qt5
DISTINFO_FILE= ${.CURDIR:H}/qscintilla2-qt5/distinfo
DISTINFO_FILE= ${.CURDIR:H}/qscintilla2/distinfo
DESTDIRNAME= INSTALL_ROOT
USES= python pyqt:5 gl qt:5

View File

@ -12,7 +12,7 @@ WWW= https://riverbankcomputing.com/software/pyqt
PYQT_DIST= yes
LIB_DEPENDS= libdbus-1.so:devel/dbus \
libqscintilla2_qt6.so:devel/qscintilla2-qt6
libqscintilla2_qt6.so:devel/qscintilla2@qt6
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}dbus>1:devel/py-dbus@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>1:devel/py-dbus@${PY_FLAVOR}

View File

@ -13,7 +13,7 @@ WWW= https://riverbankcomputing.com/software/pyqt \
LICENSE= GPLv3
BUILD_DEPENDS= ${PY_SETUPTOOLS}
LIB_DEPENDS= libqscintilla2_qt6.so:devel/qscintilla2-qt6
LIB_DEPENDS= libqscintilla2_qt6.so:devel/qscintilla2@qt6
USES= python pyqt:6 gl qt:6
USE_GL= gl
@ -26,7 +26,7 @@ SIP_ARGS= --qmake ${QMAKE} --verbose --build-dir build
ALL_TARGET= #empty
DESTDIRNAME= INSTALL_ROOT
DISTINFO_FILE= ${.CURDIR:H}/qscintilla2-qt6/distinfo
DISTINFO_FILE= ${.CURDIR:H}/qscintilla2/distinfo
WRKSRC= ${WRKDIR}/${DISTNAME}/Python
OPTIONS_DEFINE= DEBUG

View File

@ -1,24 +0,0 @@
PORTNAME= designerplugin-qt5
PORTVERSION= ${QSCI2_VERSION}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITES_QSCI2}
PKGNAMEPREFIX= qscintilla2-
DISTNAME= ${QSCI2_DISTNAME}
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt5 Designer plugin for QScintilla2
WWW= http://www.riverbankcomputing.co.uk/software/qscintilla/
LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5
DISTINFO_FILE= ${.CURDIR:H}/qscintilla2-qt5/distinfo
USES= compiler:c++11-lang qmake pyqt:5 qt:5 gl
USE_GL= gl
USE_QT= core designer printsupport gui widgets xml \
buildtools:build qmake:build
WRKSRC= ${WRKDIR}/${DISTNAME}/designer
PLIST_FILES= %%QT_PLUGINDIR%%/designer/libqscintillaplugin.so
.include <bsd.port.mk>

View File

@ -0,0 +1,35 @@
PORTNAME= designerplugin
PORTVERSION= ${QSCI2_VERSION}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITES_QSCI2}
PKGNAMEPREFIX= qscintilla2-
PKGNAMESUFFIX= -${FLAVOR}
DISTNAME= ${QSCI2_DISTNAME}
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt${FLAVOR:S/qt//} Designer plugin for QScintilla2
WWW= https://riverbankcomputing.com/software/qscintilla/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC:H}/LICENSE
LIB_DEPENDS= libqscintilla2_${FLAVOR}.so:devel/qscintilla2@${FLAVOR}
FLAVORS= qt5 qt6
FLAVOR?= qt5
USES= compiler:c++11-lang gl pyqt:5 qmake qt:${FLAVOR:S/qt//}
_USE_GL_qt5= gl
_USE_GL_qt6= gl opengl
USE_GL= ${_USE_GL_${FLAVOR}}
_USE_QT_qt5= core designer printsupport gui widgets xml \
buildtools:build qmake:build
_USE_QT_qt6= base tools
USE_QT= ${_USE_QT_${FLAVOR}}
WRKSRC= ${WRKDIR}/${DISTNAME}/designer
DISTINFO_FILE= ${.CURDIR:H}/qscintilla2/distinfo
PLIST_FILES= %%QT_PLUGINDIR%%/designer/libqscintillaplugin.so
.include <bsd.port.mk>

View File

@ -1 +0,0 @@
QScintilla2 is a port to Qt5 of Neil Hodgson's Scintilla C++ editor class.

View File

@ -1,85 +0,0 @@
%%QT_INCDIR%%/Qsci/qsciabstractapis.h
%%QT_INCDIR%%/Qsci/qsciapis.h
%%QT_INCDIR%%/Qsci/qscicommand.h
%%QT_INCDIR%%/Qsci/qscicommandset.h
%%QT_INCDIR%%/Qsci/qscidocument.h
%%QT_INCDIR%%/Qsci/qsciglobal.h
%%QT_INCDIR%%/Qsci/qscilexer.h
%%QT_INCDIR%%/Qsci/qscilexerasm.h
%%QT_INCDIR%%/Qsci/qscilexeravs.h
%%QT_INCDIR%%/Qsci/qscilexerbash.h
%%QT_INCDIR%%/Qsci/qscilexerbatch.h
%%QT_INCDIR%%/Qsci/qscilexercmake.h
%%QT_INCDIR%%/Qsci/qscilexercoffeescript.h
%%QT_INCDIR%%/Qsci/qscilexercpp.h
%%QT_INCDIR%%/Qsci/qscilexercsharp.h
%%QT_INCDIR%%/Qsci/qscilexercss.h
%%QT_INCDIR%%/Qsci/qscilexercustom.h
%%QT_INCDIR%%/Qsci/qscilexerd.h
%%QT_INCDIR%%/Qsci/qscilexerdiff.h
%%QT_INCDIR%%/Qsci/qscilexeredifact.h
%%QT_INCDIR%%/Qsci/qscilexerfortran.h
%%QT_INCDIR%%/Qsci/qscilexerfortran77.h
%%QT_INCDIR%%/Qsci/qscilexerhex.h
%%QT_INCDIR%%/Qsci/qscilexerhtml.h
%%QT_INCDIR%%/Qsci/qscilexeridl.h
%%QT_INCDIR%%/Qsci/qscilexerintelhex.h
%%QT_INCDIR%%/Qsci/qscilexerjava.h
%%QT_INCDIR%%/Qsci/qscilexerjavascript.h
%%QT_INCDIR%%/Qsci/qscilexerjson.h
%%QT_INCDIR%%/Qsci/qscilexerlua.h
%%QT_INCDIR%%/Qsci/qscilexermakefile.h
%%QT_INCDIR%%/Qsci/qscilexermarkdown.h
%%QT_INCDIR%%/Qsci/qscilexermasm.h
%%QT_INCDIR%%/Qsci/qscilexermatlab.h
%%QT_INCDIR%%/Qsci/qscilexernasm.h
%%QT_INCDIR%%/Qsci/qscilexeroctave.h
%%QT_INCDIR%%/Qsci/qscilexerpascal.h
%%QT_INCDIR%%/Qsci/qscilexerperl.h
%%QT_INCDIR%%/Qsci/qscilexerpo.h
%%QT_INCDIR%%/Qsci/qscilexerpostscript.h
%%QT_INCDIR%%/Qsci/qscilexerpov.h
%%QT_INCDIR%%/Qsci/qscilexerproperties.h
%%QT_INCDIR%%/Qsci/qscilexerpython.h
%%QT_INCDIR%%/Qsci/qscilexerruby.h
%%QT_INCDIR%%/Qsci/qscilexerspice.h
%%QT_INCDIR%%/Qsci/qscilexersql.h
%%QT_INCDIR%%/Qsci/qscilexersrec.h
%%QT_INCDIR%%/Qsci/qscilexertcl.h
%%QT_INCDIR%%/Qsci/qscilexertekhex.h
%%QT_INCDIR%%/Qsci/qscilexertex.h
%%QT_INCDIR%%/Qsci/qscilexerverilog.h
%%QT_INCDIR%%/Qsci/qscilexervhdl.h
%%QT_INCDIR%%/Qsci/qscilexerxml.h
%%QT_INCDIR%%/Qsci/qscilexeryaml.h
%%QT_INCDIR%%/Qsci/qscimacro.h
%%QT_INCDIR%%/Qsci/qsciprinter.h
%%QT_INCDIR%%/Qsci/qsciscintilla.h
%%QT_INCDIR%%/Qsci/qsciscintillabase.h
%%QT_INCDIR%%/Qsci/qscistyle.h
%%QT_INCDIR%%/Qsci/qscistyledtext.h
%%QT_LIBDIR%%/libqscintilla2_qt5.so
%%QT_LIBDIR%%/libqscintilla2_qt5.so.15
%%QT_LIBDIR%%/libqscintilla2_qt5.so.15.2
%%QT_LIBDIR%%/libqscintilla2_qt5.so.15.2.1
%%QT_MKSPECDIR%%/features/qscintilla2.prf
%%QT_DATADIR%%/qsci/api/python/Python-2.4.api
%%QT_DATADIR%%/qsci/api/python/Python-2.5.api
%%QT_DATADIR%%/qsci/api/python/Python-2.6.api
%%QT_DATADIR%%/qsci/api/python/Python-2.7.api
%%QT_DATADIR%%/qsci/api/python/Python-3.1.api
%%QT_DATADIR%%/qsci/api/python/Python-3.10.api
%%QT_DATADIR%%/qsci/api/python/Python-3.11.api
%%QT_DATADIR%%/qsci/api/python/Python-3.2.api
%%QT_DATADIR%%/qsci/api/python/Python-3.3.api
%%QT_DATADIR%%/qsci/api/python/Python-3.4.api
%%QT_DATADIR%%/qsci/api/python/Python-3.5.api
%%QT_DATADIR%%/qsci/api/python/Python-3.6.api
%%QT_DATADIR%%/qsci/api/python/Python-3.7.api
%%QT_DATADIR%%/qsci/api/python/Python-3.8.api
%%QT_DATADIR%%/qsci/api/python/Python-3.9.api
%%NLS%%%%QT_L10NDIR%%/qscintilla_cs.qm
%%NLS%%%%QT_L10NDIR%%/qscintilla_de.qm
%%NLS%%%%QT_L10NDIR%%/qscintilla_es.qm
%%NLS%%%%QT_L10NDIR%%/qscintilla_fr.qm
%%NLS%%%%QT_L10NDIR%%/qscintilla_pt_br.qm

View File

@ -1,43 +0,0 @@
PORTNAME= qscintilla2-qt6
PORTVERSION= ${QSCI2_VERSION}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITES_QSCI2}
DISTNAME= ${QSCI2_DISTNAME}
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt 6 port of the Scintilla C++ editor class
WWW= http://www.riverbankcomputing.co.uk/software/qscintilla/
USES= compiler:c++11-lang gl qmake pyqt:6 qt:6
USE_GL= gl
USE_LOCALE= C.UTF-8
USE_PYQT= #
USE_QT= base
USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL}
BUILD_WRKSRC= ${WRKSRC}/src
CONFIGURE_WRKSRC= ${BUILD_WRKSRC}
INSTALL_WRKSRC= ${BUILD_WRKSRC}
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES NLS
OPTIONS_SUB= yes
post-patch-NLS-off:
cd ${BUILD_WRKSRC} && ${REINPLACE_CMD} -e \
's|trans qsci|qsci|' qscintilla.pro
post-install:
cd ${WRKSRC} &&\
${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${STAGEDIR}${DOCSDIR}/Scintilla &&\
${INSTALL_DATA} NEWS ${STAGEDIR}${DOCSDIR} &&\
${INSTALL_DATA} doc/html/* ${STAGEDIR}${DOCSDIR}/html &&\
${INSTALL_DATA} doc/Scintilla/* ${STAGEDIR}${DOCSDIR}/Scintilla
cd ${WRKSRC}/example &&\
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/images &&\
${INSTALL_DATA} *.* ${STAGEDIR}${EXAMPLESDIR} &&\
${INSTALL_DATA} images/* ${STAGEDIR}${EXAMPLESDIR}/images
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1690218121
SHA256 (QScintilla_src-2.14.1.tar.gz) = dfe13c6acc9d85dfcba76ccc8061e71a223957a6c02f3c343b30a9d43a4cdd4d
SIZE (QScintilla_src-2.14.1.tar.gz) = 3233610

View File

@ -1 +0,0 @@
QScintilla2 is a port to Qt5 of Neil Hodgson's Scintilla C++ editor class.

View File

@ -1,23 +1,39 @@
PORTNAME= qscintilla2-qt5
PORTNAME= qscintilla2
PORTVERSION= ${QSCI2_VERSION}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITES_QSCI2}
PKGNAMESUFFIX= -${FLAVOR}
DISTNAME= ${QSCI2_DISTNAME}
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt 5 port of the Scintilla C++ editor class
WWW= http://www.riverbankcomputing.co.uk/software/qscintilla/
COMMENT= Qt${FLAVOR:S/qt//} port of the Scintilla C++ editor class
WWW= https://riverbankcomputing.com/software/qscintilla/
USES= compiler:c++11-lang gl qmake pyqt:5 qt:5
USE_GL= gl
USE_PYQT= #
USE_QT= buildtools:build core gui printsupport widgets
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
FLAVORS= qt5 qt6
FLAVOR?= qt5
USES= compiler:c++11-lang gl qmake pyqt:5 qt:${FLAVOR:S/qt//}
_USE_GL_qt5= gl
_USE_GL_qt6= gl opengl
USE_GL= ${_USE_GL_${FLAVOR}}
USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL}
USE_PYQT= #
_USE_QT_qt5= buildtools:build core gui printsupport widgets
_USE_QT_qt6= base
USE_QT= ${_USE_QT_${FLAVOR}}
DATADIR= ${PREFIX}/share/${PORTNAME}-${FLAVOR}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${FLAVOR}
EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}-${FLAVOR}
BUILD_WRKSRC= ${WRKSRC}/src
CONFIGURE_WRKSRC= ${BUILD_WRKSRC}
INSTALL_WRKSRC= ${BUILD_WRKSRC}
PLIST_SUB= QT_MAJOR_VERSION=${FLAVOR:S/qt//}
PORTDOCS= *
PORTEXAMPLES= *

View File

@ -0,0 +1 @@
QScintilla2 is a port to Qt of Neil Hodgson's Scintilla C++ editor class.

View File

@ -58,10 +58,10 @@
%%QT_INCDIR%%/Qsci/qsciscintillabase.h
%%QT_INCDIR%%/Qsci/qscistyle.h
%%QT_INCDIR%%/Qsci/qscistyledtext.h
%%QT_LIBDIR%%/libqscintilla2_qt6.so
%%QT_LIBDIR%%/libqscintilla2_qt6.so.15
%%QT_LIBDIR%%/libqscintilla2_qt6.so.15.2
%%QT_LIBDIR%%/libqscintilla2_qt6.so.15.2.1
%%QT_LIBDIR%%/libqscintilla2_qt%%QT_MAJOR_VERSION%%.so
%%QT_LIBDIR%%/libqscintilla2_qt%%QT_MAJOR_VERSION%%.so.15
%%QT_LIBDIR%%/libqscintilla2_qt%%QT_MAJOR_VERSION%%.so.15.2
%%QT_LIBDIR%%/libqscintilla2_qt%%QT_MAJOR_VERSION%%.so.15.2.1
%%QT_MKSPECDIR%%/features/qscintilla2.prf
%%QT_DATADIR%%/qsci/api/python/Python-2.4.api
%%QT_DATADIR%%/qsci/api/python/Python-2.5.api

View File

@ -52,7 +52,7 @@ LIB_DEPENDS= libabsl_log_internal_check_op.so:devel/abseil \
libproj.so:graphics/proj \
libprotobuf-lite.so:devel/protobuf \
libqjson-qt5.so:devel/qjson \
libqscintilla2_qt5.so:devel/qscintilla2-qt5 \
libqscintilla2_qt5.so:devel/qscintilla2@qt5 \
libqt5keychain.so:security/qtkeychain@qt5 \
libqwt.so:x11-toolkits/qwt6@qt5 \
librttopo.so:devel/librttopo \

View File

@ -51,7 +51,7 @@ LIB_DEPENDS= libabsl_log_internal_check_op.so:devel/abseil \
libproj.so:graphics/proj \
libprotobuf-lite.so:devel/protobuf \
libqjson-qt5.so:devel/qjson \
libqscintilla2_qt5.so:devel/qscintilla2-qt5 \
libqscintilla2_qt5.so:devel/qscintilla2@qt5 \
libqt5keychain.so:security/qtkeychain@qt5 \
libqwt.so:x11-toolkits/qwt6@qt5 \
librttopo.so:devel/librttopo \

View File

@ -100,7 +100,7 @@ DOCS_CONFIGURE_ENABLE= docs
JAVA_CONFIGURE_ENABLE= java
QT6_CONFIGURE_WITH= qscintilla qt=6
QT6_LIB_DEPENDS= libqscintilla2_qt6.so:devel/qscintilla2-qt6
QT6_LIB_DEPENDS= libqscintilla2_qt6.so:devel/qscintilla2@qt6
DOCS_USES= tex
DOCS_USE= TEX=dvipsk:build,formats:build

View File

@ -14,7 +14,7 @@ WWW= https://riverbankcomputing.com/software/pyqt
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
qmake-qt5:devel/qt5-qmake
LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5
LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2@qt5
USES= gl pyqt:5 python qt:5
USE_GL= gl

View File

@ -15,7 +15,7 @@ WWW= https://riverbankcomputing.com/software/pyqtchart
LICENSE= ${PYQT5_LICENSE}
BUILD_DEPENDS= ${PY_SETUPTOOLS}
LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5
LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2@qt5
USES= gl python pyqt:5 qt:5
USE_GL= gl