1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/devel/boaconstructor/Makefile
Maxim Sobolev 8755f9124a Add Boa Constructor. Boa Constructor is a cross platform RAD GUI Building IDE.
It offers visual frame creation and manipulation, an object inspector, many
views on the source like inheritance hierarchies, object methods and properties,
html generated from documentation strings, a debugger and integrated help. It
is written in Python and uses the wxPython toolkit which wraps wxWindows.
2000-12-12 14:37:13 +00:00

41 lines
1.1 KiB
Makefile

# New ports collection makefile for: boa-constructor
# Date created: 15 December 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= boaconstructor
PORTVERSION= 0.0.4
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= boa-constructor
DISTNAME= Boa-${PORTVERSION}
MAINTAINER= sobomax@FreeBSD.org
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/wxPython/wxcmodule.so:${PORTSDIR}/x11-toolkits/py-wxPython
WRKSRC= ${WRKDIR}/Boa
USE_ZIP= yes
USE_PYTHON= yes
do-configure:
@${PERL} -pi -e 's|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|' \
${WRKSRC}/Explorer.gtk.cfg
do-build:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
do-install:
@${MKDIR} ${PREFIX}/share/Boa
@(cd ${WRKSRC} && ${TAR} --exclude .cvsignore --exclude "*.orig" -c -f - .) \
| (cd ${PREFIX}/share/Boa && ${TAR} --unlink -x -f -)
@printf "#!/bin/sh\n${PYTHON_CMD} ${PREFIX}/share/Boa/Boa.py\n" \
> ${WRKDIR}/Boa.sh
@${INSTALL_SCRIPT} ${WRKDIR}/Boa.sh ${PREFIX}/bin/Boa
.include <bsd.port.mk>