ports/142037: Update port: deskutils/gdesklets-recentlyused
KATO Tsuguru
tkato432 at yahoo.com
Sat Dec 26 18:10:06 UTC 2009
>Number: 142037
>Category: ports
>Synopsis: Update port: deskutils/gdesklets-recentlyused
>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: Sat Dec 26 18:10:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.2-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
Remove file:
files/patch-Install_RecentlyUsed_Sensor.bin
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/deskutils/gdesklets-recentlyused/Makefile deskutils/gdesklets-recentlyused/Makefile
--- /usr/ports/deskutils/gdesklets-recentlyused/Makefile 2008-06-07 00:19:46.000000000 +0900
+++ deskutils/gdesklets-recentlyused/Makefile 2009-12-25 02:35:10.000000000 +0900
@@ -9,35 +9,31 @@
PORTVERSION= 0.6
PORTREVISION= 10
CATEGORIES= deskutils gnome
-MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
+MASTER_SITES= http://www.gdesklets.info/archive/
PKGNAMEPREFIX= gdesklets-
-DISTNAME= recently-used-${PORTVERSION}
MAINTAINER= ports at FreeBSD.org
COMMENT= A toolbar for the most recently used items from ~/.recently-used
RUN_DEPENDS= gdesklets:${PORTSDIR}/deskutils/gdesklets
+WRKSRC= ${WRKDIR}/${NAME}
+
+NO_BUILD= yes
USE_PYTHON= yes
+
SUB_FILES= pkg-message
-PKGMESSAGE= ${WRKDIR}/pkg-message
+DATADIR= ${PREFIX}/share/gdesklets
NAME= RecentlyUsed
-DATADIR= ${PREFIX}/share
-
-do-build:
- @${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
- @${FIND} ${WRKSRC} -name '*.orig' -delete
do-install:
- @${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}
- @${MKDIR} ${DATADIR}/gdesklets/Sensors/${NAME}
- @${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/gdesklets/Displays/${NAME}/
- @${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${DATADIR}/gdesklets/Sensors/${NAME}/
- @${INSTALL_DATA} ${WRKSRC}/${NAME}/AUTHORS ${DATADIR}/gdesklets/Sensors/${NAME}/
- @${CP} ${WRKSRC}/${NAME}/.recently-used ${DATADIR}/gdesklets/Sensors/${NAME}/
-
-post-install:
+ @${MKDIR} ${DATADIR}/Displays/${NAME}
+ ${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/Displays/${NAME}
+ @${MKDIR} ${DATADIR}/Sensors/${NAME}
+ ${INSTALL_DATA} ${WRKSRC}/Sensors/${NAME}/*.py ${DATADIR}/Sensors/${NAME}
+ ${INSTALL_DATA} ${WRKSRC}/Sensors/${NAME}/AUTHORS ${DATADIR}/Sensors/${NAME}
+ @${CP} ${WRKSRC}/Sensors/${NAME}/.recently-used ${DATADIR}/Sensors/${NAME}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff -urN /usr/ports/deskutils/gdesklets-recentlyused/distinfo deskutils/gdesklets-recentlyused/distinfo
--- /usr/ports/deskutils/gdesklets-recentlyused/distinfo 2005-11-24 10:31:28.000000000 +0900
+++ deskutils/gdesklets-recentlyused/distinfo 2009-12-23 04:08:17.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (recently-used-0.6.tar.gz) = ab6752b577d74eff382c44c48194a405
-SHA256 (recently-used-0.6.tar.gz) = f230c3d63447016a72d0bec4f6b24c52e8893701fd52e2a773258113c27e323e
-SIZE (recently-used-0.6.tar.gz) = 9650
+MD5 (recentlyused-0.6.tar.gz) = 6c91448dca05c9b9b2d81cc40b36e5ff
+SHA256 (recentlyused-0.6.tar.gz) = 1e22f75ad30f4b5891ffbb1220fea5c5b4bb39f0c1b55389068fdcba7e18a370
+SIZE (recentlyused-0.6.tar.gz) = 7623
diff -urN /usr/ports/deskutils/gdesklets-recentlyused/files/patch-Install_RecentlyUsed_Sensor.bin deskutils/gdesklets-recentlyused/files/patch-Install_RecentlyUsed_Sensor.bin
--- /usr/ports/deskutils/gdesklets-recentlyused/files/patch-Install_RecentlyUsed_Sensor.bin 2003-09-26 20:11:30.000000000 +0900
+++ deskutils/gdesklets-recentlyused/files/patch-Install_RecentlyUsed_Sensor.bin 1970-01-01 09:00:00.000000000 +0900
@@ -1,18 +0,0 @@
---- Install_RecentlyUsed_Sensor.bin.orig Sat Sep 20 01:59:52 2003
-+++ Install_RecentlyUsed_Sensor.bin Sat Sep 20 02:00:20 2003
-@@ -75,15 +75,9 @@
- else:
- cmd = "mkdir -p %(destination)s; cd %(destination)s; " X "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 -urN /usr/ports/deskutils/gdesklets-recentlyused/pkg-descr deskutils/gdesklets-recentlyused/pkg-descr
--- /usr/ports/deskutils/gdesklets-recentlyused/pkg-descr 2003-09-26 20:11:30.000000000 +0900
+++ deskutils/gdesklets-recentlyused/pkg-descr 2009-12-23 04:20:07.000000000 +0900
@@ -8,4 +8,4 @@
If you click on one of the icons in the toolbar it will launch the application
that GNOME has associated with that specific MIME type.
-WWW: http://www.clarkson.edu/~clarkbw/desklets/
+WWW: http://archive.gdesklets.info/
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list