5b3f3dd953
Add the required bits to Uses/pyqt.mk along with all the PyQt5 ports. Thankfully this commit is mostly adding new ports, as the hard work was already done in r403297 and r403662. Huge kudos to Tobias Berner <tcberner@gmail.com> and, most importantly, Guido Falsi (madpilot@) for their initial work on these ports (see D2910 in Phabricator for an earlier version of the PyQt5 patch set). PR: 204672
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= qscintilla2-qt5
|
|
PORTVERSION= ${QSCI2_VERSION}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITES_QSCI2}
|
|
DISTNAME= ${QSCI2_DISTNAME}
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Qt 5 port of the Scintilla C++ editor class
|
|
|
|
USES= qmake pyqt:5
|
|
USE_GL= gl
|
|
USE_PYQT= #
|
|
USE_QT5= buildtools_build gui printsupport widgets
|
|
USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL}
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/Qt4Qt5
|
|
CONFIGURE_WRKSRC= ${BUILD_WRKSRC}
|
|
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
|
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
.if empty(PORT_OPTIONS:MNLS)
|
|
cd ${BUILD_WRKSRC} && ${REINPLACE_CMD} -e \
|
|
's|trans qsci|qsci|' qscintilla.pro
|
|
.endif
|
|
|
|
post-install:
|
|
cd ${WRKSRC} &&\
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${STAGEDIR}${DOCSDIR}/Scintilla &&\
|
|
${INSTALL_DATA} NEWS README ${STAGEDIR}${DOCSDIR} &&\
|
|
${INSTALL_DATA} doc/html-Qt4Qt5/* ${STAGEDIR}${DOCSDIR}/html &&\
|
|
${INSTALL_DATA} doc/Scintilla/* ${STAGEDIR}${DOCSDIR}/Scintilla
|
|
cd ${WRKSRC}/example-Qt4Qt5 &&\
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/images &&\
|
|
${INSTALL_DATA} *.* ${STAGEDIR}${EXAMPLESDIR} &&\
|
|
${INSTALL_DATA} images/* ${STAGEDIR}${EXAMPLESDIR}/images
|
|
|
|
.include <bsd.port.mk>
|