mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
f0332dd31c
Reported by: marino Approved by: portmgr (blanket)
37 lines
1.2 KiB
Makefile
37 lines
1.2 KiB
Makefile
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= boaconstructor
|
|
PORTVERSION= 0.6.1
|
|
PORTREVISION= 7
|
|
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= Cross platform RAD GUI Building IDE for wxPython
|
|
|
|
WRKSRC= ${WRKDIR}/boa-constructor-${PORTVERSION}
|
|
|
|
USES= dos2unix gettext zip
|
|
USE_PYTHON= yes
|
|
USE_WX= 3.0+
|
|
WX_COMPS= python
|
|
DATADIR= ${PREFIX}/share/Boa
|
|
|
|
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} ${STAGEDIR}${DATADIR}
|
|
@${TAR} cCf ${WRKSRC} - --exclude "*.orig" . | ${TAR} xUCf ${STAGEDIR}${DATADIR} -
|
|
@printf "#!/bin/sh\n${PYTHON_CMD} ${DATADIR}/Boa.py\n" \
|
|
> ${WRKDIR}/Boa.sh
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/Boa.sh ${STAGEDIR}${PREFIX}/bin/Boa
|
|
|
|
.include <bsd.port.mk>
|