1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Add gdesklets-countdown, a desklet which allows to countdown the remaining time

until a configurable date. It then displays a victorious 'Hurrah!', or whatever
you set. It also provides an increasing counter ('countup' feature), displaying
the time elapsed from the specified date.

PR:		ports/60957
Submitted by:	Vincent Tantardini <vinc@FreeBSD-fr.org>
This commit is contained in:
Pav Lucistnik 2004-01-06 00:06:35 +00:00
parent 08691ea4fb
commit 005fb95734
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97415
6 changed files with 90 additions and 0 deletions

View File

@ -12,6 +12,7 @@
SUBDIR += emiclock
SUBDIR += eyeclock
SUBDIR += gdesklets-clock
SUBDIR += gdesklets-countdown
SUBDIR += glclock
SUBDIR += kdetoys3
SUBDIR += mlclock

View File

@ -0,0 +1,49 @@
# New ports collection makefile for: gdesklets-countdown
# Date created: 06 January 2004
# Whom: Vincent Tantardini <vinc@FreeBSD-fr.org>
#
# $FreeBSD$
#
PORTNAME= countdown
PORTVERSION= 0.8
CATEGORIES= x11-clocks gnome
MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
PKGNAMEPREFIX= gdesklets-
DISTNAME= Countdown-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Countdown the remaining time until a configurable date
RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_PYTHON= yes
NAME= Countdown
DATADIR= ${PREFIX}/share/gnome
PKGMESSAGE= ${WRKDIR}/pkg-message
do-build:
@${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
@${WRKSRC}/Install_LTVFontSelector_Sensor.bin --nomsg ${WRKSRC}
@${FIND} ${WRKSRC} -name '*.orig' -delete
@${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g' > ${PKGMESSAGE}
do-install:
@${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}/gfx
@${MKDIR} ${DATADIR}/gdesklets/Sensors/${NAME}
@${MKDIR} ${DATADIR}/gdesklets/Sensors/LTVFontSelector/
@${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${DATADIR}/gdesklets/Sensors/${NAME}/
@${INSTALL_DATA} ${WRKSRC}/LTVFontSelector/*.py ${DATADIR}/gdesklets/Sensors/LTVFontSelector/
@${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/gdesklets/Displays/${NAME}/
@${INSTALL_DATA} ${WRKSRC}/gfx/*.png ${DATADIR}/gdesklets/Displays/${NAME}/gfx/
@${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}/gdesklets/Displays/${NAME}/
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/LTVFontSelector
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/LTVFontSelector
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (Countdown-0.8.tar.bz2) = b69ba353eb51342a24b1588190f08431

View File

@ -0,0 +1,6 @@
This desklet allows to countdown the remaining time until a configurable
date. It then displays a victorious 'Hurrah!', or whatever you set.
It also provides an increasing counter ('countup' feature), displaying
the time elapsed from the specified date.
WWW: http://gdesklets.gnomedesktop.org/

View File

@ -0,0 +1,17 @@
##
To view the README:
cat %%PREFIX%%/share/gnome/gdesklets/Displays/Countdown/README
cat %%PREFIX%%/share/gnome/gdesklets/Sensors/Countdown/README
To view all installed applets:
ls %%PREFIX%%/share/gnome/gdesklets/Displays
To use those applets:
gdesklets %%PREFIX%%/share/gnome/gdesklets/Displays/Countdown/Countdown.display
NOTE: Be sure to login as your user when you use the gdesklets command,
as the configuration will be stored in the ~/.gdesklets/ directory.
##

View File

@ -0,0 +1,16 @@
share/gnome/gdesklets/Displays/Countdown/Countdown.display
share/gnome/gdesklets/Displays/Countdown/README
share/gnome/gdesklets/Displays/Countdown/gfx/frame.png
share/gnome/gdesklets/Displays/Countdown/gfx/safari1.png
share/gnome/gdesklets/Displays/Countdown/gfx/safari2.png
share/gnome/gdesklets/Displays/Countdown/gfx/safari3.png
share/gnome/gdesklets/Sensors/Countdown/__init__.py
share/gnome/gdesklets/Sensors/Countdown/__init__.pyc
share/gnome/gdesklets/Sensors/Countdown/__init__.pyo
share/gnome/gdesklets/Sensors/LTVFontSelector/__init__.py
share/gnome/gdesklets/Sensors/LTVFontSelector/__init__.pyc
share/gnome/gdesklets/Sensors/LTVFontSelector/__init__.pyo
@dirrm share/gnome/gdesklets/Sensors/LTVFontSelector
@dirrm share/gnome/gdesklets/Sensors/Countdown
@dirrm share/gnome/gdesklets/Displays/Countdown/gfx
@dirrm share/gnome/gdesklets/Displays/Countdown