View | Details | Raw Unified | Return to bug 142320
Collapse All | Expand All

(-)x11-clocks/gdesklets-countdown/Makefile (-25 / +23 lines)
Lines 7-50 Link Here
7
7
8
PORTNAME=	countdown
8
PORTNAME=	countdown
9
PORTVERSION=	0.8
9
PORTVERSION=	0.8
10
PORTREVISION=	10
10
PORTREVISION=	11
11
CATEGORIES=	x11-clocks gnome
11
CATEGORIES=	x11-clocks gnome
12
MASTER_SITES=	http://gdesklets.gnomedesktop.org/files/
12
MASTER_SITES=	http://www.gdesklets.info/archive/
13
PKGNAMEPREFIX=	gdesklets-
13
PKGNAMEPREFIX=	gdesklets-
14
DISTNAME=	Countdown-${PORTVERSION}
14
DISTNAME=	juju-countdown-${PORTVERSION}
15
15
16
MAINTAINER=	ports@FreeBSD.org
16
MAINTAINER=	ports@FreeBSD.org
17
COMMENT=	Countdown the remaining time until a configurable date
17
COMMENT=	Countdown the remaining time until a configurable date
18
18
19
RUN_DEPENDS=	gdesklets:${PORTSDIR}/deskutils/gdesklets
19
RUN_DEPENDS=	gdesklets:${PORTSDIR}/deskutils/gdesklets
20
20
21
USE_BZIP2=	yes
21
WRKSRC=		${WRKDIR}/juju-countdown
22
USE_XORG=	x11
22
23
NO_BUILD=	yes
23
USE_PYTHON=	yes
24
USE_PYTHON=	yes
24
25
25
NAME=		Countdown
26
SUB_FILES=	pkg-message
26
DATADIR=	${PREFIX}/share
27
SUB_LIST=	NAME="${NAME}"
27
PKGMESSAGE=	${WRKDIR}/pkg-message
28
28
29
do-build:
29
DATADIR=	${PREFIX}/share/gdesklets
30
	@${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
30
NAME=		Countdown
31
	@${WRKSRC}/Install_LTVFontSelector_Sensor.bin --nomsg ${WRKSRC}
32
	@${FIND} ${WRKSRC} -name '*.orig' -delete
33
	@${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g' > ${PKGMESSAGE}
34
31
35
do-install:
32
do-install:
36
	@${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}/gfx
33
	@${MKDIR} ${DATADIR}/Displays/${NAME}
37
	@${MKDIR} ${DATADIR}/gdesklets/Sensors/${NAME}
34
	${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/Displays/${NAME}
38
	@${MKDIR} ${DATADIR}/gdesklets/Sensors/LTVFontSelector/
35
	${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}/Displays/${NAME}
39
	@${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${DATADIR}/gdesklets/Sensors/${NAME}/
36
	@${MKDIR} ${DATADIR}/Displays/${NAME}/gfx
40
	@${INSTALL_DATA} ${WRKSRC}/LTVFontSelector/*.py ${DATADIR}/gdesklets/Sensors/LTVFontSelector/
37
	${INSTALL_DATA} ${WRKSRC}/gfx/*.png ${DATADIR}/Displays/${NAME}/gfx
41
	@${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/gdesklets/Displays/${NAME}/
38
	@${MKDIR} ${DATADIR}/Sensors/${NAME}
42
	@${INSTALL_DATA} ${WRKSRC}/gfx/*.png ${DATADIR}/gdesklets/Displays/${NAME}/gfx/
39
	${INSTALL_DATA} ${WRKSRC}/Sensors/${NAME}/*.py ${DATADIR}/Sensors/${NAME}
43
	@${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}/gdesklets/Displays/${NAME}/
40
	@${MKDIR} ${DATADIR}/Sensors/LTVFontSelector
44
	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}
41
	${INSTALL_DATA} ${WRKSRC}/Sensors/LTVFontSelector/*.py ${DATADIR}/Sensors/LTVFontSelector
45
	@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}
42
	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/Sensors/${NAME}
46
	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/LTVFontSelector
43
	@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/Sensors/${NAME}
47
	@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/LTVFontSelector
44
	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/Sensors/LTVFontSelector
45
	@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/Sensors/LTVFontSelector
48
	@${CAT} ${PKGMESSAGE}
46
	@${CAT} ${PKGMESSAGE}
49
47
50
.include <bsd.port.mk>
48
.include <bsd.port.mk>
(-)x11-clocks/gdesklets-countdown/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (Countdown-0.8.tar.bz2) = b69ba353eb51342a24b1588190f08431
1
MD5 (juju-countdown-0.8.tar.gz) = da1bfa66d18b2df1a91e8881e89872c7
2
SHA256 (Countdown-0.8.tar.bz2) = d7ce799f3fc95c772b2ad2033feacdd1fc1277f9f24201eb727b8e64c76772c1
2
SHA256 (juju-countdown-0.8.tar.gz) = 86da89d14f1b10241872d3cbe3cf4ce84af006cd71d774a5656859d649243081
3
SIZE (Countdown-0.8.tar.bz2) = 31246
3
SIZE (juju-countdown-0.8.tar.gz) = 31365
(-)x11-clocks/gdesklets-countdown/files/pkg-message.in (+17 lines)
Line 0 Link Here
1
##
2
To view the README:
3
4
	cat %%PREFIX%%/share/gdesklets/Displays/%%NAME%%/README
5
	cat %%PREFIX%%/share/gdesklets/Sensors/%%NAME%%/README
6
7
To view the installed applets:
8
9
	ls %%PREFIX%%/share/gdesklets/Displays
10
11
To use those applets:
12
13
	gdesklets open %%PREFIX%%/share/gdesklets/Displays/%%NAME%%/%%NAME%%.display
14
15
NOTE: Be sure to login as your user when you use the gdesklets command,
16
      as the configuration will be stored in the ~/.gdesklets/ directory.
17
##
(-)x11-clocks/gdesklets-countdown/pkg-descr (-1 / +1 lines)
Lines 3-6 Link Here
3
It also provides an increasing counter ('countup' feature), displaying
3
It also provides an increasing counter ('countup' feature), displaying
4
the time elapsed from the specified date.
4
the time elapsed from the specified date.
5
5
6
WWW: http://gdesklets.gnomedesktop.org/
6
WWW: http://archive.gdesklets.info/
(-)x11-clocks/gdesklets-countdown/pkg-message (-17 lines)
Lines 1-17 Link Here
1
##
2
To view the README:
3
4
	cat %%PREFIX%%/share/gdesklets/Displays/Countdown/README
5
	cat %%PREFIX%%/share/gdesklets/Sensors/Countdown/README
6
7
To view all installed applets:
8
9
	ls %%PREFIX%%/share/gdesklets/Displays
10
11
To use those applets:
12
13
	gdesklets open %%PREFIX%%/share/gdesklets/Displays/Countdown/Countdown.display
14
15
NOTE: Be sure to login as your user when you use the gdesklets command,
16
      as the configuration will be stored in the ~/.gdesklets/ directory.
17
##

Return to bug 142320