summaryrefslogtreecommitdiffstats
path: root/mail/gnubiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail/gnubiff')
-rw-r--r--mail/gnubiff/Makefile63
-rw-r--r--mail/gnubiff/distinfo3
-rw-r--r--mail/gnubiff/files/patch-configure11
-rw-r--r--mail/gnubiff/pkg-descr13
-rw-r--r--mail/gnubiff/pkg-plist41
5 files changed, 131 insertions, 0 deletions
diff --git a/mail/gnubiff/Makefile b/mail/gnubiff/Makefile
new file mode 100644
index 000000000..408e0e0c6
--- /dev/null
+++ b/mail/gnubiff/Makefile
@@ -0,0 +1,63 @@
+# New ports collection makefile for: gnubiff
+# Date created: 3 May 2004
+# Whom: Tim Bishop <tim@bishnet.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnubiff
+PORTVERSION= 2.2.6
+PORTREVISION= 1
+CATEGORIES= mail
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= tdb@FreeBSD.org
+COMMENT= A mail notification program for Gnome
+
+LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
+
+USE_GNOME= intlhack libglade2 esound
+USE_GMAKE= yes
+USE_FAM= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ CXXFLAGS="-Wno-long-long"
+# CXXFLAGS needed to work round issue with gcc and openssl 0.9.8a
+# /usr/local/include/openssl/sha.h:173: error: ISO C++ does not support `long long'
+
+MAN1= gnubiff.1
+INFO= gnubiff
+
+.ifdef(WITH_GNUBIFF_PASSWORD)
+CONFIGURE_ARGS+= --with-password
+.endif
+
+.ifndef(WITHOUT_NLS)
+CONFIGURE_ARGS+= --enable-nls
+PLIST_SUB+= NLS=""
+USE_GETTEXT= yes
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
+# This application can dock in the GNOME panel, or it can not.
+# Only install support if gnomepanel is already installed.
+WANT_GNOME= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${HAVE_GNOME:Mgnomepanel}!=""
+USE_GNOME+= gnomepanel gconf2 gnomeprefix gnomehack
+PKGNAMESUFFIX+= -gnome
+PLIST_SUB+= BONOBODIR="libdata/bonobo"
+PLIST_SUB+= WITH_GNOME=""
+.else
+CONFIGURE_ARGS+= --disable-gnome
+PLIST_SUB+= BONOBODIR="lib/bonobo"
+PLIST_SUB+= WITH_GNOME="@comment "
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/mail/gnubiff/distinfo b/mail/gnubiff/distinfo
new file mode 100644
index 000000000..010ef3e0e
--- /dev/null
+++ b/mail/gnubiff/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnubiff-2.2.6.tar.gz) = b6c2580b7b2b73cddafdc1fdcedcfde2
+SHA256 (gnubiff-2.2.6.tar.gz) = f3e3c30117da904e1e34a90e3c563f6bc15c4ba103beb01936a681e40dd8da47
+SIZE (gnubiff-2.2.6.tar.gz) = 830219
diff --git a/mail/gnubiff/files/patch-configure b/mail/gnubiff/files/patch-configure
new file mode 100644
index 000000000..22ac73a85
--- /dev/null
+++ b/mail/gnubiff/files/patch-configure
@@ -0,0 +1,11 @@
+--- ./configure.orig Sat Apr 22 14:41:45 2006
++++ ./configure Sun Jun 25 12:37:49 2006
+@@ -4117,7 +4117,7 @@
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lssl $LIBS"
++LIBS="-lssl -lcrypto $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
diff --git a/mail/gnubiff/pkg-descr b/mail/gnubiff/pkg-descr
new file mode 100644
index 000000000..ea77cffa9
--- /dev/null
+++ b/mail/gnubiff/pkg-descr
@@ -0,0 +1,13 @@
+gnubiff is a mail notification program that checks for mail, displays
+headers when new mail has arrived and allow to read first lines of
+new mails.
+
+It relies on the GNOME and GTK libraries but can be compiled and
+used with or without GNOME support. Supported protocols are pop3,
+apop, imap4, mh, qmail and mailfile.
+
+Furthermore, gnubiff is fully configurable with a lot of options
+like polltime, poptime, sounds, mail reader, mailbox names, etc.
+and can also filter spam.
+
+WWW: http://gnubiff.sourceforge.net/
diff --git a/mail/gnubiff/pkg-plist b/mail/gnubiff/pkg-plist
new file mode 100644
index 000000000..f934eabaa
--- /dev/null
+++ b/mail/gnubiff/pkg-plist
@@ -0,0 +1,41 @@
+bin/gnubiff
+%%NLS%%share/locale/cs/LC_MESSAGES/gnubiff.mo
+%%NLS%%share/locale/de/LC_MESSAGES/gnubiff.mo
+%%NLS%%share/locale/es/LC_MESSAGES/gnubiff.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/gnubiff.mo
+%%NLS%%share/locale/fr_CA/LC_MESSAGES/gnubiff.mo
+%%NLS%%share/locale/fr_FR/LC_MESSAGES/gnubiff.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/gnubiff.mo
+%%NLS%%share/locale/it/LC_MESSAGES/gnubiff.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/gnubiff.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/gnubiff.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/gnubiff.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/gnubiff.mo
+%%NLS%%share/locale/rw/LC_MESSAGES/gnubiff.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/gnubiff.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/gnubiff.mo
+share/gnubiff/applet-gtk.glade
+share/gnubiff/authentication.glade
+share/gnubiff/certificate.glade
+share/gnubiff/coin.wav
+share/gnubiff/envelopes.png
+share/gnubiff/gnubiff.png
+share/gnubiff/mail.wav
+share/gnubiff/popup.glade
+share/gnubiff/preferences.glade
+share/gnubiff/properties.glade
+share/gnubiff/tux-awake.png
+share/gnubiff/tux-big.png
+share/gnubiff/tux-jump(64x64).png
+share/gnubiff/tux-sleep(64x64).png
+share/gnubiff/tux-sleep.png
+share/pixmaps/gnubiff.png
+%%WITH_GNOME%%%%BONOBODIR%%/servers/GNOME_gnubiffApplet.server
+%%WITH_GNOME%%share/gnome-2.0/ui/GNOME_gnubiffApplet.xml
+@dirrmtry %%BONOBODIR%%/servers
+@dirrmtry %%BONOBODIR%%
+@dirrmtry share/gnome-2.0/ui
+@dirrmtry share/gnome-2.0
+%%NLS%%@dirrmtry share/locale/fr_CA/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/fr_CA
+@dirrm share/gnubiff