diff options
author | ahze <ahze@FreeBSD.org> | 2005-09-01 11:46:18 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-09-01 11:46:18 +0800 |
commit | 958c5705d56a5acf480acb352ddf0f53a090ad0c (patch) | |
tree | 63caf0747ce1746493a301668e634f9c9ec8a51b /deskutils/nautilus-actions | |
parent | 06b92d9b53a391f5eaece929e59e7d1dcb7ce4dd (diff) | |
download | freebsd-ports-gnome-958c5705d56a5acf480acb352ddf0f53a090ad0c.tar.gz freebsd-ports-gnome-958c5705d56a5acf480acb352ddf0f53a090ad0c.tar.zst freebsd-ports-gnome-958c5705d56a5acf480acb352ddf0f53a090ad0c.zip |
- Add nautilus-actions
An extension for Nautilus, the gnome file manager, which allow to configure
program to be launch on files selected into Nautilus interface.
Diffstat (limited to 'deskutils/nautilus-actions')
-rw-r--r-- | deskutils/nautilus-actions/Makefile | 22 | ||||
-rw-r--r-- | deskutils/nautilus-actions/distinfo | 2 | ||||
-rw-r--r-- | deskutils/nautilus-actions/files/patch-Makefile | 24 | ||||
-rw-r--r-- | deskutils/nautilus-actions/pkg-descr | 4 | ||||
-rw-r--r-- | deskutils/nautilus-actions/pkg-plist | 9 |
5 files changed, 61 insertions, 0 deletions
diff --git a/deskutils/nautilus-actions/Makefile b/deskutils/nautilus-actions/Makefile new file mode 100644 index 000000000000..8671ea0183f2 --- /dev/null +++ b/deskutils/nautilus-actions/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: nautilus-actions +# Date created: 2005-08-31 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= nautilus-actions +PORTVERSION= 0.5 +CATEGORIES= deskutils +MASTER_SITES= ${MASTER_SITE_LOCAL} \ + http://people.freebsd.org/~ahze/distfiles/ +MASTER_SITE_SUBDIR= ahze + +MAINTAINER= ahze@FreeBSD.org +COMMENT= Extension for Nautilus to configure programs to launch on files + +USE_GNOME= nautilus2 pygtk2 +USE_PYTHON= yes +USE_X_PREFIX= yes + +.include <bsd.port.mk> diff --git a/deskutils/nautilus-actions/distinfo b/deskutils/nautilus-actions/distinfo new file mode 100644 index 000000000000..892a8d8c7616 --- /dev/null +++ b/deskutils/nautilus-actions/distinfo @@ -0,0 +1,2 @@ +MD5 (nautilus-actions-0.5.tar.gz) = c3606d293eb4cf0d49dcaa603169ddfd +SIZE (nautilus-actions-0.5.tar.gz) = 49272 diff --git a/deskutils/nautilus-actions/files/patch-Makefile b/deskutils/nautilus-actions/files/patch-Makefile new file mode 100644 index 000000000000..2498b90f55d2 --- /dev/null +++ b/deskutils/nautilus-actions/files/patch-Makefile @@ -0,0 +1,24 @@ +--- Makefile.orig Wed Aug 31 02:54:22 2005 ++++ Makefile Wed Aug 31 22:25:42 2005 +@@ -1,9 +1,9 @@ +-prefix=/usr ++prefix=$(PREFIX) + libdir=$(prefix)/lib + bindir=${prefix}/bin + DESTDIR= +-GNOME_MENU_DIR=$(prefix)/share/applications +-DEFAULT_CONFIG_PATH=$(prefix)/share/nautilus-actions ++GNOME_MENU_DIR=$(prefix)/share/gnome/applications ++DEFAULT_CONFIG_PATH=$(prefix)/share/gnome/nautilus-actions + DEFAULT_PER_USER_PATH=.config/.nautilus-actions + OLD_DEFAULT_PER_USER_PATH=.nautilus-actions + DEFAULT_NACT_DATA_PATH=$(DEFAULT_CONFIG_PATH)/nact +@@ -16,7 +16,7 @@ + all: $(EXT_NAME) nact/nautilus-actions-config.py nact/nact nact/nautilus-actions-config.glade nact/nact.desktop + + $(EXT_NAME): $(SOURCES) $(HEADERS) +- gcc -o $(EXT_NAME) -shared -fPIC -DDEFAULT_CONFIG_PATH="\"$(DEFAULT_CONFIG_PATH)\"" -DDEFAULT_PER_USER_PATH="\"$(DEFAULT_PER_USER_PATH)\"" -I. `pkg-config --libs --cflags libnautilus-extension libxml-2.0 gobject-2.0` $(SOURCES) ++ $(CC) -o $(EXT_NAME) -shared -fPIC $(CFLAGS) -DDEFAULT_CONFIG_PATH="\"$(DEFAULT_CONFIG_PATH)\"" -DDEFAULT_PER_USER_PATH="\"$(DEFAULT_PER_USER_PATH)\"" -I. `pkg-config --libs --cflags libnautilus-extension libxml-2.0 gobject-2.0` $(SOURCES) + + nact/nautilus-actions-config.py: nact/nautilus-actions-config.py.template + sed -e 's#%%%DEFAULT_CONFIG_PATH%%%#$(DEFAULT_CONFIG_PATH)#' -e 's#%%%DATA_DIR%%%#$(DEFAULT_NACT_DATA_PATH)#' -e 's#%%%VERSION%%%#$(VERSION)#' -e 's#%%%DEFAULT_PER_USER_PATH%%%#$(DEFAULT_PER_USER_PATH)#' -e 's#%%%OLD_DEFAULT_PER_USER_PATH%%%#$(OLD_DEFAULT_PER_USER_PATH)#' nact/nautilus-actions-config.py.template > nact/nautilus-actions-config.py diff --git a/deskutils/nautilus-actions/pkg-descr b/deskutils/nautilus-actions/pkg-descr new file mode 100644 index 000000000000..38c86c282a8d --- /dev/null +++ b/deskutils/nautilus-actions/pkg-descr @@ -0,0 +1,4 @@ +An extension for Nautilus, the gnome file manager, which allow to configure +program to be launch on files selected into Nautilus interface. + +WWW: http://www.grumz.net/index.php?q=node/8 diff --git a/deskutils/nautilus-actions/pkg-plist b/deskutils/nautilus-actions/pkg-plist new file mode 100644 index 000000000000..6291b1def98b --- /dev/null +++ b/deskutils/nautilus-actions/pkg-plist @@ -0,0 +1,9 @@ +bin/nact +lib/nautilus/extensions-1.0/nautilus-action.so +share/gnome/applications/nact.desktop +share/gnome/nautilus-actions/config_newaction.xml +share/gnome/nautilus-actions/nact/nautilus-actions-config.glade +share/gnome/nautilus-actions/nact/nautilus-actions-config.py +share/gnome/nautilus-actions/nact/nautilus-launch-icon.png +@dirrm share/gnome/nautilus-actions/nact +@dirrm share/gnome/nautilus-actions |