diff options
author | Alexander Leidinger <netchild@FreeBSD.org> | 2003-09-26 11:07:42 +0000 |
---|---|---|
committer | Alexander Leidinger <netchild@FreeBSD.org> | 2003-09-26 11:07:42 +0000 |
commit | 9dedb4702f507c35b4c68a53c0585e6b827088ab (patch) | |
tree | 7ca8fa3661be264676500e748cd8190ca54f2bd3 /x11-clocks/gdesklets-clock | |
parent | Update to 0.22. (diff) |
This port contains some nice clocks for gdesklets.
Submitted by: Jeremy Messenger <mezz7@cox.net>
Diffstat (limited to 'x11-clocks/gdesklets-clock')
-rw-r--r-- | x11-clocks/gdesklets-clock/Makefile | 39 | ||||
-rw-r--r-- | x11-clocks/gdesklets-clock/distinfo | 1 | ||||
-rw-r--r-- | x11-clocks/gdesklets-clock/files/patch-Install_Clock_Sensor.bin | 19 | ||||
-rw-r--r-- | x11-clocks/gdesklets-clock/pkg-descr | 3 | ||||
-rw-r--r-- | x11-clocks/gdesklets-clock/pkg-message | 19 | ||||
-rw-r--r-- | x11-clocks/gdesklets-clock/pkg-plist | 42 |
6 files changed, 123 insertions, 0 deletions
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 |