summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-pyqwt/Makefile
blob: b5e79e905e67e384a6a95b44e9ed2806ace6d1dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$

PORTNAME=	pyqwt
PORTVERSION=	5.2.0
PORTREVISION=	7
CATEGORIES=	x11-toolkits python
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	${PORTNAME}/${PORTNAME}5/PyQwt-${PORTVERSION}
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	PyQwt-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Python Bindings for the Qwt Class Library

BROKEN=		do not build

BUILD_DEPENDS=	${LOCALBASE}/bin/qmake-qt4:${PORTSDIR}/devel/qmake4 \
		${PYNUMPY} \
		${PYTHON_PKGNAMEPREFIX}qt4-core>=4.5.4:${PORTSDIR}/devel/py-qt4-core \
		${PYTHON_PKGNAMEPREFIX}qt4-svg>=4.5.4:${PORTSDIR}/graphics/py-qt4-svg \
		${PYTHON_PKGNAMEPREFIX}qt4-gui>=4.5.4:${PORTSDIR}/x11-toolkits/py-qt4-gui \
		${PYTHON_PKGNAMEPREFIX}qt4-qscintilla2>=2.4.1:${PORTSDIR}/devel/py-qt4-qscintilla2 \
		${PYTHON_PKGNAMEPREFIX}sip>=${SIP_VERSION}:${PORTSDIR}/devel/py-sip
RUN_DEPENDS:=	${BUILD_DEPENDS}
LIB_DEPENDS=	qwt.5:${PORTSDIR}/x11-toolkits/qwt5

USES=		gmake
USE_PYTHON=	yes
MAKEFILE=	GNUmakefile
MAKE_JOBS_UNSAFE=	yes

NO_STAGE=	yes
post-patch:
		${REINPLACE_CMD} -e 's#%%LOCALBASE%%#${LOCALBASE}#g' \
			${WRKSRC}/GNUmakefile

.include <bsd.port.mk>
OpenPOWER on IntegriCloud