[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / py-qt4-qscintilla

File: [cvs.NetBSD.org] / pkgsrc / x11 / py-qt4-qscintilla / Makefile (download)

Revision 1.44, Sun Aug 28 15:48:37 2016 UTC (2 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-
Changes since 1.43: +1 -2 lines

Remove unnecessary PLIST_SUBST and FILES_SUBST that are now provided
by the infrastructure.

Mark a couple more packages as not ready for python-3.x.

# $NetBSD: Makefile,v 1.44 2016/08/28 15:48:37 wiz Exp $

PKGREVISION= 1
.include "../../x11/qt4-qscintilla/Makefile.common"

PKGNAME=	${PYPKGPREFIX}-qt4-${DISTNAME:tl:S/-gpl-/-/}
COMMENT=	QScintilla -- Python bindings

WRKSRC=		${WRKDIR}/${DISTNAME}/Python

PY_PATCHPLIST=		yes

MAKE_FLAGS+=		TARGET=Qsci.la TARGETD=Qsci.la TARGETL=Qsci.la
INSTALL_MAKE_FLAGS+=	INSTALL_ROOT=${DESTDIR}
LIBS+=			-lqscintilla2
MAKE_FLAGS+=		LDFLAGS=${LDFLAGS:Q}\ ${LIBS:Q}

do-configure:
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} configure.py \
	    --qmake=${QTDIR}/bin/qmake --sip=${PREFIX}/bin/sip${PYVERSSUFFIX} \
	    --pyqt-sipdir=${PREFIX}/share/sip${PYVERSSUFFIX} \
	    --qsci-sipdir=${PREFIX}/share/sip${PYVERSSUFFIX} \
	    --qsci-libdir=${QTDIR}/lib

post-install:
	${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/Qsci.la \
	    ${DESTDIR}${PREFIX}/${PYSITELIB}/PyQt4/

.include "../../lang/python/extension.mk"
.include "../../x11/py-sip/buildlink3.mk"
.include "../../x11/py-qt4/buildlink3.mk"
BUILDLINK_API_DEPENDS.qt4-qscintilla+=	qt4-qscintilla>=${PKGVERSION_NOREV}
.include "../../x11/qt4-qscintilla/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"