From now on, ports that depend on Qt4 will have to set USES= qt:4 USE_QT= foo bar ports depending on Qt5 will use USES= qt:5 USE_QT= foo bar PR: 229225 Exp-run by: antoine Reviewed by: mat Approved by: portmgr (antoine) Differential Revision: →https://reviews.freebsd.org/D15540
30 lines
754 B
Makefile
30 lines
754 B
Makefile
# Created by: Danny Pansters <danny@ricin.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= designerplugin
|
|
PORTVERSION= ${QSCI2_VERSION}
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITES_QSCI2}
|
|
PKGNAMEPREFIX= qscintilla2-
|
|
DISTNAME= ${QSCI2_DISTNAME}
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Qt4 Designer plugin for QScintilla2
|
|
|
|
LIB_DEPENDS= libqscintilla2_qt4.so:devel/qscintilla2
|
|
|
|
DISTINFO_FILE= ${.CURDIR:H}/qscintilla2/distinfo
|
|
USES= qmake pyqt:4 qt:4
|
|
USE_QT= qmake_build moc_build gui xml designer
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/designer-Qt4Qt5
|
|
|
|
PLIST_FILES= %%QT_PLUGINDIR%%/designer/libqscintillaplugin.so
|
|
|
|
pre-configure:
|
|
${REINPLACE_CMD} -e \
|
|
's|$$$$\[QT_INSTALL_PLUGINS\]|${PREFIX}/${QT_PLUGINDIR_REL}|' \
|
|
${WRKSRC}/designer.pro
|
|
|
|
.include <bsd.port.mk>
|