Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 2003 16:40:32 +0100 (CET)
From:      Franz Klammer <klammer@webonaut.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/59512: NEW PORT: mail/gdesklets-imapmail
Message-ID:  <20031120154032.C65B728421@ds9.webonaut.com>
Resent-Message-ID: <200311201550.hAKFoLmi073470@freefall.freebsd.org>

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

>Number:         59512
>Category:       ports
>Synopsis:       NEW PORT: mail/gdesklets-imapmail
>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:   Thu Nov 20 07:50:21 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Franz Klammer <klammer@webonaut.com>
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD ds9.webonaut.com 5.1-CURRENT FreeBSD 5.1-CURRENT #10: Tue Nov 11 13:42:18 CET 2003 root@ds9.webonaut.com:/usr/obj/usr/src/sys/DS9 i386


	
>Description:
	
	RUN_DEPENDS:
	NEW PORT: deskutils/gdesklets-sensor-psi_iconbutton
        (will be sent in the next pr)

>How-To-Repeat:
	
>Fix:

	

--- gdesklets-imapmail.shar 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-imapmail
#	gdesklets-imapmail/Makefile
#	gdesklets-imapmail/pkg-descr
#	gdesklets-imapmail/pkg-message
#	gdesklets-imapmail/pkg-plist
#	gdesklets-imapmail/distinfo
#	gdesklets-imapmail/files
#	gdesklets-imapmail/files/patch-Install_imapmail_Sensor.bin
#
echo c - gdesklets-imapmail
mkdir -p gdesklets-imapmail > /dev/null 2>&1
echo x - gdesklets-imapmail/Makefile
sed 's/^X//' >gdesklets-imapmail/Makefile << 'END-of-gdesklets-imapmail/Makefile'
X# New ports collection makefile for:    gdesklets-imapmail
X# Date created:                		19 November 2003
X# Whom:                    		Franz Klammer <klammer@webonaut.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	imapmail
XPORTVERSION=	0.1
XCATEGORIES=	mail gnome
XMASTER_SITES=	http://gdesklets.gnomedesktop.org/files/
XPKGNAMEPREFIX=	gdesklets-
XDISTNAME=	${PORTNAME}_${PORTVERSION}
X
XMAINTAINER=	klammer@webonaut.com
XCOMMENT=	Displays new/total mail count from IMAP mailbox
X
XRUN_DEPENDS=	${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets \
X		${DATADIR}/gdesklets/Sensors/IconButton/__init__.py:${PORTSDIR}/deskutils/gdesklets-sensor-psi_iconbutton
X
XUSE_BZIP2=	yes
XUSE_X_PREFIX=	yes
XUSE_REINPLACE=	yes
XUSE_PYTHON=	yes
X
XNAME=		imapmail
XDATADIR=	${PREFIX}/share/gnome
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
Xdo-build:
X	@${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
X	@${FIND} ${WRKDIR}/${PORTNAME} -name '*.bak' -delete
X
Xdo-install:
X	@${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}/dark-theme/gfx
X	@${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}/light-theme/gfx
X	@${MKDIR} ${DATADIR}/gdesklets/Sensors/${NAME}
X	@${INSTALL_DATA} ${WRKSRC}/dark-theme/*.display \
X		${DATADIR}/gdesklets/Displays/${NAME}/dark-theme/
X	@${INSTALL_DATA} ${WRKSRC}/dark-theme/gfx/*.png \
X		${DATADIR}/gdesklets/Displays/${NAME}/dark-theme/gfx/
X	@${INSTALL_DATA} ${WRKSRC}/light-theme/*.display \
X		${DATADIR}/gdesklets/Displays/${NAME}/light-theme/
X	@${INSTALL_DATA} ${WRKSRC}/light-theme/gfx/*.png \
X		${DATADIR}/gdesklets/Displays/${NAME}/light-theme/gfx/
X	@${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py \
X		${DATADIR}/gdesklets/Sensors/${NAME}/
X
Xpost-install:
X	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}
X	@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-gdesklets-imapmail/Makefile
echo x - gdesklets-imapmail/pkg-descr
sed 's/^X//' >gdesklets-imapmail/pkg-descr << 'END-of-gdesklets-imapmail/pkg-descr'
XThis desklet shows new/total mailcount from an IMAP INBOX.
XDisplay and sensor (imapmail sensor) adapted from code by Psi.
X
XWWW: http://gdesklets.gnomedesktop.org/
END-of-gdesklets-imapmail/pkg-descr
echo x - gdesklets-imapmail/pkg-message
sed 's/^X//' >gdesklets-imapmail/pkg-message << 'END-of-gdesklets-imapmail/pkg-message'
X##
XTo view all installed applets:
X
X    ls ${PREFIX}/share/gnome/gdesklets/Displays
X
XTo use those applets:
X
X    gdesklets ${PREFIX}/share/gnome/gdesklets/Displays/${name}/${name}.display
X
XReplace ${name} with the correct name of the applets you want to use.
X
XNOTE: Be sure to login as your user when you use the gdesklets command,
X      as the configuration will be stored in the ~/.gdesklets/ directory.
X##
END-of-gdesklets-imapmail/pkg-message
echo x - gdesklets-imapmail/pkg-plist
sed 's/^X//' >gdesklets-imapmail/pkg-plist << 'END-of-gdesklets-imapmail/pkg-plist'
Xshare/gnome/gdesklets/Displays/imapmail/dark-theme/gfx/bg.png
Xshare/gnome/gdesklets/Displays/imapmail/dark-theme/gfx/border-bottom.png
Xshare/gnome/gdesklets/Displays/imapmail/dark-theme/gfx/border-bottomleft.png
Xshare/gnome/gdesklets/Displays/imapmail/dark-theme/gfx/border-bottomright.png
Xshare/gnome/gdesklets/Displays/imapmail/dark-theme/gfx/border-left.png
Xshare/gnome/gdesklets/Displays/imapmail/dark-theme/gfx/border-right.png
Xshare/gnome/gdesklets/Displays/imapmail/dark-theme/gfx/border-top.png
Xshare/gnome/gdesklets/Displays/imapmail/dark-theme/gfx/border-topleft.png
Xshare/gnome/gdesklets/Displays/imapmail/dark-theme/gfx/border-topright.png
Xshare/gnome/gdesklets/Displays/imapmail/dark-theme/gfx/email.png
Xshare/gnome/gdesklets/Displays/imapmail/dark-theme/gfx/error.png
Xshare/gnome/gdesklets/Displays/imapmail/dark-theme/gfx/nonewmail.png
Xshare/gnome/gdesklets/Displays/imapmail/dark-theme/imapmail.display
Xshare/gnome/gdesklets/Displays/imapmail/light-theme/gfx/bg.png
Xshare/gnome/gdesklets/Displays/imapmail/light-theme/gfx/border-bottom.png
Xshare/gnome/gdesklets/Displays/imapmail/light-theme/gfx/border-bottomleft.png
Xshare/gnome/gdesklets/Displays/imapmail/light-theme/gfx/border-bottomright.png
Xshare/gnome/gdesklets/Displays/imapmail/light-theme/gfx/border-left.png
Xshare/gnome/gdesklets/Displays/imapmail/light-theme/gfx/border-right.png
Xshare/gnome/gdesklets/Displays/imapmail/light-theme/gfx/border-top.png
Xshare/gnome/gdesklets/Displays/imapmail/light-theme/gfx/border-topleft.png
Xshare/gnome/gdesklets/Displays/imapmail/light-theme/gfx/border-topright.png
Xshare/gnome/gdesklets/Displays/imapmail/light-theme/gfx/email.png
Xshare/gnome/gdesklets/Displays/imapmail/light-theme/gfx/error.png
Xshare/gnome/gdesklets/Displays/imapmail/light-theme/gfx/nonewmail.png
Xshare/gnome/gdesklets/Displays/imapmail/light-theme/imapmail.display
Xshare/gnome/gdesklets/Sensors/imapmail/__init__.py
Xshare/gnome/gdesklets/Sensors/imapmail/__init__.pyc
Xshare/gnome/gdesklets/Sensors/imapmail/__init__.pyo
X@dirrm share/gnome/gdesklets/Displays/imapmail/dark-theme/gfx
X@dirrm share/gnome/gdesklets/Displays/imapmail/dark-theme
X@dirrm share/gnome/gdesklets/Displays/imapmail/light-theme/gfx
X@dirrm share/gnome/gdesklets/Displays/imapmail/light-theme
X@dirrm share/gnome/gdesklets/Displays/imapmail
X@dirrm share/gnome/gdesklets/Sensors/imapmail
END-of-gdesklets-imapmail/pkg-plist
echo x - gdesklets-imapmail/distinfo
sed 's/^X//' >gdesklets-imapmail/distinfo << 'END-of-gdesklets-imapmail/distinfo'
XMD5 (imapmail_0.1.tar.bz2) = 1f1854e0342448a0a7d575da5a763679
END-of-gdesklets-imapmail/distinfo
echo c - gdesklets-imapmail/files
mkdir -p gdesklets-imapmail/files > /dev/null 2>&1
echo x - gdesklets-imapmail/files/patch-Install_imapmail_Sensor.bin
sed 's/^X//' >gdesklets-imapmail/files/patch-Install_imapmail_Sensor.bin << 'END-of-gdesklets-imapmail/files/patch-Install_imapmail_Sensor.bin'
X--- Install_imapmail_Sensor.bin.orig	Tue Nov 18 21:44:00 2003
X+++ Install_imapmail_Sensor.bin	Tue Nov 18 21:44:56 2003
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-imapmail/files/patch-Install_imapmail_Sensor.bin
exit
--- gdesklets-imapmail.shar ends here ---


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



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