summaryrefslogtreecommitdiffstats
path: root/x11-fm/py-nautilus
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-01-14 03:48:00 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-01-14 03:48:00 +0800
commitb9485a20bd7ab634da2da9b9556e46518d12a77d (patch)
tree1ff514d263878eb3fa1bb7efe30a5056c6b3ee65 /x11-fm/py-nautilus
parent9eecd2a469a9f3d441b6af64102cc5144e7e373f (diff)
downloadmarcuscom-ports-b9485a20bd7ab634da2da9b9556e46518d12a77d.tar
marcuscom-ports-b9485a20bd7ab634da2da9b9556e46518d12a77d.tar.gz
marcuscom-ports-b9485a20bd7ab634da2da9b9556e46518d12a77d.tar.bz2
marcuscom-ports-b9485a20bd7ab634da2da9b9556e46518d12a77d.tar.lz
marcuscom-ports-b9485a20bd7ab634da2da9b9556e46518d12a77d.tar.xz
marcuscom-ports-b9485a20bd7ab634da2da9b9556e46518d12a77d.tar.zst
marcuscom-ports-b9485a20bd7ab634da2da9b9556e46518d12a77d.zip
Update to 0.5.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10062 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-fm/py-nautilus')
-rw-r--r--x11-fm/py-nautilus/Makefile37
-rw-r--r--x11-fm/py-nautilus/distinfo3
-rw-r--r--x11-fm/py-nautilus/files/patch-configure15
-rw-r--r--x11-fm/py-nautilus/pkg-descr1
-rw-r--r--x11-fm/py-nautilus/pkg-plist15
5 files changed, 71 insertions, 0 deletions
diff --git a/x11-fm/py-nautilus/Makefile b/x11-fm/py-nautilus/Makefile
new file mode 100644
index 000000000..01f44c834
--- /dev/null
+++ b/x11-fm/py-nautilus/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: py-nautilus
+# Date created: 31 May, 2005
+# Whom: Adam Weinberger <adamw@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/x11-fm/py-nautilus/Makefile,v 1.4 2005/10/02 23:53:38 marcus Exp $
+#
+
+PORTNAME= nautilus
+PORTVERSION= 0.5.0
+CATEGORIES= x11-fm gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/nautilus-python/${PORTVERSION:R}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= nautilus-python-${PORTVERSION}
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Python nautilus bindings
+
+LIB_DEPENDS= nautilus-extension:${PORTSDIR}/x11-fm/nautilus
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+GNU_CONFIGURE= yes
+USE_PYTHON= yes
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix gnomehack pygnome2
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+DOCSDIR= ${PREFIX}/share/doc/nautilus-python
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|[(]datadir[)]/doc/|(prefix)/share/doc/|g' \
+ ${WRKSRC}/examples/Makefile.in
+
+.include <bsd.port.mk>
diff --git a/x11-fm/py-nautilus/distinfo b/x11-fm/py-nautilus/distinfo
new file mode 100644
index 000000000..9483614d9
--- /dev/null
+++ b/x11-fm/py-nautilus/distinfo
@@ -0,0 +1,3 @@
+MD5 (nautilus-python-0.5.0.tar.bz2) = f46cd826d74f62ef7bba5b258c1d415a
+SHA256 (nautilus-python-0.5.0.tar.bz2) = 0caa73ef1dccdcfdc403191be409d22636ee58cbc56e1fc4600c0cc78b61da79
+SIZE (nautilus-python-0.5.0.tar.bz2) = 240144
diff --git a/x11-fm/py-nautilus/files/patch-configure b/x11-fm/py-nautilus/files/patch-configure
new file mode 100644
index 000000000..d9196af60
--- /dev/null
+++ b/x11-fm/py-nautilus/files/patch-configure
@@ -0,0 +1,15 @@
+--- configure.orig 2008-01-13 14:41:48.000000000 -0500
++++ configure 2008-01-13 14:42:01.000000000 -0500
+@@ -19597,10 +19597,10 @@ CPPFLAGS="$save_CPPFLAGS"
+ { echo "$as_me:$LINENO: checking for libraries required to embed python" >&5
+ echo $ECHO_N "checking for libraries required to embed python... $ECHO_C" >&6; }
+ py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
+-if test "x$PYTHON_LIBS" == x; then
++if test "x$PYTHON_LIBS" = x; then
+ PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
+ fi
+-if test "x$PYTHON_LIB_LOC" == x; then
++if test "x$PYTHON_LIB_LOC" = x; then
+ PYTHON_LIB_LOC="${py_prefix}/lib"
+ fi
+
diff --git a/x11-fm/py-nautilus/pkg-descr b/x11-fm/py-nautilus/pkg-descr
new file mode 100644
index 000000000..1d3571cec
--- /dev/null
+++ b/x11-fm/py-nautilus/pkg-descr
@@ -0,0 +1 @@
+Python nautilus bindings.
diff --git a/x11-fm/py-nautilus/pkg-plist b/x11-fm/py-nautilus/pkg-plist
new file mode 100644
index 000000000..f4109e434
--- /dev/null
+++ b/x11-fm/py-nautilus/pkg-plist
@@ -0,0 +1,15 @@
+lib/nautilus-python/nautilus.la
+lib/nautilus-python/nautilus.so
+lib/nautilus/extensions-2.0/libnautilus-python.la
+lib/nautilus/extensions-2.0/libnautilus-python.so
+libdata/pkgconfig/nautilus-python.pc
+%%DOCSDIR%%/README
+%%DOCSDIR%%/documentation.py
+%%DOCSDIR%%/examples/background-image.py
+%%DOCSDIR%%/examples/block-size-column.py
+%%DOCSDIR%%/examples/md5sum-property-page.py
+%%DOCSDIR%%/examples/open-terminal.py
+%%DOCSDIR%%/examples/submenu.py
+@dirrm %%DOCSDIR%%/examples
+@dirrm %%DOCSDIR%%
+@dirrm lib/nautilus-python