2000-12-12 15:37:13 +01:00
|
|
|
# New ports collection makefile for: boa-constructor
|
|
|
|
# Date created: 15 December 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
PORTNAME= boaconstructor
|
2005-10-09 14:21:54 +02:00
|
|
|
PORTVERSION= 0.4.4
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 4
|
2000-12-12 15:37:13 +01:00
|
|
|
CATEGORIES= devel python
|
2009-08-22 02:18:43 +02:00
|
|
|
MASTER_SITES= SF/boa-constructor/Boa-Constructor/${PORTVERSION}-alpha
|
2005-10-09 14:21:54 +02:00
|
|
|
DISTNAME= boa-constructor-${PORTVERSION}
|
2000-12-12 15:37:13 +01:00
|
|
|
|
2007-06-06 09:45:35 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A cross platform RAD GUI Building IDE for wxPython
|
2000-12-12 15:37:13 +01:00
|
|
|
|
2003-04-17 17:47:44 +02:00
|
|
|
WRKSRC= ${WRKDIR}/boa-constructor-${PORTVERSION}
|
2000-12-12 15:37:13 +01:00
|
|
|
|
|
|
|
USE_ZIP= yes
|
|
|
|
USE_PYTHON= yes
|
2006-12-01 08:39:02 +01:00
|
|
|
USE_WX= 2.6
|
|
|
|
WX_COMPS= python
|
2003-04-17 17:47:44 +02:00
|
|
|
DATADIR= ${PREFIX}/share/Boa
|
2000-12-12 15:37:13 +01:00
|
|
|
|
|
|
|
do-build:
|
2003-12-04 09:20:35 +01:00
|
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -x zoa ${WRKSRC}
|
|
|
|
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -x zoa ${WRKSRC}
|
|
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/py_compile.py ${WRKSRC}/ZopeLib/zoa/breakpoint.py
|
|
|
|
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/py_compile.py ${WRKSRC}/ZopeLib/zoa/breakpoint.py
|
2000-12-12 15:37:13 +01:00
|
|
|
|
|
|
|
do-install:
|
2003-04-17 17:47:44 +02:00
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
@${TAR} cCf ${WRKSRC} - --exclude "*.orig" . | ${TAR} xUCf ${DATADIR} -
|
|
|
|
@printf "#!/bin/sh\n${PYTHON_CMD} ${DATADIR}/Boa.py\n" \
|
2000-12-12 15:37:13 +01:00
|
|
|
> ${WRKDIR}/Boa.sh
|
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/Boa.sh ${PREFIX}/bin/Boa
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|