summaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-05-28 02:27:52 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-05-28 02:27:52 +0800
commitf7484134b9cb2acbc6b9e8427033bad46f2ae0d6 (patch)
tree2dc586620c58f8b283ae8e3803cef45064787184 /x11-toolkits
parent80c31a776b5968e84a418bcfe61562a39a6ed57a (diff)
downloadmarcuscom-ports-f7484134b9cb2acbc6b9e8427033bad46f2ae0d6.tar
marcuscom-ports-f7484134b9cb2acbc6b9e8427033bad46f2ae0d6.tar.gz
marcuscom-ports-f7484134b9cb2acbc6b9e8427033bad46f2ae0d6.tar.bz2
marcuscom-ports-f7484134b9cb2acbc6b9e8427033bad46f2ae0d6.tar.lz
marcuscom-ports-f7484134b9cb2acbc6b9e8427033bad46f2ae0d6.tar.xz
marcuscom-ports-f7484134b9cb2acbc6b9e8427033bad46f2ae0d6.tar.zst
marcuscom-ports-f7484134b9cb2acbc6b9e8427033bad46f2ae0d6.zip
Disable gdl
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12350 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/py-gnome-extras/Makefile67
-rw-r--r--x11-toolkits/py-gnome-extras/distinfo3
-rw-r--r--x11-toolkits/py-gnome-extras/pkg-descr10
-rw-r--r--x11-toolkits/py-gnome-extras/pkg-plist53
4 files changed, 133 insertions, 0 deletions
diff --git a/x11-toolkits/py-gnome-extras/Makefile b/x11-toolkits/py-gnome-extras/Makefile
new file mode 100644
index 000000000..b588af968
--- /dev/null
+++ b/x11-toolkits/py-gnome-extras/Makefile
@@ -0,0 +1,67 @@
+# New ports collection makefile for: py-gnome-extras
+# Date created: 22 November 2005
+# Whom: Koop Mast <kwm@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= gnome
+PORTVERSION= 2.25.3
+PORTREVISION= 3
+CATEGORIES= x11-toolkits python gnome
+MASTER_SITES= GNOME
+MASTER_SITE_SUBDIR= sources/gnome-python-extras/${PORTVERSION:C/..$//}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX= -extras
+DISTNAME= gnome-python-extras-${PORTVERSION}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A set of Python bindings for GNOME 2
+
+LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell \
+ gksu1.2.0:${PORTSDIR}/sysutils/libgksu \
+ gksuui1.0.1:${PORTSDIR}/sysutils/libgksuui
+# gdl-1.2:${PORTSDIR}/x11-toolkits/gdl
+
+USE_GECKO= firefox libxul xulrunner mozilla
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_PYTHON= yes
+USE_GNOME= gnomehack libgtkhtml pygnome2 libgda4
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS+=--disable-gdl
+
+EG_SRC_DIR= ${WRKSRC}/examples
+EG_DST_DIR= ${PREFIX}/share/examples/py-gnome
+.if !defined(NOPORTDOCS)
+DOCSDIR= ${PREFIX}/share/doc/py-gnome-extras
+.else
+DOCSDIR= ${WRKSRC}/share/doc/py-gnome-extras
+.endif
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk"
+
+.if defined(GECKO) && ${GECKO:Mlibxul}!=""
+CONFIGURE_ARGS+= --with-gtkmozembed=mozilla
+.else
+CONFIGURE_ARGS+= --with-gtkmozembed=${GECKO}
+.endif
+
+post-patch:
+ @${FIND} ${WRKSRC}/docs -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \
+ -e 's|^HTML_DIR =.*|HTML_DIR = ${DOCSDIR}|g'
+
+.if !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} ${EG_DST_DIR}
+ ${TAR} -C ${EG_SRC_DIR} -cf - . | ${TAR} -C ${EG_DST_DIR} -xf -
+ ${CHOWN} -R ${BINOWN}:${BINGRP} ${EG_DST_DIR}
+ ${CHMOD} -R go-w ${EG_DST_DIR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/x11-toolkits/py-gnome-extras/distinfo b/x11-toolkits/py-gnome-extras/distinfo
new file mode 100644
index 000000000..71fc1395f
--- /dev/null
+++ b/x11-toolkits/py-gnome-extras/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/gnome-python-extras-2.25.3.tar.bz2) = 9f3b7ec5c57130b96061cb486b79c076
+SHA256 (gnome2/gnome-python-extras-2.25.3.tar.bz2) = ca346264e00e193f0866cabd8801d3b7ce70dae7b8b296e41e5b3a45c9b0275c
+SIZE (gnome2/gnome-python-extras-2.25.3.tar.bz2) = 370489
diff --git a/x11-toolkits/py-gnome-extras/pkg-descr b/x11-toolkits/py-gnome-extras/pkg-descr
new file mode 100644
index 000000000..422d464c6
--- /dev/null
+++ b/x11-toolkits/py-gnome-extras/pkg-descr
@@ -0,0 +1,10 @@
+Excerpt from the README:
+
+ PyGNOME -- Python bindings for GNOME 2
+ ======================================
+ Author: James Henstridge <james@daa.com.au>
+
+ This is a set of bindings for the GNOME 2 libraries for use with python.
+
+WWW: http://www.pygtk.org/
+-- Jacques Vidrine <nectar@FreeBSD.ORG>
diff --git a/x11-toolkits/py-gnome-extras/pkg-plist b/x11-toolkits/py-gnome-extras/pkg-plist
new file mode 100644
index 000000000..fb6368087
--- /dev/null
+++ b/x11-toolkits/py-gnome-extras/pkg-plist
@@ -0,0 +1,53 @@
+include/pygda-4.0/pygdavalue_conversions.h
+%%PYTHON_SITELIBDIR%%/gtk-2.0/egg/__init__.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/egg/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/egg/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/egg/recent.la
+%%PYTHON_SITELIBDIR%%/gtk-2.0/egg/recent.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/egg/trayicon.la
+%%PYTHON_SITELIBDIR%%/gtk-2.0/egg/trayicon.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gda.la
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gda.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gksu/__init__.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gksu/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gksu/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gksu/_gksu.la
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gksu/_gksu.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gksu/ui.la
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gksu/ui.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gtkhtml2.la
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gtkhtml2.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gtkmozembed.la
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gtkmozembed.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gtkspell.la
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gtkspell.so
+libdata/pkgconfig/gnome-python-extras-2.0.pc
+libdata/pkgconfig/pygda-4.0.pc
+%%PORTDOCS%%share/examples/py-gnome/egg/recent/Bonobo_Sample_Hello.xml
+%%PORTDOCS%%share/examples/py-gnome/egg/recent/bonobo-view.py
+%%PORTDOCS%%share/examples/py-gnome/egg/recent/gtk-view.py
+%%PORTDOCS%%share/examples/py-gnome/egg/recent/populate-recent.py
+%%PORTDOCS%%share/examples/py-gnome/egg/trayicon.py
+%%PORTDOCS%%share/examples/py-gnome/gdl/gdl_combo_button.py
+%%PORTDOCS%%share/examples/py-gnome/gdl/gdl_dock.py
+%%PORTDOCS%%share/examples/py-gnome/gdl/gdl_test.py
+%%PORTDOCS%%share/examples/py-gnome/gksu2/simple.py
+%%PORTDOCS%%share/examples/py-gnome/gtkhtml2/simple-browser.py
+%%PORTDOCS%%share/examples/py-gnome/gtkspell/spell.py
+%%PORTDOCS%%share/examples/py-gnome/gtkspell/test.py
+share/pygtk/2.0/argtypes/gda-arg-types.py
+share/pygtk/2.0/argtypes/gda-arg-types.pyc
+share/pygtk/2.0/argtypes/gda-arg-types.pyo
+share/pygtk/2.0/defs/gda.defs
+share/pygtk/2.0/defs/gtkhtml2.defs
+share/pygtk/2.0/defs/gtkmozembed.defs
+share/pygtk/2.0/defs/trayicon.defs
+%%PORTDOCS%%@dirrm share/examples/py-gnome/gtkspell
+%%PORTDOCS%%@dirrm share/examples/py-gnome/gtkhtml2
+%%PORTDOCS%%@dirrm share/examples/py-gnome/gksu2
+%%PORTDOCS%%@dirrm share/examples/py-gnome/gdl
+%%PORTDOCS%%@dirrm share/examples/py-gnome/egg/recent
+%%PORTDOCS%%@dirrm share/examples/py-gnome/egg
+@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/gksu
+@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/egg
+@dirrm include/pygda-4.0