aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2003-09-26 19:07:42 +0800
committernetchild <netchild@FreeBSD.org>2003-09-26 19:07:42 +0800
commit84fb0619239873b5b773eb90280edb63cc2415d5 (patch)
treee5ebdd79a38fe34d77432f59a404da75669f3bb7 /x11-clocks
parent064ffa9c19b92c807ba7b1bad0bf71b7421cbd8c (diff)
downloadfreebsd-ports-gnome-84fb0619239873b5b773eb90280edb63cc2415d5.tar.gz
freebsd-ports-gnome-84fb0619239873b5b773eb90280edb63cc2415d5.tar.zst
freebsd-ports-gnome-84fb0619239873b5b773eb90280edb63cc2415d5.zip
This port contains some nice clocks for gdesklets.
Submitted by: Jeremy Messenger <mezz7@cox.net>
Diffstat (limited to 'x11-clocks')
-rw-r--r--x11-clocks/Makefile1
-rw-r--r--x11-clocks/gdesklets-clock/Makefile39
-rw-r--r--x11-clocks/gdesklets-clock/distinfo1
-rw-r--r--x11-clocks/gdesklets-clock/files/patch-Install_Clock_Sensor.bin19
-rw-r--r--x11-clocks/gdesklets-clock/pkg-descr3
-rw-r--r--x11-clocks/gdesklets-clock/pkg-message19
-rw-r--r--x11-clocks/gdesklets-clock/pkg-plist42
7 files changed, 124 insertions, 0 deletions
diff --git a/x11-clocks/Makefile b/x11-clocks/Makefile
index cb0af0346a5c..4d7296cc7760 100644
--- a/x11-clocks/Makefile
+++ b/x11-clocks/Makefile
@@ -11,6 +11,7 @@
SUBDIR += dclock
SUBDIR += emiclock
SUBDIR += eyeclock
+ SUBDIR += gdesklets-clock
SUBDIR += glclock
SUBDIR += kdetoys3
SUBDIR += mlclock
diff --git a/x11-clocks/gdesklets-clock/Makefile b/x11-clocks/gdesklets-clock/Makefile
new file mode 100644
index 000000000000..964a4996e6c0
--- /dev/null
+++ b/x11-clocks/gdesklets-clock/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: gdesklets-clock
+# Date created: 02 September 2003
+# Whom: Mezz <mezz7@cox.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gdesklets-clock
+PORTVERSION= 0.32
+CATEGORIES= x11-clocks gnome
+MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
+DISTNAME= clock-desklet-${PORTVERSION}
+
+MAINTAINER= mezz7@cox.net
+COMMENT= Various clock displays for Gnome 2.x
+
+RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+NAME= Clock
+
+do-build:
+ @${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
+ @${FIND} ${WRKSRC} -name '*.orig' -delete
+
+do-install:
+ @${MKDIR} ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}
+ @${CP} ${WRKSRC}/*.display ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}/
+ @${CP} -Rp ${WRKSRC}/gfx ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}/
+ @${CP} -Rp ${WRKSRC}/${NAME} ${PREFIX}/share/gnome/gdesklets/Sensors/
+ @${CP} ${WRKSRC}/README ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}/
+ @${LN} -s ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}/README \
+ ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}/README
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/x11-clocks/gdesklets-clock/distinfo b/x11-clocks/gdesklets-clock/distinfo
new file mode 100644
index 000000000000..bcb6c030f860
--- /dev/null
+++ b/x11-clocks/gdesklets-clock/distinfo
@@ -0,0 +1 @@
+MD5 (clock-desklet-0.32.tar.bz2) = d9b8a292e6e439ab62765143b6678df5
diff --git a/x11-clocks/gdesklets-clock/files/patch-Install_Clock_Sensor.bin b/x11-clocks/gdesklets-clock/files/patch-Install_Clock_Sensor.bin
new file mode 100644
index 000000000000..0de363c68faf
--- /dev/null
+++ b/x11-clocks/gdesklets-clock/files/patch-Install_Clock_Sensor.bin
@@ -0,0 +1,19 @@
+--- Install_Clock_Sensor.bin.orig Wed Sep 3 12:51:06 2003
++++ Install_Clock_Sensor.bin Wed Sep 3 12:52:23 2003
+@@ -75,15 +75,9 @@
+ else:
+ cmd = "mkdir -p %(destination)s; cd %(destination)s; " \
+ "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/x11-clocks/gdesklets-clock/pkg-descr b/x11-clocks/gdesklets-clock/pkg-descr
new file mode 100644
index 000000000000..539db54567ef
--- /dev/null
+++ b/x11-clocks/gdesklets-clock/pkg-descr
@@ -0,0 +1,3 @@
+The Clock sensor with various clock displays.
+
+WWW: http://gdesklets.gnomedesktop.org/
diff --git a/x11-clocks/gdesklets-clock/pkg-message b/x11-clocks/gdesklets-clock/pkg-message
new file mode 100644
index 000000000000..e4306a05208c
--- /dev/null
+++ b/x11-clocks/gdesklets-clock/pkg-message
@@ -0,0 +1,19 @@
+##
+To view the README:
+
+ cat ${PREFIX}/share/gnome/gdesklets/Displays/${name}/README
+ cat ${PREFIX}/share/gnome/gdesklets/Sensors/${name}/README
+
+To view all installed applets:
+
+ ls ${PREFIX}/share/gnome/gdesklets/Displays
+
+To use those applets:
+
+ gdesklets ${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/x11-clocks/gdesklets-clock/pkg-plist b/x11-clocks/gdesklets-clock/pkg-plist
new file mode 100644
index 000000000000..29a26dd01ad9
--- /dev/null
+++ b/x11-clocks/gdesklets-clock/pkg-plist
@@ -0,0 +1,42 @@
+share/gnome/gdesklets/Displays/Clock/README
+share/gnome/gdesklets/Displays/Clock/gfx/clock.png
+share/gnome/gdesklets/Displays/Clock/gfx/gnomeclock.png
+share/gnome/gdesklets/Displays/Clock/gfx/gnomeclock.xcf
+share/gnome/gdesklets/Displays/Clock/gfx/osXclock.png
+share/gnome/gdesklets/Displays/Clock/gfx/pocketwatch.png
+share/gnome/gdesklets/Displays/Clock/gfx/pocketwatch.xcf
+share/gnome/gdesklets/Displays/Clock/gfx/rafclock.png
+share/gnome/gdesklets/Displays/Clock/gnomeclock.display
+share/gnome/gdesklets/Displays/Clock/osXclock.display
+share/gnome/gdesklets/Displays/Clock/plainclock.display
+share/gnome/gdesklets/Displays/Clock/pocket-watch.display
+share/gnome/gdesklets/Displays/Clock/rafclock.display
+share/gnome/gdesklets/Sensors/Clock/ChangeLog
+share/gnome/gdesklets/Sensors/Clock/README
+share/gnome/gdesklets/Sensors/Clock/__init__.py
+share/gnome/gdesklets/Sensors/Clock/locale/de/LC_MESSAGES/gdesklets.mo
+share/gnome/gdesklets/Sensors/Clock/locale/fr/LC_MESSAGES/gdesklets.mo
+share/gnome/gdesklets/Sensors/Clock/locale/pt/LC_MESSAGES/gdesklets.mo
+share/gnome/gdesklets/Sensors/Clock/locale/sq/LC_MESSAGES/gdesklets.mo
+share/gnome/gdesklets/Sensors/Clock/locale/sr/LC_MESSAGES/gdesklets.mo
+share/gnome/gdesklets/Sensors/Clock/locale/sr@Latn/LC_MESSAGES/gdesklets.mo
+share/gnome/gdesklets/Sensors/Clock/locale/sv/LC_MESSAGES/gdesklets.mo
+share/gnome/gdesklets/Sensors/Clock/timezones.dat
+@dirrm share/gnome/gdesklets/Sensors/Clock/locale/sv/LC_MESSAGES
+@dirrm share/gnome/gdesklets/Sensors/Clock/locale/sv
+@dirrm share/gnome/gdesklets/Sensors/Clock/locale/sr@Latn/LC_MESSAGES
+@dirrm share/gnome/gdesklets/Sensors/Clock/locale/sr@Latn
+@dirrm share/gnome/gdesklets/Sensors/Clock/locale/sr/LC_MESSAGES
+@dirrm share/gnome/gdesklets/Sensors/Clock/locale/sr
+@dirrm share/gnome/gdesklets/Sensors/Clock/locale/sq/LC_MESSAGES
+@dirrm share/gnome/gdesklets/Sensors/Clock/locale/sq
+@dirrm share/gnome/gdesklets/Sensors/Clock/locale/pt/LC_MESSAGES
+@dirrm share/gnome/gdesklets/Sensors/Clock/locale/pt
+@dirrm share/gnome/gdesklets/Sensors/Clock/locale/fr/LC_MESSAGES
+@dirrm share/gnome/gdesklets/Sensors/Clock/locale/fr
+@dirrm share/gnome/gdesklets/Sensors/Clock/locale/de/LC_MESSAGES
+@dirrm share/gnome/gdesklets/Sensors/Clock/locale/de
+@dirrm share/gnome/gdesklets/Sensors/Clock/locale
+@dirrm share/gnome/gdesklets/Sensors/Clock
+@dirrm share/gnome/gdesklets/Displays/Clock/gfx
+@dirrm share/gnome/gdesklets/Displays/Clock