mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
b1a1d38bf9
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
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# Created by: Danny Pansters <danny@ricin.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qscintilla2
|
|
PORTVERSION= ${QSCI2_VERSION}
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITES_QSCI2}
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}qt4-
|
|
DISTNAME= ${QSCI2_DISTNAME}
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Python bindings for QScintilla2 (PyQt4), QSci module
|
|
|
|
LIB_DEPENDS= libqscintilla2_qt4.so:devel/qscintilla2
|
|
|
|
DISTINFO_FILE= ${.CURDIR:H}/qscintilla2/distinfo
|
|
DESTDIRNAME= INSTALL_ROOT
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
USES= python pyqt:4 qmake:no_env qt:4
|
|
USE_PYQT= sip core gui
|
|
USE_PYTHON= flavors
|
|
USE_QT= corelib gui moc_build qmake_build
|
|
|
|
OPTIONS_DEFINE= DEBUG
|
|
DEBUG_CONFIGURE_ON= --debug --trace
|
|
|
|
QSCIDIR= ${PREFIX}/share/qt4/qsci
|
|
CONFIGURE_ARGS= --pyqt PyQt4 -d ${PYTHONPREFIX_SITELIBDIR}/PyQt4 -v ${SIPDIR} \
|
|
--apidir ${QSCIDIR} --qmake ${QMAKE} --pyqt-sipdir ${SIPDIR} \
|
|
--sip ${LOCALBASE}/bin/sip-${PYTHON_VER}
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/Python
|
|
ALL_TARGET= #empty
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV}\
|
|
${PYTHON_CMD} configure.py ${CONFIGURE_ARGS}
|
|
|
|
.include <bsd.port.mk>
|