blob: d32cc6024cf94ea48f2aaf8f9dc811f3a654ad6f (
plain) (
blame)
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
35
36
37
38
|
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
PORTNAME= boaconstructor
PORTVERSION= 0.6.1
PORTREVISION= 4
CATEGORIES= devel python
#MASTER_SITES= SF/boa-constructor/Boa-Constructor/${PORTVERSION}-alpha
MASTER_SITES= SF/boa-constructor/Boa-Constructor/${PORTVERSION}-beta
DISTNAME= boa-constructor-${PORTVERSION}.src
MAINTAINER= ports@FreeBSD.org
COMMENT= A cross platform RAD GUI Building IDE for wxPython
WRKSRC= ${WRKDIR}/boa-constructor-${PORTVERSION}
USE_ZIP= yes
USES= gettext
USE_PYTHON= yes
USE_WX= 2.6
WX_COMPS= python
DATADIR= ${PREFIX}/share/Boa
NO_STAGE= yes
do-build:
@${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
do-install:
@${MKDIR} ${DATADIR}
@${TAR} cCf ${WRKSRC} - --exclude "*.orig" . | ${TAR} xUCf ${DATADIR} -
@printf "#!/bin/sh\n${PYTHON_CMD} ${DATADIR}/Boa.py\n" \
> ${WRKDIR}/Boa.sh
@${INSTALL_SCRIPT} ${WRKDIR}/Boa.sh ${PREFIX}/bin/Boa
.include <bsd.port.mk>
|