summaryrefslogtreecommitdiffstats
path: root/x11-fm/py-nautilus
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2008-09-22 17:18:22 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2008-09-22 17:18:22 +0800
commit187e7214c4afe41fa5e1e39d8ddb87c0ea14b915 (patch)
treecdf7ae3d6dd535d09469b87f53d99b540bb43a39 /x11-fm/py-nautilus
parent70f37f16ec18fe1ce22bfedada691e74890df234 (diff)
downloadmarcuscom-ports-187e7214c4afe41fa5e1e39d8ddb87c0ea14b915.tar
marcuscom-ports-187e7214c4afe41fa5e1e39d8ddb87c0ea14b915.tar.gz
marcuscom-ports-187e7214c4afe41fa5e1e39d8ddb87c0ea14b915.tar.bz2
marcuscom-ports-187e7214c4afe41fa5e1e39d8ddb87c0ea14b915.tar.lz
marcuscom-ports-187e7214c4afe41fa5e1e39d8ddb87c0ea14b915.tar.xz
marcuscom-ports-187e7214c4afe41fa5e1e39d8ddb87c0ea14b915.tar.zst
marcuscom-ports-187e7214c4afe41fa5e1e39d8ddb87c0ea14b915.zip
Update to 0.5.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11558 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-fm/py-nautilus')
-rw-r--r--x11-fm/py-nautilus/Makefile36
-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, 70 insertions, 0 deletions
diff --git a/x11-fm/py-nautilus/Makefile b/x11-fm/py-nautilus/Makefile
new file mode 100644
index 000000000..937d862a6
--- /dev/null
+++ b/x11-fm/py-nautilus/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: py-nautilus
+# Date created: 31 May, 2005
+# Whom: Adam Weinberger <adamw@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= nautilus
+PORTVERSION= 0.5.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/nautilus
+
+USE_BZIP2= 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 ${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