summaryrefslogtreecommitdiff
path: root/devel/eric4/Makefile
blob: 6621c4052eb6cbbd6fd944cd729e9ad40afd20a3 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# $NetBSD: Makefile,v 1.48 2017/01/01 14:43:30 wiz Exp $

VERS=			4.5.24
DISTNAME=		eric4-${VERS}
PKGREVISION=		2
CATEGORIES=		devel
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=eric-ide/}

MAINTAINER=		helgoman@users.sourceforge.net
HOMEPAGE=		http://eric-ide.python-projects.org/index.html
COMMENT=		Python - IDE
LICENSE=		gnu-gpl-v3

NO_BUILD=		yes
EXTRACT_USING=		bsdtar

PY_PATCHPLIST=			yes
PYTHON_VERSIONS_INCOMPATIBLE=	34 35 36 # not yet ported as of 4.5.18

CONFIGURE_ARGS+=		-b ${PREFIX}/bin
CONFIGURE_ARGS+=		-d ${PREFIX}/${PYSITELIB}
CONFIGURE_ARGS+=		-a ${PREFIX}/qt4/qsci/api
CONFIGURE_ARGS+=		-i ${DESTDIR}

REPLACE_PYTHON+=	eric/Examples/hallo.py
REPLACE_PYTHON+=	eric/Examples/rhallo.py
REPLACE_PYTHON+=	eric/compileUiFiles.py
REPLACE_PYTHON+=	eric/eric4.py
REPLACE_PYTHON+=	eric/eric4_api.py
REPLACE_PYTHON+=	eric/eric4_compare.py
REPLACE_PYTHON+=	eric/eric4_configure.py
REPLACE_PYTHON+=	eric/eric4_diff.py
REPLACE_PYTHON+=	eric/eric4_doc.py
REPLACE_PYTHON+=	eric/eric4_editor.py
REPLACE_PYTHON+=	eric/eric4_iconeditor.py
REPLACE_PYTHON+=	eric/eric4_plugininstall.py
REPLACE_PYTHON+=	eric/eric4_pluginrepository.py
REPLACE_PYTHON+=	eric/eric4_pluginuninstall.py
REPLACE_PYTHON+=	eric/eric4_qregexp.py
REPLACE_PYTHON+=	eric/eric4_re.py
REPLACE_PYTHON+=	eric/eric4_sqlbrowser.py
REPLACE_PYTHON+=	eric/eric4_tray.py
REPLACE_PYTHON+=	eric/eric4_trpreviewer.py
REPLACE_PYTHON+=	eric/eric4_uipreviewer.py
REPLACE_PYTHON+=	eric/eric4_unittest.py
REPLACE_PYTHON+=	eric/eric4_webbrowser.py
REPLACE_PYTHON+=	eric/install-i18n.py
REPLACE_PYTHON+=	eric/install.py
REPLACE_PYTHON+=	eric/uninstall.py
REPLACE_PYTHON+=	install.py
REPLACE_PYTHON+=	uninstall.py

do-install:
	(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
		${PYTHONBIN} install.py ${CONFIGURE_ARGS})

.include "options.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../x11/py-qt4/buildlink3.mk"
.include "../../x11/qt4-qscintilla/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../x11/py-qt4-qscintilla/buildlink3.mk"
BUILDLINK_API_DEPENDS.pyxml+=	${PYPKGPREFIX}-xml>=0.8.4nb3
.include "../../mk/bsd.pkg.mk"