summaryrefslogtreecommitdiff
path: root/devel/eric3/Makefile
blob: b3358b535261f664c5af84ea6fd06d73dd6cf7af (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
# $NetBSD: Makefile,v 1.25 2012/10/31 11:16:56 asau Exp $
#

DISTNAME=	eric-3.8.1
PKGREVISION=	3
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=eric-ide/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.die-offenbachs.de/detlev/eric.html
COMMENT=	Python IDE

DEPENDS+=	${PYPKGPREFIX}-qt3-modules>=3.11:../../x11/py-qt3-modules
DEPENDS+=	${PYPKGPREFIX}-qt3-qscintilla>=3.11:../../x11/py-qt3-qscintilla
DEPENDS+=	${PYPKGPREFIX}-xml>=0.8.4:../../textproc/py-xml

NO_BUILD=		yes
USE_LANGUAGES=

PY_PATCHPLIST=		yes

.include "../../mk/bsd.prefs.mk"

CONFIGURE_ARGS+=	-b ${PREFIX:Q}/bin
CONFIGURE_ARGS+=	-d ${PREFIX:Q}/${PYSITELIB:Q}
.if ${_USE_DESTDIR} != "no"
CONFIGURE_ARGS+=	-i ${DESTDIR:Q}
.endif

do-install:
	(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
		${PYTHONBIN} install.py ${CONFIGURE_ARGS})
	(cd ${DESTDIR}${PREFIX}/${PYSITELIB} && \
		${PYTHONBIN} -c "import py_compile; py_compile.compile('sitecustomize.py')")

.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"