aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-11-05 14:36:39 +0800
committermarcus <marcus@FreeBSD.org>2005-11-05 14:36:39 +0800
commiteabdccd0be8623bcc62f00b14a1be75c37536f18 (patch)
treeb1232d329e1457d39499aa7d2e12a5cc9056f238 /x11-fm
parent4ce888e2220681a62e6556843e00a86269846c9f (diff)
downloadfreebsd-ports-gnome-eabdccd0be8623bcc62f00b14a1be75c37536f18.tar.gz
freebsd-ports-gnome-eabdccd0be8623bcc62f00b14a1be75c37536f18.tar.zst
freebsd-ports-gnome-eabdccd0be8623bcc62f00b14a1be75c37536f18.zip
Add py-nautilus, Python bindings for the Nautilus file manager API.
Submitted by: adamw
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/Makefile1
-rw-r--r--x11-fm/py-nautilus/Makefile38
-rw-r--r--x11-fm/py-nautilus/distinfo2
-rw-r--r--x11-fm/py-nautilus/pkg-descr1
-rw-r--r--x11-fm/py-nautilus/pkg-plist12
5 files changed, 54 insertions, 0 deletions
diff --git a/x11-fm/Makefile b/x11-fm/Makefile
index 4f2392f7d29f..1abdb1bdf803 100644
--- a/x11-fm/Makefile
+++ b/x11-fm/Makefile
@@ -22,6 +22,7 @@
SUBDIR += mtoolsfm
SUBDIR += nautilus2
SUBDIR += offix-files
+ SUBDIR += py-nautilus
SUBDIR += rox-filer
SUBDIR += rox-mime-editor
SUBDIR += rox-session
diff --git a/x11-fm/py-nautilus/Makefile b/x11-fm/py-nautilus/Makefile
new file mode 100644
index 000000000000..2e734fa8c2ac
--- /dev/null
+++ b/x11-fm/py-nautilus/Makefile
@@ -0,0 +1,38 @@
+# 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.4.1
+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/nautilus2
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_AUTOTOOLS= libtool:15
+USE_REINPLACE= 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 000000000000..326eeded0755
--- /dev/null
+++ b/x11-fm/py-nautilus/distinfo
@@ -0,0 +1,2 @@
+MD5 (nautilus-python-0.4.1.tar.bz2) = 9f8e8eae9d954b4e4a73c242684f18ed
+SIZE (nautilus-python-0.4.1.tar.bz2) = 209703
diff --git a/x11-fm/py-nautilus/pkg-descr b/x11-fm/py-nautilus/pkg-descr
new file mode 100644
index 000000000000..1d3571cec08c
--- /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 000000000000..ea97dc442777
--- /dev/null
+++ b/x11-fm/py-nautilus/pkg-plist
@@ -0,0 +1,12 @@
+lib/nautilus-python/nautilus.so
+lib/nautilus/extensions-1.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
+@dirrm %%DOCSDIR%%/examples
+@dirrm %%DOCSDIR%%
+@dirrm lib/nautilus-python