2013-09-20 19:03:26 +02:00
|
|
|
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
|
2000-12-12 15:37:13 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
PORTNAME= boaconstructor
|
2009-11-09 00:01:25 +01:00
|
|
|
PORTVERSION= 0.6.1
|
2014-09-10 22:50:31 +02:00
|
|
|
PORTREVISION= 8
|
2000-12-12 15:37:13 +01:00
|
|
|
CATEGORIES= devel python
|
2009-11-09 00:01:25 +01:00
|
|
|
#MASTER_SITES= SF/boa-constructor/Boa-Constructor/${PORTVERSION}-alpha
|
|
|
|
MASTER_SITES= SF/boa-constructor/Boa-Constructor/${PORTVERSION}-beta
|
|
|
|
DISTNAME= boa-constructor-${PORTVERSION}.src
|
2000-12-12 15:37:13 +01:00
|
|
|
|
2007-06-06 09:45:35 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-03-24 14:22:47 +01:00
|
|
|
COMMENT= 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
|
|
|
|
2014-10-20 18:04:12 +02:00
|
|
|
USES= dos2unix gettext python zip
|
2014-07-06 01:28:59 +02:00
|
|
|
USE_WX= 3.0+
|
2006-12-01 08:39:02 +01:00
|
|
|
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:
|
2014-03-24 14:22:47 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
@${TAR} cCf ${WRKSRC} - --exclude "*.orig" . | ${TAR} xUCf ${STAGEDIR}${DATADIR} -
|
2003-04-17 17:47:44 +02:00
|
|
|
@printf "#!/bin/sh\n${PYTHON_CMD} ${DATADIR}/Boa.py\n" \
|
2000-12-12 15:37:13 +01:00
|
|
|
> ${WRKDIR}/Boa.sh
|
2014-03-24 14:22:47 +01:00
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/Boa.sh ${STAGEDIR}${PREFIX}/bin/Boa
|
2000-12-12 15:37:13 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|