diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-06-08 10:49:16 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-06-08 10:49:16 +0800 |
commit | dd7bcba55cfcea5d71dfcaa6ddb4232d13049f6c (patch) | |
tree | 873576e3001ad81345d00f475e57d904bac9e66e | |
parent | 310a25e24667aa450e09453bbb0cbe91b519e597 (diff) | |
download | marcuscom-ports-dd7bcba55cfcea5d71dfcaa6ddb4232d13049f6c.tar marcuscom-ports-dd7bcba55cfcea5d71dfcaa6ddb4232d13049f6c.tar.gz marcuscom-ports-dd7bcba55cfcea5d71dfcaa6ddb4232d13049f6c.tar.bz2 marcuscom-ports-dd7bcba55cfcea5d71dfcaa6ddb4232d13049f6c.tar.lz marcuscom-ports-dd7bcba55cfcea5d71dfcaa6ddb4232d13049f6c.tar.xz marcuscom-ports-dd7bcba55cfcea5d71dfcaa6ddb4232d13049f6c.tar.zst marcuscom-ports-dd7bcba55cfcea5d71dfcaa6ddb4232d13049f6c.zip |
Update to 2.19.1. Disable the libgda2, because it has changed to use newer
libgda3 that is not exists in ports tree. I am speaking of this libgda-3.0 >=
2.99.6, not the one current version of libgda3 in our ports tree. Also, there
has new gksu2, but we don't have it in our ports tree. I figure that if
some port needs either of it, then we can add up and bump this port.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9011 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | x11-toolkits/py-gnome-extras/Makefile | 60 | ||||
-rw-r--r-- | x11-toolkits/py-gnome-extras/distinfo | 3 | ||||
-rw-r--r-- | x11-toolkits/py-gnome-extras/files/patch-configure | 10 | ||||
-rw-r--r-- | x11-toolkits/py-gnome-extras/pkg-descr | 10 | ||||
-rw-r--r-- | x11-toolkits/py-gnome-extras/pkg-plist | 59 |
5 files changed, 142 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..f293aa82d --- /dev/null +++ b/x11-toolkits/py-gnome-extras/Makefile @@ -0,0 +1,60 @@ +# 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.19.1 +CATEGORIES= x11-toolkits python gnome +MASTER_SITES= ${MASTER_SITE_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.0:${PORTSDIR}/x11-toolkits/gdl + +USE_GECKO= firefox mozilla seamonkey +USE_BZIP2= yes +USE_GMAKE= yes +USE_PYTHON= yes +USE_GNOME= gnomehack libgtkhtml pygnome2 +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-gtkmozembed=${GECKO} +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +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" + +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..c16b77d8d --- /dev/null +++ b/x11-toolkits/py-gnome-extras/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/gnome-python-extras-2.19.1.tar.bz2) = 08896c63d71ce44d20fafbaf9c0edc78 +SHA256 (gnome2/gnome-python-extras-2.19.1.tar.bz2) = c5f74f4c46dbb379d119d6f74ca4a47653af251bea176dc7a0ecacccb88339f0 +SIZE (gnome2/gnome-python-extras-2.19.1.tar.bz2) = 361721 diff --git a/x11-toolkits/py-gnome-extras/files/patch-configure b/x11-toolkits/py-gnome-extras/files/patch-configure new file mode 100644 index 000000000..6e14c25af --- /dev/null +++ b/x11-toolkits/py-gnome-extras/files/patch-configure @@ -0,0 +1,10 @@ +--- configure.orig Tue Jul 11 11:39:00 2006 ++++ configure Tue Jul 11 11:43:03 2006 +@@ -20762,6 +20762,7 @@ case $mozpackage in + xulrunner) mozpackage_required_version=1.8 ;; + firefox) mozpackage_required_version=1.0 ;; + mozilla) mozpackage_required_version=1.2b ;; ++ seamonkey) mozpackage_required_version=1.2b ;; + *) { { echo "$as_me:$LINENO: error: --with-gtkmozembed argument must be either 'mozilla', 'firefox', or 'xulrunner'" >&5 + echo "$as_me: error: --with-gtkmozembed argument must be either 'mozilla', 'firefox', or 'xulrunner'" >&2;} + { (exit 1); exit 1; }; } 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..9a0550865 --- /dev/null +++ b/x11-toolkits/py-gnome-extras/pkg-plist @@ -0,0 +1,59 @@ +%%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/gdl.la +%%PYTHON_SITELIBDIR%%/gtk-2.0/gdl.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 +%%PORTDOCS%%%%DOCSDIR%%/pygtkmozembed/class-gtkmozembed.html +%%PORTDOCS%%%%DOCSDIR%%/pygtkmozembed/gtkmozembed-class-reference.html +%%PORTDOCS%%%%DOCSDIR%%/pygtkmozembed/index.html +%%PORTDOCS%%%%DOCSDIR%%/pygtkmozembed/index.sgml +%%PORTDOCS%%%%DOCSDIR%%/pygtkmozembed/pygtkmozembed.devhelp +%%PORTDOCS%%%%DOCSDIR%%/pygtkspell/class-gtkspell.html +%%PORTDOCS%%%%DOCSDIR%%/pygtkspell/gtkspell-class-reference.html +%%PORTDOCS%%%%DOCSDIR%%/pygtkspell/index.html +%%PORTDOCS%%%%DOCSDIR%%/pygtkspell/index.sgml +%%PORTDOCS%%%%DOCSDIR%%/pygtkspell/pygtkspell.devhelp +%%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/gtkspell.py +%%PORTDOCS%%share/examples/py-gnome/gtkspell/test.py +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 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/pygtkspell +%%PORTDOCS%%@dirrm %%DOCSDIR%%/pygtkmozembed +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/gksu +@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/egg |