summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-pyqwt/Makefile
blob: 986f2afdf35296c75257c6521be0bdbbdadf6d16 (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
# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$

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

MAINTAINER=	wenheping@gmail.com
COMMENT=	Python Bindings for the Qwt Class Library

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=	2.5+
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