summaryrefslogtreecommitdiffstats
path: root/deskutils/gdesklets-recentlyused
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-14 01:47:19 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-14 01:47:19 +0800
commit7db28beb045b61dd7b430c0bb72716942ed60ff8 (patch)
tree3f1450a9f3650c97767a6cece813a5a7e8b87304 /deskutils/gdesklets-recentlyused
parent345608152d6a2164687d6c9f925ba5ff589ae222 (diff)
downloadmarcuscom-ports-7db28beb045b61dd7b430c0bb72716942ed60ff8.tar
marcuscom-ports-7db28beb045b61dd7b430c0bb72716942ed60ff8.tar.gz
marcuscom-ports-7db28beb045b61dd7b430c0bb72716942ed60ff8.tar.bz2
marcuscom-ports-7db28beb045b61dd7b430c0bb72716942ed60ff8.tar.lz
marcuscom-ports-7db28beb045b61dd7b430c0bb72716942ed60ff8.tar.xz
marcuscom-ports-7db28beb045b61dd7b430c0bb72716942ed60ff8.tar.zst
marcuscom-ports-7db28beb045b61dd7b430c0bb72716942ed60ff8.zip
Move to LOCALBASE.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7778 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/gdesklets-recentlyused')
-rw-r--r--deskutils/gdesklets-recentlyused/Makefile44
-rw-r--r--deskutils/gdesklets-recentlyused/distinfo3
-rw-r--r--deskutils/gdesklets-recentlyused/files/patch-Install_RecentlyUsed_Sensor.bin18
-rw-r--r--deskutils/gdesklets-recentlyused/files/pkg-message.in14
-rw-r--r--deskutils/gdesklets-recentlyused/pkg-descr11
-rw-r--r--deskutils/gdesklets-recentlyused/pkg-plist16
6 files changed, 106 insertions, 0 deletions
diff --git a/deskutils/gdesklets-recentlyused/Makefile b/deskutils/gdesklets-recentlyused/Makefile
new file mode 100644
index 000000000..166923844
--- /dev/null
+++ b/deskutils/gdesklets-recentlyused/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: gdesklets-recentlyused
+# Date created: 02 September 2003
+# Whom: Mezz <mezz7@cox.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= recentlyused
+PORTVERSION= 0.6
+PORTREVISION= 5
+CATEGORIES= deskutils gnome
+MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
+PKGNAMEPREFIX= gdesklets-
+DISTNAME= recently-used-${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A toolbar for the most recently used items from ~/.recently-used
+
+RUN_DEPENDS= gdesklets:${PORTSDIR}/deskutils/gdesklets
+
+USE_PYTHON= yes
+USE_XLIB= yes
+SUB_FILES= pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+NAME= RecentlyUsed
+DATADIR= ${PREFIX}/share/gnome
+
+do-build:
+ @${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
+ @${FIND} ${WRKSRC} -name '*.orig' -delete
+
+do-install:
+ @${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}
+ @${MKDIR} ${DATADIR}/gdesklets/Sensors/${NAME}
+ @${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/gdesklets/Displays/${NAME}/
+ @${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${DATADIR}/gdesklets/Sensors/${NAME}/
+ @${INSTALL_DATA} ${WRKSRC}/${NAME}/AUTHORS ${DATADIR}/gdesklets/Sensors/${NAME}/
+ @${CP} ${WRKSRC}/${NAME}/.recently-used ${DATADIR}/gdesklets/Sensors/${NAME}/
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/deskutils/gdesklets-recentlyused/distinfo b/deskutils/gdesklets-recentlyused/distinfo
new file mode 100644
index 000000000..c8bf26e1a
--- /dev/null
+++ b/deskutils/gdesklets-recentlyused/distinfo
@@ -0,0 +1,3 @@
+MD5 (recently-used-0.6.tar.gz) = ab6752b577d74eff382c44c48194a405
+SHA256 (recently-used-0.6.tar.gz) = f230c3d63447016a72d0bec4f6b24c52e8893701fd52e2a773258113c27e323e
+SIZE (recently-used-0.6.tar.gz) = 9650
diff --git a/deskutils/gdesklets-recentlyused/files/patch-Install_RecentlyUsed_Sensor.bin b/deskutils/gdesklets-recentlyused/files/patch-Install_RecentlyUsed_Sensor.bin
new file mode 100644
index 000000000..16824f3c0
--- /dev/null
+++ b/deskutils/gdesklets-recentlyused/files/patch-Install_RecentlyUsed_Sensor.bin
@@ -0,0 +1,18 @@
+--- Install_RecentlyUsed_Sensor.bin.orig Sat Sep 20 01:59:52 2003
++++ Install_RecentlyUsed_Sensor.bin Sat Sep 20 02:00:20 2003
+@@ -75,15 +75,9 @@
+ else:
+ cmd = "mkdir -p %(destination)s; cd %(destination)s; " X "LANG=C tar -xzvf %(tmp)s 2>&1"
+- fail, out = commands.getstatusoutput(cmd % vars())
++ commands.getstatusoutput(cmd % vars())
+ os.unlink(tmp)
+
+- if (fail):
+- if (no_message): print ERROR_TAR + out
+- else: message(ERROR_TAR + out, "error")
+- sys.exit(1)
+-
+- print out
+ if (not list_only):
+ if (no_message): print SUCCESS
+ else: message(SUCCESS, "info")
diff --git a/deskutils/gdesklets-recentlyused/files/pkg-message.in b/deskutils/gdesklets-recentlyused/files/pkg-message.in
new file mode 100644
index 000000000..d24637207
--- /dev/null
+++ b/deskutils/gdesklets-recentlyused/files/pkg-message.in
@@ -0,0 +1,14 @@
+##
+To view the installed applets:
+
+ ls %%PREFIX%%/share/gnome/gdesklets/Displays
+
+To use those applets:
+
+ gdesklets open %%PREFIX%%/share/gnome/gdesklets/Displays/${name}/${name}.display
+
+Replace ${name} with the correct name of the applets you want to use.
+
+NOTE: Be sure to login as your user when you use the gdesklets command,
+ as the configuration will be stored in the ~/.gdesklets/ directory.
+##
diff --git a/deskutils/gdesklets-recentlyused/pkg-descr b/deskutils/gdesklets-recentlyused/pkg-descr
new file mode 100644
index 000000000..f770cc91f
--- /dev/null
+++ b/deskutils/gdesklets-recentlyused/pkg-descr
@@ -0,0 +1,11 @@
+The Recently Used Toolbar displays icons for the most recently used items
+according to your GNOME ~/.recently-used file. The Desklet displays a
+configurable number of icons in the last used order. As you scroll over the
+icons in the toolbar they expand similar to the starter bar desklet. If the
+file has a thumbnail already created, then the thumbnail will be shown
+instead of the MIME icon.
+
+If you click on one of the icons in the toolbar it will launch the application
+that GNOME has associated with that specific MIME type.
+
+WWW: http://www.clarkson.edu/~clarkbw/desklets/
diff --git a/deskutils/gdesklets-recentlyused/pkg-plist b/deskutils/gdesklets-recentlyused/pkg-plist
new file mode 100644
index 000000000..f133cfaa0
--- /dev/null
+++ b/deskutils/gdesklets-recentlyused/pkg-plist
@@ -0,0 +1,16 @@
+share/gnome/gdesklets/Displays/RecentlyUsed/recently-used.display
+share/gnome/gdesklets/Sensors/RecentlyUsed/.recently-used
+share/gnome/gdesklets/Sensors/RecentlyUsed/AUTHORS
+share/gnome/gdesklets/Sensors/RecentlyUsed/Animator.py
+share/gnome/gdesklets/Sensors/RecentlyUsed/Icon.py
+share/gnome/gdesklets/Sensors/RecentlyUsed/MimeIcon.py
+share/gnome/gdesklets/Sensors/RecentlyUsed/RecentFile.py
+share/gnome/gdesklets/Sensors/RecentlyUsed/RecentParser.py
+share/gnome/gdesklets/Sensors/RecentlyUsed/RecentReader.py
+share/gnome/gdesklets/Sensors/RecentlyUsed/RfileSet.py
+share/gnome/gdesklets/Sensors/RecentlyUsed/TestReader.py
+share/gnome/gdesklets/Sensors/RecentlyUsed/TestRecent.py
+share/gnome/gdesklets/Sensors/RecentlyUsed/TestRfileSet.py
+share/gnome/gdesklets/Sensors/RecentlyUsed/__init__.py
+@dirrm share/gnome/gdesklets/Sensors/RecentlyUsed
+@dirrm share/gnome/gdesklets/Displays/RecentlyUsed