1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/devel/py-qt4-qscintilla2/Makefile
2018-04-29 16:19:44 +00:00

43 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
QT_NONSTANDARD= yes # Do not add unknown arguments to CONFIGURE_ARGS.
USES= python pyqt:4
USE_PYQT= sip core gui
USE_PYTHON= flavors
USE_QT4= 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>