35 lines
936 B
Makefile
35 lines
936 B
Makefile
# $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"
|