summaryrefslogtreecommitdiffstats
path: root/x11-fm/py-nautilus
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-04-08 01:54:12 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-04-08 01:54:12 +0800
commit83ae0923746ec7b64dbe334775cb6fe4d4711fb9 (patch)
tree98c9d6eef8541b1dd6747e94a21fb0aa47c83fe6 /x11-fm/py-nautilus
parentd1053e61bb5b3367e25b92f180e27ad3b8eb01cd (diff)
downloadmarcuscom-ports-83ae0923746ec7b64dbe334775cb6fe4d4711fb9.tar
marcuscom-ports-83ae0923746ec7b64dbe334775cb6fe4d4711fb9.tar.gz
marcuscom-ports-83ae0923746ec7b64dbe334775cb6fe4d4711fb9.tar.bz2
marcuscom-ports-83ae0923746ec7b64dbe334775cb6fe4d4711fb9.tar.lz
marcuscom-ports-83ae0923746ec7b64dbe334775cb6fe4d4711fb9.tar.xz
marcuscom-ports-83ae0923746ec7b64dbe334775cb6fe4d4711fb9.tar.zst
marcuscom-ports-83ae0923746ec7b64dbe334775cb6fe4d4711fb9.zip
Add a missing dependency on eel2.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12232 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-fm/py-nautilus')
-rw-r--r--x11-fm/py-nautilus/Makefile34
-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, 68 insertions, 0 deletions
diff --git a/x11-fm/py-nautilus/Makefile b/x11-fm/py-nautilus/Makefile
new file mode 100644
index 000000000..345aadfff
--- /dev/null
+++ b/x11-fm/py-nautilus/Makefile
@@ -0,0 +1,34 @@
+# 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.9 2009/01/10 01:59:22 mezz Exp $
+#
+
+PORTNAME= nautilus
+PORTVERSION= 0.5.1
+CATEGORIES= x11-fm gnome python
+MASTER_SITES= GNOME
+MASTER_SITE_SUBDIR= sources/nautilus-python/${PORTVERSION:R}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= nautilus-python-${PORTVERSION}
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Python nautilus bindings
+
+USE_BZIP2= yes
+GNU_CONFIGURE= yes
+USE_PYTHON= yes
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix gnomehack pygnome2 eel2 nautilus2
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+
+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..5b9b922a7
--- /dev/null
+++ b/x11-fm/py-nautilus/distinfo
@@ -0,0 +1,3 @@
+MD5 (nautilus-python-0.5.1.tar.bz2) = 83136937cdb790a2ee5823e96de20acf
+SHA256 (nautilus-python-0.5.1.tar.bz2) = 34e79046b9bd420bc980befeabeac9c229a6a12e21e04c7648849cd540593d89
+SIZE (nautilus-python-0.5.1.tar.bz2) = 230999
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