144a1ee175
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.
28 lines
740 B
Makefile
28 lines
740 B
Makefile
# $NetBSD: Makefile,v 1.19 2006/07/22 04:46:19 rillig Exp $
|
|
#
|
|
|
|
DISTNAME= sip-3.1
|
|
PKGNAME= ${PYPKGPREFIX}-qt2-sip-3.1
|
|
PKGREVISION= 4
|
|
CATEGORIES= x11 devel python
|
|
MASTER_SITES= http://www.riverbankcomputing.co.uk/download/sip/
|
|
|
|
MAINTAINER= drochner@NetBSD.org
|
|
HOMEPAGE= http://www.riverbankcomputing.co.uk/sip/index.php
|
|
COMMENT= Tool to create Python bindings for C++ libraries
|
|
|
|
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}
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../x11/qt2-libs/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|