summaryrefslogtreecommitdiff
path: root/devel/boaconstructor/Makefile
blob: de0fdaad1396f99e0195b7c0dd60d4f2535899b8 (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
# $NetBSD: Makefile,v 1.3 2004/12/25 20:03:52 wiz Exp $
#

DISTNAME=		boa-constructor-0.2.3.src
PKGNAME=		boaconstructor-0.2.3
PKGREVISION=		2
CATEGORIES=		devel
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=boa-constructor/}
EXTRACT_SUFX=		.zip

MAINTAINER=		tech-pkg@NetBSD.org
HOMEPAGE=		http://boa-constructor.sourceforge.net/
COMMENT=		Python IDE

WRKSRC=		${WRKDIR}/boa-constructor-0.2.3
EXTRACT_CMD_OPTS.zip=	-aqo
USE_BUILDLINK3=		yes
PYTHON_VERSIONS_ACCEPTED=	23pth

BOADIR=	${PREFIX}/share/boa-constructor-0.2.3
SEDSUBST=	-e "s|@PYTHONBIN@|${PYTHONBIN}|"
SEDSUBST+=	-e "s|@PREFIX@|${PREFIX}|"

do-build:
	${SED} ${SEDSUBST} <${FILESDIR}/Boa.sh >${WRKDIR}/Boa

do-install:
	${MKDIR} ${BOADIR}
	cd ${WRKSRC} && ${PAX} -rw . ${BOADIR}
	${CHMOD} -R go-w ${BOADIR}
	${INSTALL_SCRIPT} ${WRKDIR}/Boa ${PREFIX}/bin

.include "../../lang/python/application.mk"
.include "../../x11/py-wxWidgets/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"