aboutsummaryrefslogtreecommitdiff
path: root/devel/boaconstructor/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-12-12 14:37:13 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-12-12 14:37:13 +0000
commit8755f9124a3d867d609c55d55b1362118e2fda2b (patch)
tree11e251306770f8527c263f41fb1f5cf1249228d7 /devel/boaconstructor/Makefile
parent2e9b5b73636b8a51987ac5c8413f20f5c7ea097d (diff)
downloadports-8755f9124a3d867d609c55d55b1362118e2fda2b.tar.gz
ports-8755f9124a3d867d609c55d55b1362118e2fda2b.zip
Notes
Diffstat (limited to 'devel/boaconstructor/Makefile')
-rw-r--r--devel/boaconstructor/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/devel/boaconstructor/Makefile b/devel/boaconstructor/Makefile
new file mode 100644
index 000000000000..73f46b1ac3a8
--- /dev/null
+++ b/devel/boaconstructor/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: boa-constructor
+# Date created: 15 December 2000
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= boaconstructor
+PORTVERSION= 0.0.4
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= boa-constructor
+DISTNAME= Boa-${PORTVERSION}
+
+MAINTAINER= sobomax@FreeBSD.org
+
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/wxPython/wxcmodule.so:${PORTSDIR}/x11-toolkits/py-wxPython
+
+WRKSRC= ${WRKDIR}/Boa
+
+USE_ZIP= yes
+USE_PYTHON= yes
+
+do-configure:
+ @${PERL} -pi -e 's|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|' \
+ ${WRKSRC}/Explorer.gtk.cfg
+
+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" \
+ > ${WRKDIR}/Boa.sh
+ @${INSTALL_SCRIPT} ${WRKDIR}/Boa.sh ${PREFIX}/bin/Boa
+
+.include <bsd.port.mk>