pkgsrc/x11/py-qt2/Makefile
rillig 144a1ee175 Added "c" to USE_LANGUAGES for packages that use GNU configure scripts,
since they always need a C compiler, even when the source code is
completely in C++.

For some other packages, stated in the comment that a C compiler is
really not needed.
2006-07-22 04:46:13 +00:00

36 lines
1,013 B
Makefile

# $NetBSD: Makefile,v 1.23 2006/07/22 04:46:19 rillig Exp $
#
DISTNAME= PyQt-3.1-Qt-2.3.1
PKGNAME= ${PYPKGPREFIX}-qt2-3.1
PKGREVISION= 6
CATEGORIES= x11 python
MASTER_SITES= http://www.riverbankcomputing.co.uk/download/PyQt/
MAINTAINER= drochner@NetBSD.org
HOMEPAGE= http://www.riverbankcomputing.co.uk/pyqt/index.php
COMMENT= Python bindings for the Qt toolkit
WRKSRC= ${WRKDIR}/PyQt-3.1
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-python=${PYTHONBIN:Q} \
--with-qt-dir=${QTDIR:Q}
PY_PATCHPLIST= yes
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
MAKE_ENV+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
# MesaLib is pulled in through qt2-libs; we need a version
# which doesn't (needlessly) link to libpthread
BUILDLINK_API_DEPENDS.MesaLib+= MesaLib>=6.4.2nb1
.include "../../lang/python/extension.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../x11/py-qt2-sip/buildlink3.mk"
.include "../../x11/qt2-libs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"