summaryrefslogtreecommitdiff
path: root/devel/boaconstructor/Makefile
blob: 613c5e8c7ac3f4b37d3afb0c65fb8a082015a9a5 (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
# $NetBSD: Makefile,v 1.1.1.1 2004/08/27 15:07:11 drochner Exp $
#

DISTNAME=		boa-constructor-0.2.3.src
PKGNAME=		boaconstructor-0.2.3
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-wxWindows/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"