aboutsummaryrefslogtreecommitdiff
path: root/devel/boaconstructor/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2003-04-17 15:47:44 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2003-04-17 15:47:44 +0000
commit31bbd086c7c2f61f1efb058f43fb18e93b19a5b2 (patch)
treed90a79644bded01d53135129c5d4beffff9a3486 /devel/boaconstructor/Makefile
parent12fce5e93541eb3be7594b3949a7776acb5c3696 (diff)
downloadports-31bbd086c7c2f61f1efb058f43fb18e93b19a5b2.tar.gz
ports-31bbd086c7c2f61f1efb058f43fb18e93b19a5b2.zip
Notes
Diffstat (limited to 'devel/boaconstructor/Makefile')
-rw-r--r--devel/boaconstructor/Makefile23
1 files changed, 9 insertions, 14 deletions
diff --git a/devel/boaconstructor/Makefile b/devel/boaconstructor/Makefile
index bcd31dd8e42e..1beb579f3e7c 100644
--- a/devel/boaconstructor/Makefile
+++ b/devel/boaconstructor/Makefile
@@ -6,36 +6,31 @@
#
PORTNAME= boaconstructor
-PORTVERSION= 0.0.5
+PORTVERSION= 0.2.3
CATEGORIES= devel python
-MASTER_SITES= http://ftp1.sourceforge.net/${MASTER_SITE_SUBDIR}/ \
- ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= boa-constructor
-DISTNAME= Boa-${PORTVERSION}
+DISTNAME= boa-constructor-${PORTVERSION}.src
-MAINTAINER= sobomax@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= A cross platform RAD GUI Building IDE for wxPython
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/wxPython/wxc.so:${PORTSDIR}/x11-toolkits/py-wxPython
-WRKSRC= ${WRKDIR}/Boa-${PORTVERSION}
+WRKSRC= ${WRKDIR}/boa-constructor-${PORTVERSION}
USE_ZIP= yes
USE_PYTHON= yes
-
-do-configure:
- @${PERL} -pi -e 's|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|' \
- ${WRKSRC}/Explorer.gtk.cfg
+DATADIR= ${PREFIX}/share/Boa
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" \
+ @${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