aboutsummaryrefslogtreecommitdiff
path: root/mail/gdesklets-enhallmail
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-11-04 07:53:38 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-11-04 07:53:38 +0000
commitb9e944769028bb1d7c4535a19f5cccf820682b1a (patch)
tree73302904222d405e241062e9d9d34bfa14d3e76b /mail/gdesklets-enhallmail
parent86b39c3d69a255fe063bde5ad628c5d16502d87e (diff)
downloadports-b9e944769028bb1d7c4535a19f5cccf820682b1a.tar.gz
ports-b9e944769028bb1d7c4535a19f5cccf820682b1a.zip
Notes
Diffstat (limited to 'mail/gdesklets-enhallmail')
-rw-r--r--mail/gdesklets-enhallmail/Makefile45
-rw-r--r--mail/gdesklets-enhallmail/distinfo2
-rw-r--r--mail/gdesklets-enhallmail/files/patch-Install_enhallmail_Sensor.bin19
-rw-r--r--mail/gdesklets-enhallmail/pkg-descr4
-rw-r--r--mail/gdesklets-enhallmail/pkg-message14
-rw-r--r--mail/gdesklets-enhallmail/pkg-plist18
6 files changed, 102 insertions, 0 deletions
diff --git a/mail/gdesklets-enhallmail/Makefile b/mail/gdesklets-enhallmail/Makefile
new file mode 100644
index 000000000000..45f3cff0d9d4
--- /dev/null
+++ b/mail/gdesklets-enhallmail/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: gdesklets-enhallmail
+# Date created: 5 September 2004
+# Whom: Radek Kozlowski <radek@raadradd.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= enhallmail
+PORTVERSION= 0.2
+CATEGORIES= mail gnome
+MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
+PKGNAMEPREFIX= gdesklets-
+DISTNAME= LT${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= radek@raadradd.com
+COMMENT= LT "enhanced" allmail, including IMAP and notification support
+
+RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets \
+ ${DATADIR}/gdesklets/Sensors/IconButton/__init__.py:${PORTSDIR}/deskutils/gdesklets-sensor-psi_iconbutton \
+ ${DATADIR}/gdesklets/Sensors/LTVBorder/__init__.py:${PORTSDIR}/deskutils/gdesklets-ltvariations
+
+USE_X_PREFIX= yes
+USE_PYTHON= yes
+
+DATADIR= ${PREFIX}/share/gnome
+WRKSRC= ${WRKDIR}/LT${PORTNAME}
+
+do-build:
+ @${WRKSRC}/Install_${PORTNAME}_Sensor.bin --nomsg ${WRKSRC}
+ @${FIND} ${WRKSRC} -name '*.bak' -delete
+
+do-install:
+ @${MKDIR} ${DATADIR}/gdesklets/Displays/${PORTNAME}/gfx/bg
+ @${MKDIR} ${DATADIR}/gdesklets/Sensors/${PORTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/gdesklets/Displays/${PORTNAME}/
+ @${INSTALL_DATA} ${WRKSRC}/gfx/*.png ${DATADIR}/gdesklets/Displays/${PORTNAME}/gfx/
+ @${INSTALL_DATA} ${WRKSRC}/gfx/bg/*.png ${DATADIR}/gdesklets/Displays/${PORTNAME}/gfx/bg/
+ @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/*.py ${DATADIR}/gdesklets/Sensors/${PORTNAME}/
+
+post-install:
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${PORTNAME}
+ @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${PORTNAME}
+ @${SED} -e 's|%%PREFIX%%|${PREFIX}|' < ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/mail/gdesklets-enhallmail/distinfo b/mail/gdesklets-enhallmail/distinfo
new file mode 100644
index 000000000000..7d0991227815
--- /dev/null
+++ b/mail/gdesklets-enhallmail/distinfo
@@ -0,0 +1,2 @@
+MD5 (LTenhallmail-0.2.tar.gz) = 37ddd6808fcc1d912ba63b07a8b45202
+SIZE (LTenhallmail-0.2.tar.gz) = 25932
diff --git a/mail/gdesklets-enhallmail/files/patch-Install_enhallmail_Sensor.bin b/mail/gdesklets-enhallmail/files/patch-Install_enhallmail_Sensor.bin
new file mode 100644
index 000000000000..3f9194932f57
--- /dev/null
+++ b/mail/gdesklets-enhallmail/files/patch-Install_enhallmail_Sensor.bin
@@ -0,0 +1,19 @@
+--- Install_enhallmail_Sensor.bin.orig Thu Sep 16 05:10:11 2004
++++ Install_enhallmail_Sensor.bin Thu Sep 16 05:10:48 2004
+@@ -75,15 +75,9 @@
+ else:
+ cmd = "mkdir -p %(destination)s; cd %(destination)s; " \
+ "LANG=C tar -xzf %(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 --git a/mail/gdesklets-enhallmail/pkg-descr b/mail/gdesklets-enhallmail/pkg-descr
new file mode 100644
index 000000000000..8f3ea04cd1bc
--- /dev/null
+++ b/mail/gdesklets-enhallmail/pkg-descr
@@ -0,0 +1,4 @@
+LT "enhanced" allmail, including IMAP and notification support. This
+version can optionally check more than one IMAP folder on one server.
+
+WWW: http://gdesklets.gnomedesktop.org/
diff --git a/mail/gdesklets-enhallmail/pkg-message b/mail/gdesklets-enhallmail/pkg-message
new file mode 100644
index 000000000000..73dc2443c6c7
--- /dev/null
+++ b/mail/gdesklets-enhallmail/pkg-message
@@ -0,0 +1,14 @@
+##
+To view all installed applets:
+
+ ls %%PREFIX%%/share/gnome/gdesklets/Displays
+
+To use those applets:
+
+ gdesklets %%PREFIX%%/share/gnome/gdesklets/Displays/${name}/${name}.display
+
+Replace ${name} with the correct name of the applet you want to use.
+
+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 --git a/mail/gdesklets-enhallmail/pkg-plist b/mail/gdesklets-enhallmail/pkg-plist
new file mode 100644
index 000000000000..ff4936749d1e
--- /dev/null
+++ b/mail/gdesklets-enhallmail/pkg-plist
@@ -0,0 +1,18 @@
+share/gnome/gdesklets/Displays/enhallmail/LTenhallmail.display
+share/gnome/gdesklets/Displays/enhallmail/gfx/allmailerr.png
+share/gnome/gdesklets/Displays/enhallmail/gfx/allmailnew.png
+share/gnome/gdesklets/Displays/enhallmail/gfx/allmailnonew.png
+share/gnome/gdesklets/Displays/enhallmail/gfx/bg/w-top.png
+share/gnome/gdesklets/Displays/enhallmail/gfx/bg/w-bottom.png
+share/gnome/gdesklets/Displays/enhallmail/gfx/bg/top.png
+share/gnome/gdesklets/Displays/enhallmail/gfx/bg/none.png
+share/gnome/gdesklets/Displays/enhallmail/gfx/bg/w-both.png
+share/gnome/gdesklets/Displays/enhallmail/gfx/bg/both.png
+share/gnome/gdesklets/Displays/enhallmail/gfx/bg/bottom.png
+share/gnome/gdesklets/Sensors/enhallmail/__init__.py
+share/gnome/gdesklets/Sensors/enhallmail/__init__.pyc
+share/gnome/gdesklets/Sensors/enhallmail/__init__.pyo
+@dirrm share/gnome/gdesklets/Displays/enhallmail/gfx/bg
+@dirrm share/gnome/gdesklets/Displays/enhallmail/gfx
+@dirrm share/gnome/gdesklets/Displays/enhallmail/
+@dirrm share/gnome/gdesklets/Sensors/enhallmail/