summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 09:46:23 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 09:46:23 +0800
commit0b6a3fbfcf8dc80b9fc2c9006a05d81449c21582 (patch)
treed429fcd6076e0cd20b3a2cea44b6b74f570286b5 /mail
parentaed04489c12a2981f691f38059ca46559ed0bb2b (diff)
downloadmarcuscom-ports-0b6a3fbfcf8dc80b9fc2c9006a05d81449c21582.tar
marcuscom-ports-0b6a3fbfcf8dc80b9fc2c9006a05d81449c21582.tar.gz
marcuscom-ports-0b6a3fbfcf8dc80b9fc2c9006a05d81449c21582.tar.bz2
marcuscom-ports-0b6a3fbfcf8dc80b9fc2c9006a05d81449c21582.tar.lz
marcuscom-ports-0b6a3fbfcf8dc80b9fc2c9006a05d81449c21582.tar.xz
marcuscom-ports-0b6a3fbfcf8dc80b9fc2c9006a05d81449c21582.tar.zst
marcuscom-ports-0b6a3fbfcf8dc80b9fc2c9006a05d81449c21582.zip
- Remove some locales we now face in the LOCALBASE movement
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7377 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'mail')
-rw-r--r--mail/gnubiff/Makefile66
-rw-r--r--mail/gnubiff/distinfo3
-rw-r--r--mail/gnubiff/files/patch-configure11
-rw-r--r--mail/gnubiff/files/patch-src__mailbox.cc10
-rw-r--r--mail/gnubiff/files/patch-src__mailbox.h10
-rw-r--r--mail/gnubiff/pkg-descr13
-rw-r--r--mail/gnubiff/pkg-plist41
7 files changed, 154 insertions, 0 deletions
diff --git a/mail/gnubiff/Makefile b/mail/gnubiff/Makefile
new file mode 100644
index 000000000..bd3c9d029
--- /dev/null
+++ b/mail/gnubiff/Makefile
@@ -0,0 +1,66 @@
+# New ports collection makefile for: gnubiff
+# Date created: 3 May 2004
+# Whom: Tim Bishop <tim@bishnet.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnubiff
+PORTVERSION= 2.2.2
+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
+WANT_FAM_SYSTEM=fam
+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'
+
+CONFIGURE_ARGS+= --infodir=${PREFIX}/info --mandir=${PREFIX}/man
+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+= SHAREDIR="share/gnome"
+PLIST_SUB+= BONOBODIR="libdata/bonobo"
+PLIST_SUB+= WITH_GNOME=""
+.else
+CONFIGURE_ARGS+= --disable-gnome
+PLIST_SUB+= SHAREDIR="share"
+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..a80887248
--- /dev/null
+++ b/mail/gnubiff/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnubiff-2.2.2.tar.gz) = 54e026ed12571350dcf8965a090dfa45
+SHA256 (gnubiff-2.2.2.tar.gz) = 120b6f1486f5c78df7fc3190ac1d19151f603261d2afd9e2c97a5c7eb4575306
+SIZE (gnubiff-2.2.2.tar.gz) = 812648
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/files/patch-src__mailbox.cc b/mail/gnubiff/files/patch-src__mailbox.cc
new file mode 100644
index 000000000..50cf51ed7
--- /dev/null
+++ b/mail/gnubiff/files/patch-src__mailbox.cc
@@ -0,0 +1,10 @@
+--- ./src/mailbox.cc.orig Sun Sep 3 13:08:05 2006
++++ ./src/mailbox.cc Sun Sep 3 13:07:46 2006
+@@ -30,6 +30,7 @@
+ // ========================================================================
+
+ #include <algorithm>
++#include <sys/types.h>
+ #include <regex.h>
+ #include "support.h"
+ #include "mailbox.h"
diff --git a/mail/gnubiff/files/patch-src__mailbox.h b/mail/gnubiff/files/patch-src__mailbox.h
new file mode 100644
index 000000000..f8e9955b6
--- /dev/null
+++ b/mail/gnubiff/files/patch-src__mailbox.h
@@ -0,0 +1,10 @@
+--- ./src/mailbox.h.orig Sun Sep 3 16:34:22 2006
++++ ./src/mailbox.h Sun Sep 3 16:34:36 2006
+@@ -38,6 +38,7 @@
+ #include <functional>
+ #include <glib.h>
+ #include <map>
++#include <sys/types.h>
+ #include <regex.h>
+ #include <set>
+ #include <string>
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..bbbb1b5ec
--- /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/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
+%%SHAREDIR%%/gnubiff/applet-gtk.glade
+%%SHAREDIR%%/gnubiff/authentication.glade
+%%SHAREDIR%%/gnubiff/certificate.glade
+%%SHAREDIR%%/gnubiff/coin.wav
+%%SHAREDIR%%/gnubiff/envelopes.png
+%%SHAREDIR%%/gnubiff/gnubiff.png
+%%SHAREDIR%%/gnubiff/mail.wav
+%%SHAREDIR%%/gnubiff/popup.glade
+%%SHAREDIR%%/gnubiff/preferences.glade
+%%SHAREDIR%%/gnubiff/properties.glade
+%%SHAREDIR%%/gnubiff/tux-awake.png
+%%SHAREDIR%%/gnubiff/tux-big.png
+%%SHAREDIR%%/gnubiff/tux-jump(64x64).png
+%%SHAREDIR%%/gnubiff/tux-sleep(64x64).png
+%%SHAREDIR%%/gnubiff/tux-sleep.png
+%%SHAREDIR%%/pixmaps/gnubiff.png
+%%WITH_GNOME%%%%BONOBODIR%%/servers/GNOME_gnubiffApplet.server
+%%WITH_GNOME%%%%SHAREDIR%%/gnome-2.0/ui/GNOME_gnubiffApplet.xml
+@dirrmtry share/locale/rw/LC_MESSAGES
+@dirrmtry share/locale/rw
+@dirrmtry share/locale/fr_CA/LC_MESSAGES
+@dirrmtry share/locale/fr_CA
+@dirrmtry %%BONOBODIR%%/servers
+@dirrmtry %%BONOBODIR%%
+@dirrmtry %%SHAREDIR%%/gnome-2.0/ui
+@dirrmtry %%SHAREDIR%%/gnome-2.0
+@dirrm %%SHAREDIR%%/gnubiff