Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 2010 03:30:34 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/142321: Update port: x11-clocks/gdesklets-ebichuclock
Message-ID:  <20100105033034.21ae23b5.tkato432@yahoo.com>
Resent-Message-ID: <201001041840.o04Ie4xD068453@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         142321
>Category:       ports
>Synopsis:       Update port: x11-clocks/gdesklets-ebichuclock
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 04 18:40:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.2-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Utilize SUB_FILES

New file:
files/pkg-message.in

Remove file:
pkg-message

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/x11-clocks/gdesklets-ebichuclock/Makefile x11-clocks/gdesklets-ebichuclock/Makefile
--- /usr/ports/x11-clocks/gdesklets-ebichuclock/Makefile	2008-06-07 00:31:02.000000000 +0900
+++ x11-clocks/gdesklets-ebichuclock/Makefile	2010-01-04 15:51:39.000000000 +0900
@@ -7,9 +7,9 @@
 
 PORTNAME=	ebichuclock
 PORTVERSION=	0.1.1
-PORTREVISION=	10
+PORTREVISION=	11
 CATEGORIES=	x11-clocks gnome
-MASTER_SITES=	http://gdesklets.gnomedesktop.org/files/
+MASTER_SITES=	http://www.gdesklets.info/archive/
 PKGNAMEPREFIX=	gdesklets-
 
 MAINTAINER=	ports@FreeBSD.org
@@ -18,22 +18,23 @@
 RUN_DEPENDS=	gdesklets:${PORTSDIR}/deskutils/gdesklets \
 		${LOCALBASE}/share/gdesklets/Sensors/Clock/__init__.py:${PORTSDIR}/x11-clocks/gdesklets-clock
 
-USE_BZIP2=	yes
-USE_XORG=	x11
-
-NAME=		ebichuclock
-DATADIR=	${PREFIX}/share
-PKGMESSAGE=	${WRKDIR}/pkg-message
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-do-build:
-	@${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; s|%%NAME%%|${NAME}|g' > ${PKGMESSAGE}
+NO_BUILD=	yes
+USE_PYTHON=	yes
+
+SUB_FILES=	pkg-message
+SUB_LIST=	NAME="${NAME}"
+
+DATADIR=	${PREFIX}/share/gdesklets
+NAME=		ebichuclock
 
 do-install:
-	@${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}/gfx
-	@${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}/
+	@${MKDIR} ${DATADIR}/Displays/${NAME}
+	${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/Displays/${NAME}
+	@${MKDIR} ${DATADIR}/Displays/${NAME}/gfx
+	${INSTALL_DATA} ${WRKSRC}/gfx/*.png ${DATADIR}/Displays/${NAME}/gfx
+	${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}/Displays/${NAME}
 	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
diff -urN /usr/ports/x11-clocks/gdesklets-ebichuclock/distinfo x11-clocks/gdesklets-ebichuclock/distinfo
--- /usr/ports/x11-clocks/gdesklets-ebichuclock/distinfo	2005-11-26 19:33:55.000000000 +0900
+++ x11-clocks/gdesklets-ebichuclock/distinfo	2009-12-29 22:14:00.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (ebichuclock-0.1.1.tar.bz2) = 2a977f8753a1651d22d6b49860d5b1c0
-SHA256 (ebichuclock-0.1.1.tar.bz2) = 202a38f25d8fd91eb0add84e4533020ed3cccec617f681a08495dc5679d9ef56
-SIZE (ebichuclock-0.1.1.tar.bz2) = 31481
+MD5 (ebichuclock-0.1.1.tar.gz) = 1137a1c4f6175a021ac02ed02e4d518d
+SHA256 (ebichuclock-0.1.1.tar.gz) = 5a5bc76859b1ff42425600d59e5e646dfdb1c324f2901f5d1e2988a70fd38e48
+SIZE (ebichuclock-0.1.1.tar.gz) = 30760
diff -urN /usr/ports/x11-clocks/gdesklets-ebichuclock/files/pkg-message.in x11-clocks/gdesklets-ebichuclock/files/pkg-message.in
--- /usr/ports/x11-clocks/gdesklets-ebichuclock/files/pkg-message.in	1970-01-01 09:00:00.000000000 +0900
+++ x11-clocks/gdesklets-ebichuclock/files/pkg-message.in	2009-12-29 23:23:21.000000000 +0900
@@ -0,0 +1,16 @@
+##
+To view the README:
+
+	cat %%PREFIX%%/share/gdesklets/Displays/%%NAME%%/README
+
+To view the installed applets:
+
+	ls %%PREFIX%%/share/gdesklets/Displays
+
+To use those applets:
+
+	gdesklets open %%PREFIX%%/share/gdesklets/Displays/%%NAME%%/%%NAME%%.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.
+##
diff -urN /usr/ports/x11-clocks/gdesklets-ebichuclock/pkg-descr x11-clocks/gdesklets-ebichuclock/pkg-descr
--- /usr/ports/x11-clocks/gdesklets-ebichuclock/pkg-descr	2004-01-08 08:40:53.000000000 +0900
+++ x11-clocks/gdesklets-ebichuclock/pkg-descr	2009-12-29 22:10:47.000000000 +0900
@@ -2,4 +2,4 @@
 Ofcourse the idea is based on our favorite hamster
 (and no i do not mean hamtaro :-)
 
-WWW: http://gdesklets.gnomedesktop.org/
+WWW: http://archive.gdesklets.info/
diff -urN /usr/ports/x11-clocks/gdesklets-ebichuclock/pkg-message x11-clocks/gdesklets-ebichuclock/pkg-message
--- /usr/ports/x11-clocks/gdesklets-ebichuclock/pkg-message	2007-10-25 13:54:19.000000000 +0900
+++ x11-clocks/gdesklets-ebichuclock/pkg-message	1970-01-01 09:00:00.000000000 +0900
@@ -1,9 +0,0 @@
-
-To list displays installed by this port:
-
-    ls %%PREFIX%%/share/gdesklets/Displays/%%NAME%%
-
-To add this desklet to your desktop:
-
-    gdesklets open %%PREFIX%%/share/gdesklets/Displays/%%NAME%%/<name>.display
-
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100105033034.21ae23b5.tkato432>