Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  6 Jan 2004 22:33:06 +0100 (CET)
From:      Vincent Tantardini <vinc@FreeBSD-fr.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/60992: [New Port] : x11-clocks/gdesklets-praytime
Message-ID:  <20040106213306.7B531632@sativa.0x45.org>
Resent-Message-ID: <200401062140.i06Le5Qv029556@freefall.freebsd.org>

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

>Number:         60992
>Category:       ports
>Synopsis:       [New Port] : x11-clocks/gdesklets-praytime
>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:   Tue Jan 06 13:40:04 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Vincent Tantardini
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
Kerneled.com
>Environment:
System: FreeBSD sativa.0x45.org 4.9-STABLE FreeBSD 4.9-STABLE #0: Fri Dec 26 21:19:14 CET 2003 vinc@sativa.0x45.org:/usr/obj/usr/src/sys/SATIVA i386


	
>Description:
	This desklet obtains the prayer times for the respective location
	from prayer.al-islam.com and displays them.
>How-To-Repeat:
	
>Fix:

	

--- gdesklets-praytime.port begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gdesklets-praytime
#	gdesklets-praytime/Makefile
#	gdesklets-praytime/distinfo
#	gdesklets-praytime/pkg-descr
#	gdesklets-praytime/pkg-message
#	gdesklets-praytime/pkg-plist
#	gdesklets-praytime/files
#	gdesklets-praytime/files/patch-Install_PrayerTime_Sensor.bin
#
echo c - gdesklets-praytime
mkdir -p gdesklets-praytime > /dev/null 2>&1
echo x - gdesklets-praytime/Makefile
sed 's/^X//' >gdesklets-praytime/Makefile << 'END-of-gdesklets-praytime/Makefile'
X# New ports collection makefile for:	gdesklets-praytime
X# Date created:				06 January 2004
X# Whom:					Vincent Tantardini <vinc@FreeBSD-fr.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	praytime
XPORTVERSION=	0.21
XCATEGORIES=	x11-clocks gnome
XMASTER_SITES=	http://gdesklets.gnomedesktop.org/files/
XPKGNAMEPREFIX=	gdesklets-
XDISTNAME=	${PORTNAME}-desklet-${PORTVERSION}
X
XMAINTAINER=	ports@FreeBSD.org
XCOMMENT=	Displays prayer times for the respective location from prayer.al-islam.com
X
XRUN_DEPENDS=	${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets
X
XUSE_BZIP2=	yes
XUSE_X_PREFIX=	yes
XUSE_PYTHON=	yes
X
XNAME=		PrayerTime
XDATADIR=	${PREFIX}/share/gnome
XWRKSRC=		${WRKDIR}/${PORTNAME}-desklet-${PORTVERSION}
XPKG-MESSAGE=	${WRKDIR}/pkg-message
X
Xdo-build:
X	@${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
X	@${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; s|%%NAME%%|$ {NAME}|g' > ${PKGMESSAGE}
X
Xdo-install:
X	@${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}/gfx
X	@${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}/icons
X	@${MKDIR} ${DATADIR}/gdesklets/Sensors/${NAME}
X	@${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${DATADIR}/gdesklets/Sensors/${NAME}/
X	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}
X	@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}
X	@${INSTALL_DATA} ${WRKSRC}/${NAME}/*.display ${DATADIR}/gdesklets/Displays/${NAME}/
X	@${INSTALL_DATA} ${WRKSRC}/${NAME}/gfx/*.png ${DATADIR}/gdesklets/Displays/${NAME}/gfx/
X	@${INSTALL_DATA} ${WRKSRC}/${NAME}/icons/*.png ${DATADIR}/gdesklets/Displays/${NAME}/icons/
X	@${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}/gdesklets/Displays/${NAME}/
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-gdesklets-praytime/Makefile
echo x - gdesklets-praytime/distinfo
sed 's/^X//' >gdesklets-praytime/distinfo << 'END-of-gdesklets-praytime/distinfo'
XMD5 (praytime-desklet-0.21.tar.bz2) = 6749b850178224ef7de846974bdb5fda
END-of-gdesklets-praytime/distinfo
echo x - gdesklets-praytime/pkg-descr
sed 's/^X//' >gdesklets-praytime/pkg-descr << 'END-of-gdesklets-praytime/pkg-descr'
XThis desklet obtains the prayer times for the respective location 
Xfrom prayer.al-islam.com and displays them.
X
XWWW: http://gdesklets.gnomedesktop.org/
END-of-gdesklets-praytime/pkg-descr
echo x - gdesklets-praytime/pkg-message
sed 's/^X//' >gdesklets-praytime/pkg-message << 'END-of-gdesklets-praytime/pkg-message'
X
XTo add this desklet to your desktop:
X
X    gdesklets %%PREFIX%%/share/gnome/gdesklets/Displays/%%NAME%%/%%NAME%%.display
X
END-of-gdesklets-praytime/pkg-message
echo x - gdesklets-praytime/pkg-plist
sed 's/^X//' >gdesklets-praytime/pkg-plist << 'END-of-gdesklets-praytime/pkg-plist'
Xshare/gnome/gdesklets/Displays/PrayerTime/README
Xshare/gnome/gdesklets/Displays/PrayerTime/gfx/bg-left.png
Xshare/gnome/gdesklets/Displays/PrayerTime/gfx/bg-right.png
Xshare/gnome/gdesklets/Displays/PrayerTime/gfx/bg-weather.png
Xshare/gnome/gdesklets/Displays/PrayerTime/icons/asr.png
Xshare/gnome/gdesklets/Displays/PrayerTime/icons/fajr.png
Xshare/gnome/gdesklets/Displays/PrayerTime/icons/isha.png
Xshare/gnome/gdesklets/Displays/PrayerTime/icons/maghrib.png
Xshare/gnome/gdesklets/Displays/PrayerTime/icons/zuhr.png
Xshare/gnome/gdesklets/Displays/PrayerTime/prayboard.display
Xshare/gnome/gdesklets/Displays/PrayerTime/praytime.display
Xshare/gnome/gdesklets/Sensors/PrayerTime/__init__.py
Xshare/gnome/gdesklets/Sensors/PrayerTime/__init__.pyc
Xshare/gnome/gdesklets/Sensors/PrayerTime/__init__.pyo
X@dirrm share/gnome/gdesklets/Sensors/PrayerTime
X@dirrm share/gnome/gdesklets/Displays/PrayerTime/icons
X@dirrm share/gnome/gdesklets/Displays/PrayerTime/gfx
X@dirrm share/gnome/gdesklets/Displays/PrayerTime
END-of-gdesklets-praytime/pkg-plist
echo c - gdesklets-praytime/files
mkdir -p gdesklets-praytime/files > /dev/null 2>&1
echo x - gdesklets-praytime/files/patch-Install_PrayerTime_Sensor.bin
sed 's/^X//' >gdesklets-praytime/files/patch-Install_PrayerTime_Sensor.bin << 'END-of-gdesklets-praytime/files/patch-Install_PrayerTime_Sensor.bin'
X--- Install_PrayerTime_Sensor.bin.orig	Tue Jan  6 21:50:08 2004
X+++ Install_PrayerTime_Sensor.bin	Tue Jan  6 21:50:33 2004
X@@ -75,15 +75,9 @@
X     else:
X         cmd = "mkdir -p %(destination)s; cd %(destination)s; " \
X               "LANG=C tar -xzvf %(tmp)s 2>&1"
X-    fail, out = commands.getstatusoutput(cmd % vars())
X+    commands.getstatusoutput(cmd % vars())
X     os.unlink(tmp)
X     
X-    if (fail):
X-        if (no_message): print ERROR_TAR + out
X-        else: message(ERROR_TAR + out, "error")
X-        sys.exit(1)
X-
X-    print out
X     if (not list_only):
X         if (no_message): print SUCCESS
X         else: message(SUCCESS, "info")
END-of-gdesklets-praytime/files/patch-Install_PrayerTime_Sensor.bin
exit
--- gdesklets-praytime.port ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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