Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Apr 2004 17:17:32 +0200
From:      Radim Kolar <hsn@netmag.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65256: new port: x11toolkits/py-fox
Message-ID:  <E1BAsKS-000KH3-3m@asura.bsd>
Resent-Message-ID: <200404061620.i36GK7ff042471@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         65256
>Category:       ports
>Synopsis:       new port: x11toolkits/py-fox
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 06 09:20:06 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Radim Kolar
>Release:        FreeBSD 5.2.1-RELEASE-p3 i386
>Organization:
Sanatana Dharma
>Environment:
System: FreeBSD asura.bsd 5.2.1-RELEASE-p3 FreeBSD 5.2.1-RELEASE-p3 #6: Mon Apr 5 17:41:24 CEST 2004 root@asura.bsd:/usr/src/sys/i386/compile/UP i386
>Description:
Python bindings for fox toolkit.
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-fox
#	py-fox/Makefile
#	py-fox/distinfo
#	py-fox/pkg-descr
#	py-fox/pkg-plist
#	py-fox/files
#	py-fox/files/patch-setup
#
echo c - py-fox
mkdir -p py-fox > /dev/null 2>&1
echo x - py-fox/Makefile
sed 's/^X//' >py-fox/Makefile << 'END-of-py-fox/Makefile'
X# New ports collection makefile for:	py-fox
X# Date created:		5 Apr 2004
X# Whom:			Radim Kolar
X#
X# $FreeBSD$
X#
X
XPORTNAME=	fox
XPORTVERSION=	1.0.5
XCATEGORIES=	x11-toolkits
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	fxpy
XDISTNAME=${MASTER_SITE_SUBDIR}-${PORTVERSION}
XPKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	hsn@netmag.cz
XCOMMENT=	Python interface to FOX Graphics library
X
XLIB_DEPENDS=	FOX-1.0:${PORTSDIR}/x11-toolkits/fox
X
XUSE_PYTHON=yes
XUSE_PYDISTUTILS=yes
XUSE_XLIB=yes
X
XWRKSRC=${WRKDIR}/FXPy-${PORTVERSION}
XDOCSDIR=${PREFIX}/share/doc/py-${PORTNAME}
XEXAMPLESDIR=${PREFIX}/share/examples/py-${PORTNAME}
X
Xdo-install:
X	@(cd ${INSTALL_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} install ${PYDISTUTILS_INSTALLARGS})
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/doc/*.png ${DOCSDIR}
X	${MKDIR} ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/examples/*.xml ${EXAMPLESDIR}
X	${MKDIR} ${EXAMPLESDIR}/icons
X	${INSTALL_DATA} ${WRKSRC}/examples/icons/*.png ${EXAMPLESDIR}/icons 
X.endif
X
X.include <bsd.port.mk>
END-of-py-fox/Makefile
echo x - py-fox/distinfo
sed 's/^X//' >py-fox/distinfo << 'END-of-py-fox/distinfo'
XMD5 (fxpy-1.0.5.tar.gz) = d27755b53425b32d4f39599f46576f2d
XSIZE (fxpy-1.0.5.tar.gz) = 947438
END-of-py-fox/distinfo
echo x - py-fox/pkg-descr
sed 's/^X//' >py-fox/pkg-descr << 'END-of-py-fox/pkg-descr'
XFXPy is a Python extension module which provides an interface to the FOX GUI
Xlibrary. 
X
XWWW: http://fxpy.sourceforge.net/
END-of-py-fox/pkg-descr
echo x - py-fox/pkg-plist
sed 's/^X//' >py-fox/pkg-plist << 'END-of-py-fox/pkg-plist'
X%%PYTHON_SITELIBDIR%%/FXPy/__init__.py
X%%PYTHON_SITELIBDIR%%/FXPy/__init__.pyc
X%%PYTHON_SITELIBDIR%%/FXPy/__init__.pyo
X%%PYTHON_SITELIBDIR%%/FXPy/containers.py
X%%PYTHON_SITELIBDIR%%/FXPy/containers.pyc
X%%PYTHON_SITELIBDIR%%/FXPy/containers.pyo
X%%PYTHON_SITELIBDIR%%/FXPy/controls.py
X%%PYTHON_SITELIBDIR%%/FXPy/controls.pyc
X%%PYTHON_SITELIBDIR%%/FXPy/controls.pyo
X%%PYTHON_SITELIBDIR%%/FXPy/dialogs.py
X%%PYTHON_SITELIBDIR%%/FXPy/dialogs.pyc
X%%PYTHON_SITELIBDIR%%/FXPy/dialogs.pyo
X%%PYTHON_SITELIBDIR%%/FXPy/dirlist.py
X%%PYTHON_SITELIBDIR%%/FXPy/dirlist.pyc
X%%PYTHON_SITELIBDIR%%/FXPy/dirlist.pyo
X%%PYTHON_SITELIBDIR%%/FXPy/fox.py
X%%PYTHON_SITELIBDIR%%/FXPy/fox.pyc
X%%PYTHON_SITELIBDIR%%/FXPy/fox.pyo
X%%PYTHON_SITELIBDIR%%/FXPy/fox3d.py
X%%PYTHON_SITELIBDIR%%/FXPy/fox3d.pyc
X%%PYTHON_SITELIBDIR%%/FXPy/fox3d.pyo
X%%PYTHON_SITELIBDIR%%/FXPy/foxc.so
X%%PYTHON_SITELIBDIR%%/FXPy/graphics.py
X%%PYTHON_SITELIBDIR%%/FXPy/graphics.pyc
X%%PYTHON_SITELIBDIR%%/FXPy/graphics.pyo
X%%PYTHON_SITELIBDIR%%/FXPy/iconlist.py
X%%PYTHON_SITELIBDIR%%/FXPy/iconlist.pyc
X%%PYTHON_SITELIBDIR%%/FXPy/iconlist.pyo
X%%PYTHON_SITELIBDIR%%/FXPy/make_virtuals.py
X%%PYTHON_SITELIBDIR%%/FXPy/make_virtuals.pyc
X%%PYTHON_SITELIBDIR%%/FXPy/make_virtuals.pyo
X%%PYTHON_SITELIBDIR%%/FXPy/mdi.py
X%%PYTHON_SITELIBDIR%%/FXPy/mdi.pyc
X%%PYTHON_SITELIBDIR%%/FXPy/mdi.pyo
X%%PYTHON_SITELIBDIR%%/FXPy/menus.py
X%%PYTHON_SITELIBDIR%%/FXPy/menus.pyc
X%%PYTHON_SITELIBDIR%%/FXPy/menus.pyo
X%%PYTHON_SITELIBDIR%%/FXPy/misc.py
X%%PYTHON_SITELIBDIR%%/FXPy/misc.pyc
X%%PYTHON_SITELIBDIR%%/FXPy/misc.pyo
X%%PYTHON_SITELIBDIR%%/FXPy/overloads.py
X%%PYTHON_SITELIBDIR%%/FXPy/overloads.pyc
X%%PYTHON_SITELIBDIR%%/FXPy/overloads.pyo
X%%PYTHON_SITELIBDIR%%/FXPy/table.py
X%%PYTHON_SITELIBDIR%%/FXPy/table.pyc
X%%PYTHON_SITELIBDIR%%/FXPy/table.pyo
X%%PYTHON_SITELIBDIR%%/FXPy/text.py
X%%PYTHON_SITELIBDIR%%/FXPy/text.pyc
X%%PYTHON_SITELIBDIR%%/FXPy/text.pyo
X%%PYTHON_SITELIBDIR%%/FXPy/treelist.py
X%%PYTHON_SITELIBDIR%%/FXPy/treelist.pyc
X%%PYTHON_SITELIBDIR%%/FXPy/treelist.pyo
X%%PYTHON_SITELIBDIR%%/FXPy/windows.py
X%%PYTHON_SITELIBDIR%%/FXPy/windows.pyc
X%%PYTHON_SITELIBDIR%%/FXPy/windows.pyo
X@dirrm %%PYTHON_SITELIBDIR%%/FXPy
X%%PORTDOCS%%%%DOCSDIR%%/Links.html
X%%PORTDOCS%%%%DOCSDIR%%/book.html
X%%PORTDOCS%%%%DOCSDIR%%/build.html
X%%PORTDOCS%%%%DOCSDIR%%/changes.html
X%%PORTDOCS%%%%DOCSDIR%%/diffs.html
X%%PORTDOCS%%%%DOCSDIR%%/examples.html
X%%PORTDOCS%%%%DOCSDIR%%/glviewer.png
X%%PORTDOCS%%%%DOCSDIR%%/install.html
X%%PORTDOCS%%%%DOCSDIR%%/intro.html
X%%PORTDOCS%%%%DOCSDIR%%/neko.png
X%%PORTDOCS%%%%DOCSDIR%%/problems.html
X%%PORTDOCS%%%%DOCSDIR%%/todo-list.html
X%%PORTDOCS%%%%EXAMPLESDIR%%/button.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/datatarget.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/demo.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/demos.xml
X%%PORTDOCS%%%%EXAMPLESDIR%%/dialog.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/dirlist.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/foursplit.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/gltest.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/glviewer.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/groupbox.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/header.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/hello.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/hello2.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/iconlist.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/imagetest.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/imageviewer.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/inputs.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/mditest.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/neko.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/scribble.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/shutter.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/splitter.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/tabbook.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/table.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/weather.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/window.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/backview.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/bigfolder.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/bigpenguin.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/bottomview.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/but_line_power.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/camera.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat0.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat1.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat10.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat11.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat12.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat13.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat14.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat15.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat16.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat17.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat18.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat19.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat2.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat20.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat3.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat4.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat5.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat6.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat7.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat8.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cat9.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/colorpal.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/copy.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/cut.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/filenew.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/fileopen.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/filesave.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/filesaveas.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/fonts.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/fox.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/foxicon.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/frontview.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/help.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/kill.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/leftview.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/light.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/minidoc.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/minifolder.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/minifolderopen.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/newfolder.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/nolight.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/parallel.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/paste.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/penguin.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/perspective.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/printicon.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/prop.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/redo.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/rightview.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/shutter1.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/shutter2.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/small.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/smoothlight.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/tbuplevel.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/topview.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/undo.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/winapp.png
X%%PORTDOCS%%%%EXAMPLESDIR%%/icons/zoom.png
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/icons
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-py-fox/pkg-plist
echo c - py-fox/files
mkdir -p py-fox/files > /dev/null 2>&1
echo x - py-fox/files/patch-setup
sed 's/^X//' >py-fox/files/patch-setup << 'END-of-py-fox/files/patch-setup'
X--- setup.py.orig	Wed Apr  3 00:29:06 2002
X+++ setup.py	Tue Apr  6 11:53:15 2004
X@@ -13,8 +13,10 @@
X # Location of X libraries
X if sys.platform == 'win32':
X     XLIBDIR = []
X+    XLIBINC = []
X else:
X     XLIBDIR = ['/usr/X11R6/lib']
X+    XLIBINC = ['/usr/X11R6/include']
X 
X # Other libraries
X OLIBDIRS = ['c:\cygwin\usr\local\lib']
X@@ -43,7 +45,7 @@
X     ]
X 
X # All required include file directories
X-INCDIRS = [FXINCDIR]
X+INCDIRS = [FXINCDIR] + XLIBINC
X 
X # All required library file directories
X LIBDIRS = [FXLIBDIR] + XLIBDIR + OLIBDIRS
END-of-py-fox/files/patch-setup
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BAsKS-000KH3-3m>