diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-04-18 20:32:41 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-04-18 20:32:41 +0000 |
commit | a145ef44b0219b7620d0f07b570303063785944a (patch) | |
tree | 9aad7b14367957980e385d82f27524a0df4b285b | |
parent | Add patch-regex.c to handle an overflow which is caused by long lines (diff) |
Add py-fox, a Python bindings for FOX GUI toolkit.
PR: ports/65256
Submitted by: Radim Kolar <hsn@netmag.cz>
-rw-r--r-- | x11-toolkits/Makefile | 1 | ||||
-rw-r--r-- | x11-toolkits/py-fox/Makefile | 42 | ||||
-rw-r--r-- | x11-toolkits/py-fox/distinfo | 2 | ||||
-rw-r--r-- | x11-toolkits/py-fox/files/patch-setup | 22 | ||||
-rw-r--r-- | x11-toolkits/py-fox/pkg-descr | 4 | ||||
-rw-r--r-- | x11-toolkits/py-fox/pkg-plist | 161 |
6 files changed, 232 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index 59a43e925e6f..2d13786a474c 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -160,6 +160,7 @@ SUBDIR += pmw SUBDIR += py-SciParam SUBDIR += py-anygui + SUBDIR += py-fox SUBDIR += py-gnome SUBDIR += py-gnome2 SUBDIR += py-gtk diff --git a/x11-toolkits/py-fox/Makefile b/x11-toolkits/py-fox/Makefile new file mode 100644 index 000000000000..e24330e2a769 --- /dev/null +++ b/x11-toolkits/py-fox/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: py-fox +# Date created: 5 Apr 2004 +# Whom: Radim Kolar +# +# $FreeBSD$ +# + +PORTNAME= fox +PORTVERSION= 1.0.5 +CATEGORIES= x11-toolkits +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= fxpy +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= FXPy-${PORTVERSION} + +MAINTAINER= hsn@netmag.cz +COMMENT= Python interface to FOX Graphics library + +LIB_DEPENDS= FOX-1.0:${PORTSDIR}/x11-toolkits/fox + +USE_PYTHON= yes +USE_PYDISTUTILS= yes +USE_XLIB= yes + +WRKSRC= ${WRKDIR}/FXPy-${PORTVERSION} +DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} +EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} + +do-install: + @(cd ${INSTALL_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} install ${PYDISTUTILS_INSTALLARGS}) +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/*.png ${DOCSDIR} + ${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/*.xml ${EXAMPLESDIR} + ${MKDIR} ${EXAMPLESDIR}/icons + ${INSTALL_DATA} ${WRKSRC}/examples/icons/*.png ${EXAMPLESDIR}/icons +.endif + +.include <bsd.port.mk> diff --git a/x11-toolkits/py-fox/distinfo b/x11-toolkits/py-fox/distinfo new file mode 100644 index 000000000000..33d5c653483b --- /dev/null +++ b/x11-toolkits/py-fox/distinfo @@ -0,0 +1,2 @@ +MD5 (FXPy-1.0.5.tar.gz) = d27755b53425b32d4f39599f46576f2d +SIZE (FXPy-1.0.5.tar.gz) = 947438 diff --git a/x11-toolkits/py-fox/files/patch-setup b/x11-toolkits/py-fox/files/patch-setup new file mode 100644 index 000000000000..0539958d9409 --- /dev/null +++ b/x11-toolkits/py-fox/files/patch-setup @@ -0,0 +1,22 @@ +--- setup.py.orig Wed Apr 3 00:29:06 2002 ++++ setup.py Tue Apr 6 11:53:15 2004 +@@ -13,8 +13,10 @@ + # Location of X libraries + if sys.platform == 'win32': + XLIBDIR = [] ++ XLIBINC = [] + else: + XLIBDIR = ['/usr/X11R6/lib'] ++ XLIBINC = ['/usr/X11R6/include'] + + # Other libraries + OLIBDIRS = ['c:\cygwin\usr\local\lib'] +@@ -43,7 +45,7 @@ + ] + + # All required include file directories +-INCDIRS = [FXINCDIR] ++INCDIRS = [FXINCDIR] + XLIBINC + + # All required library file directories + LIBDIRS = [FXLIBDIR] + XLIBDIR + OLIBDIRS diff --git a/x11-toolkits/py-fox/pkg-descr b/x11-toolkits/py-fox/pkg-descr new file mode 100644 index 000000000000..fad8fab8c405 --- /dev/null +++ b/x11-toolkits/py-fox/pkg-descr @@ -0,0 +1,4 @@ +FXPy is a Python extension module which provides an interface to the FOX GUI +library. + +WWW: http://fxpy.sourceforge.net/ diff --git a/x11-toolkits/py-fox/pkg-plist b/x11-toolkits/py-fox/pkg-plist new file mode 100644 index 000000000000..dec34c04f77c --- /dev/null +++ b/x11-toolkits/py-fox/pkg-plist @@ -0,0 +1,161 @@ +%%PYTHON_SITELIBDIR%%/FXPy/__init__.py +%%PYTHON_SITELIBDIR%%/FXPy/__init__.pyc +%%PYTHON_SITELIBDIR%%/FXPy/__init__.pyo +%%PYTHON_SITELIBDIR%%/FXPy/containers.py +%%PYTHON_SITELIBDIR%%/FXPy/containers.pyc +%%PYTHON_SITELIBDIR%%/FXPy/containers.pyo +%%PYTHON_SITELIBDIR%%/FXPy/controls.py +%%PYTHON_SITELIBDIR%%/FXPy/controls.pyc +%%PYTHON_SITELIBDIR%%/FXPy/controls.pyo +%%PYTHON_SITELIBDIR%%/FXPy/dialogs.py +%%PYTHON_SITELIBDIR%%/FXPy/dialogs.pyc +%%PYTHON_SITELIBDIR%%/FXPy/dialogs.pyo +%%PYTHON_SITELIBDIR%%/FXPy/dirlist.py +%%PYTHON_SITELIBDIR%%/FXPy/dirlist.pyc +%%PYTHON_SITELIBDIR%%/FXPy/dirlist.pyo +%%PYTHON_SITELIBDIR%%/FXPy/fox.py +%%PYTHON_SITELIBDIR%%/FXPy/fox.pyc +%%PYTHON_SITELIBDIR%%/FXPy/fox.pyo +%%PYTHON_SITELIBDIR%%/FXPy/fox3d.py +%%PYTHON_SITELIBDIR%%/FXPy/fox3d.pyc +%%PYTHON_SITELIBDIR%%/FXPy/fox3d.pyo +%%PYTHON_SITELIBDIR%%/FXPy/foxc.so +%%PYTHON_SITELIBDIR%%/FXPy/graphics.py +%%PYTHON_SITELIBDIR%%/FXPy/graphics.pyc +%%PYTHON_SITELIBDIR%%/FXPy/graphics.pyo +%%PYTHON_SITELIBDIR%%/FXPy/iconlist.py +%%PYTHON_SITELIBDIR%%/FXPy/iconlist.pyc +%%PYTHON_SITELIBDIR%%/FXPy/iconlist.pyo +%%PYTHON_SITELIBDIR%%/FXPy/make_virtuals.py +%%PYTHON_SITELIBDIR%%/FXPy/make_virtuals.pyc +%%PYTHON_SITELIBDIR%%/FXPy/make_virtuals.pyo +%%PYTHON_SITELIBDIR%%/FXPy/mdi.py +%%PYTHON_SITELIBDIR%%/FXPy/mdi.pyc +%%PYTHON_SITELIBDIR%%/FXPy/mdi.pyo +%%PYTHON_SITELIBDIR%%/FXPy/menus.py +%%PYTHON_SITELIBDIR%%/FXPy/menus.pyc +%%PYTHON_SITELIBDIR%%/FXPy/menus.pyo +%%PYTHON_SITELIBDIR%%/FXPy/misc.py +%%PYTHON_SITELIBDIR%%/FXPy/misc.pyc +%%PYTHON_SITELIBDIR%%/FXPy/misc.pyo +%%PYTHON_SITELIBDIR%%/FXPy/overloads.py +%%PYTHON_SITELIBDIR%%/FXPy/overloads.pyc +%%PYTHON_SITELIBDIR%%/FXPy/overloads.pyo +%%PYTHON_SITELIBDIR%%/FXPy/table.py +%%PYTHON_SITELIBDIR%%/FXPy/table.pyc +%%PYTHON_SITELIBDIR%%/FXPy/table.pyo +%%PYTHON_SITELIBDIR%%/FXPy/text.py +%%PYTHON_SITELIBDIR%%/FXPy/text.pyc +%%PYTHON_SITELIBDIR%%/FXPy/text.pyo +%%PYTHON_SITELIBDIR%%/FXPy/treelist.py +%%PYTHON_SITELIBDIR%%/FXPy/treelist.pyc +%%PYTHON_SITELIBDIR%%/FXPy/treelist.pyo +%%PYTHON_SITELIBDIR%%/FXPy/windows.py +%%PYTHON_SITELIBDIR%%/FXPy/windows.pyc +%%PYTHON_SITELIBDIR%%/FXPy/windows.pyo +@dirrm %%PYTHON_SITELIBDIR%%/FXPy +%%PORTDOCS%%%%DOCSDIR%%/Links.html +%%PORTDOCS%%%%DOCSDIR%%/book.html +%%PORTDOCS%%%%DOCSDIR%%/build.html +%%PORTDOCS%%%%DOCSDIR%%/changes.html +%%PORTDOCS%%%%DOCSDIR%%/diffs.html +%%PORTDOCS%%%%DOCSDIR%%/examples.html +%%PORTDOCS%%%%DOCSDIR%%/glviewer.png +%%PORTDOCS%%%%DOCSDIR%%/install.html +%%PORTDOCS%%%%DOCSDIR%%/intro.html +%%PORTDOCS%%%%DOCSDIR%%/neko.png +%%PORTDOCS%%%%DOCSDIR%%/problems.html +%%PORTDOCS%%%%DOCSDIR%%/todo-list.html +%%PORTDOCS%%%%EXAMPLESDIR%%/button.py +%%PORTDOCS%%%%EXAMPLESDIR%%/datatarget.py +%%PORTDOCS%%%%EXAMPLESDIR%%/demo.py +%%PORTDOCS%%%%EXAMPLESDIR%%/demos.xml +%%PORTDOCS%%%%EXAMPLESDIR%%/dialog.py +%%PORTDOCS%%%%EXAMPLESDIR%%/dirlist.py +%%PORTDOCS%%%%EXAMPLESDIR%%/foursplit.py +%%PORTDOCS%%%%EXAMPLESDIR%%/gltest.py +%%PORTDOCS%%%%EXAMPLESDIR%%/glviewer.py +%%PORTDOCS%%%%EXAMPLESDIR%%/groupbox.py +%%PORTDOCS%%%%EXAMPLESDIR%%/header.py +%%PORTDOCS%%%%EXAMPLESDIR%%/hello.py +%%PORTDOCS%%%%EXAMPLESDIR%%/hello2.py +%%PORTDOCS%%%%EXAMPLESDIR%%/iconlist.py +%%PORTDOCS%%%%EXAMPLESDIR%%/imagetest.py +%%PORTDOCS%%%%EXAMPLESDIR%%/imageviewer.py +%%PORTDOCS%%%%EXAMPLESDIR%%/inputs.py +%%PORTDOCS%%%%EXAMPLESDIR%%/mditest.py +%%PORTDOCS%%%%EXAMPLESDIR%%/neko.py +%%PORTDOCS%%%%EXAMPLESDIR%%/scribble.py +%%PORTDOCS%%%%EXAMPLESDIR%%/shutter.py +%%PORTDOCS%%%%EXAMPLESDIR%%/splitter.py +%%PORTDOCS%%%%EXAMPLESDIR%%/tabbook.py +%%PORTDOCS%%%%EXAMPLESDIR%%/table.py +%%PORTDOCS%%%%EXAMPLESDIR%%/weather.py +%%PORTDOCS%%%%EXAMPLESDIR%%/window.py +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/backview.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/bigfolder.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/bigpenguin.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/bottomview.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/but_line_power.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/camera.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat0.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat1.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat10.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat11.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat12.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat13.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat14.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat15.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat16.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat17.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat18.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat19.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat2.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat20.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat3.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat4.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat5.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat6.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat7.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat8.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat9.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/colorpal.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/copy.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cut.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/filenew.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/fileopen.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/filesave.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/filesaveas.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/fonts.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/fox.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/foxicon.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/frontview.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/help.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/kill.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/leftview.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/light.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/minidoc.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/minifolder.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/minifolderopen.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/newfolder.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/nolight.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/parallel.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/paste.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/penguin.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/perspective.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/printicon.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/prop.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/redo.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/rightview.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/shutter1.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/shutter2.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/small.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/smoothlight.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/tbuplevel.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/topview.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/undo.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/winapp.png +%%PORTDOCS%%%%EXAMPLESDIR%%/icons/zoom.png +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/icons +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% |