summaryrefslogtreecommitdiff
path: root/x11-toolkits/py-Pmw/Makefile
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1998-06-05 06:50:33 +0000
committerThomas Gellekum <tg@FreeBSD.org>1998-06-05 06:50:33 +0000
commit57d114ddf34f3fc55c0eda2d1dede63d93f1531c (patch)
tree028d3db5856de500fb29aefc994047be5c3ab17a /x11-toolkits/py-Pmw/Makefile
parentUpgrade to 0.85. (diff)
New port pmw. The Python Mega Widgets are a set of high-level
graphics widget for Python's Tkinter.
Notes
Notes: svn path=/head/; revision=11269
Diffstat (limited to 'x11-toolkits/py-Pmw/Makefile')
-rw-r--r--x11-toolkits/py-Pmw/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/x11-toolkits/py-Pmw/Makefile b/x11-toolkits/py-Pmw/Makefile
new file mode 100644
index 000000000000..a2826120e87e
--- /dev/null
+++ b/x11-toolkits/py-Pmw/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: pmw
+# Version required: 0.7
+# Date created: 03 June 1998
+# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
+#
+# $Id$
+
+DISTNAME= Pmw.0.7
+PKGNAME= pmw-0.7
+CATEGORIES= x11
+MASTER_SITES= ftp://ftp.dscpl.com.au/pub/pmw/
+
+MAINTAINER= tg@FreeBSD.ORG
+
+BUILD_DEPENDS= python:${PORTSDIR}/lang/python
+RUN_DEPENDS= python:${PORTSDIR}/lang/python
+
+NO_CONFIGURE= true
+
+PYTHONSCRIPTDIR=${PREFIX}/lib/python1.5
+SITEPYDIR= ${PYTHONSCRIPTDIR}/site-packages
+DOCDIR= ${PREFIX}/share/doc/Pmw
+EXAMPLEDIR= ${PREFIX}/share/examples/Pmw
+
+do-build:
+ @${ECHO_MSG} "Do a \`make install' as root."
+
+do-install:
+ @(cd ${WRKDIR}; tar cf - Pmw/__init__.py Pmw/Pmw_0_7/__init__.py Pmw/Pmw_0_7/lib) | \
+ (cd ${SITEPYDIR}; tar xf -)
+ @${PREFIX}/bin/python ${PYTHONSCRIPTDIR}/compileall.py ${SITEPYDIR}/Pmw
+ @${PREFIX}/bin/python -O ${PYTHONSCRIPTDIR}/compileall.py ${SITEPYDIR}/Pmw
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCDIR} ${EXAMPLEDIR}
+ @(cd ${WRKDIR}/Pmw/Pmw_0_7/doc; tar cf - .) | \
+ (cd ${DOCDIR}; tar xf -)
+ @(cd ${WRKDIR}/Pmw/Pmw_0_7/demos; tar cf - .) | \
+ (cd ${EXAMPLEDIR}; tar xf -)
+ @${PREFIX}/bin/python ${PYTHONSCRIPTDIR}/compileall.py ${EXAMPLEDIR}
+ @${PREFIX}/bin/python -O ${PYTHONSCRIPTDIR}/compileall.py ${EXAMPLEDIR}
+.endif
+
+.include <bsd.port.mk>