blob: 9bce26e79bdee54a472900aba5d498087126e139 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# 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.so:${PORTSDIR}/devel/qscintilla2
DISTINFO_FILE= ${.CURDIR:H}/qscintilla2/distinfo
USES= qmake pyqt:4
USE_QT4= qmake_build moc_build gui xml designer
HAS_CONFIGURE= yes
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>
|