diff options
author | adamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-12-08 04:50:19 +0800 |
---|---|---|
committer | adamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-12-08 04:50:19 +0800 |
commit | 0e63b7799a3a76fade5229918707fb38f3c147e9 (patch) | |
tree | eeb31f2c196f97bd97bb53ae090ae387ea6aa281 /mail | |
parent | 5d9ebf80a434129b2c1187191babb93e2540005d (diff) | |
download | marcuscom-ports-0e63b7799a3a76fade5229918707fb38f3c147e9.tar.gz marcuscom-ports-0e63b7799a3a76fade5229918707fb38f3c147e9.tar.zst marcuscom-ports-0e63b7799a3a76fade5229918707fb38f3c147e9.zip |
Add balsa2. This is the same version as in the FreeBSD ports tree, except
it contains a REINPLACE kludge to allow it to build under 2.5.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1406 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'mail')
-rw-r--r-- | mail/balsa2/Makefile | 56 | ||||
-rw-r--r-- | mail/balsa2/distinfo | 1 | ||||
-rw-r--r-- | mail/balsa2/files/patch-configure | 77 | ||||
-rw-r--r-- | mail/balsa2/files/patch-doc_omf.make | 11 | ||||
-rw-r--r-- | mail/balsa2/files/patch-doc_xmldocs.make | 11 | ||||
-rw-r--r-- | mail/balsa2/files/patch-libmutt_configure | 11 | ||||
-rw-r--r-- | mail/balsa2/files/patch-ltmain.sh | 51 | ||||
-rw-r--r-- | mail/balsa2/files/patch-src_main.c | 11 | ||||
-rw-r--r-- | mail/balsa2/files/patch-src_threads.h | 12 | ||||
-rw-r--r-- | mail/balsa2/pkg-descr | 12 | ||||
-rw-r--r-- | mail/balsa2/pkg-plist | 85 |
11 files changed, 338 insertions, 0 deletions
diff --git a/mail/balsa2/Makefile b/mail/balsa2/Makefile new file mode 100644 index 000000000..f79770f76 --- /dev/null +++ b/mail/balsa2/Makefile @@ -0,0 +1,56 @@ +# New ports collection makefile for: balsa2 +# Date created: 19 June 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD: ports/mail/balsa2/Makefile,v 1.91 2003/11/05 16:55:14 linimon Exp $ +# + +PORTNAME= balsa2 +PORTVERSION= 2.0.15 +PORTREVISION= 1 +CATEGORIES= mail gnome +MASTER_SITES= http://www.theochem.kth.se/~pawsa/balsa/ +DISTNAME= balsa-${PORTVERSION} + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A mail reader for the GNOME 2 desktop + +LIB_DEPENDS= aspell.15:${PORTSDIR}/textproc/aspell \ + pcre.0:${PORTSDIR}/devel/pcre \ + esmtp.6:${PORTSDIR}/mail/libesmtp \ + ltdl.4:${PORTSDIR}/devel/libltdl + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_PERL5= yes +USE_OPENSSL= yes +USE_GNOME= gnomeprefix gnomehack libgnomeui libgnomeprintui libgtkhtml +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_REINPLACE= yes +CONFIGURE_ARGS= --enable-threads \ + --enable-gtkhtml \ + --disable-more-warnings \ + --with-ssl +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ + LIBS="-L${LOCALBASE}/lib -liconv" + +MAN1= balsa.1 + +CONFLICTS= balsa-* + +.if defined(WITH_GPG) +LIB_DEPENDS+= gpgme.9:${PORTSDIR}/security/gpgme +CONFIGURE_ARGS+= --enable-gpgme +.endif + +.if !defined(WITHOUT_LDAP) +USE_OPENLDAP= yes +CONFIGURE_ARGS+= --with-ldap +.endif + +post-patch: + @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ + "s/-D.*_DISABLE_DEPRECATED//g" + +.include <bsd.port.mk> diff --git a/mail/balsa2/distinfo b/mail/balsa2/distinfo new file mode 100644 index 000000000..436499fdb --- /dev/null +++ b/mail/balsa2/distinfo @@ -0,0 +1 @@ +MD5 (balsa-2.0.15.tar.bz2) = dc00a4bd622c4a0c5d6b7dca397d4371 diff --git a/mail/balsa2/files/patch-configure b/mail/balsa2/files/patch-configure new file mode 100644 index 000000000..e9fad9bed --- /dev/null +++ b/mail/balsa2/files/patch-configure @@ -0,0 +1,77 @@ +--- configure.orig Mon Mar 24 23:43:20 2003 ++++ configure Wed Mar 26 17:00:43 2003 +@@ -9004,13 +9004,13 @@ + else + + +-echo "$as_me:$LINENO: checking for new_pspell_manager in -lpspell" >&5 +-echo $ECHO_N "checking for new_pspell_manager in -lpspell... $ECHO_C" >&6 +-if test "${ac_cv_lib_pspell_new_pspell_manager+set}" = set; then ++echo "$as_me:$LINENO: checking for new_aspell_speller in -lpspell" >&5 ++echo $ECHO_N "checking for new_aspell_speller in -lpspell... $ECHO_C" >&6 ++if test "${ac_cv_lib_pspell_new_aspell_speller+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lpspell -lstdc++ -lpspell-modules $LIBS" ++LIBS="-lpspell -lstdc++ $LIBS" + cat >conftest.$ac_ext <<_ACEOF + #line $LINENO "configure" + /* confdefs.h. */ +@@ -9025,11 +9025,11 @@ + #endif + /* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +-char new_pspell_manager (); ++char new_aspell_speller (); + int + main () + { +-new_pspell_manager (); ++new_aspell_speller (); + ; + return 0; + } +@@ -9046,19 +9046,19 @@ + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then +- ac_cv_lib_pspell_new_pspell_manager=yes ++ ac_cv_lib_pspell_new_aspell_speller=yes + else + echo "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + +-ac_cv_lib_pspell_new_pspell_manager=no ++ ac_cv_lib_pspell_new_aspell_speller=no + fi + rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:$LINENO: result: $ac_cv_lib_pspell_new_pspell_manager" >&5 +-echo "${ECHO_T}$ac_cv_lib_pspell_new_pspell_manager" >&6 +-if test $ac_cv_lib_pspell_new_pspell_manager = yes; then ++ echo "$as_me:$LINENO: result: $ac_cv_lib_pspell_new_aspell_speller" >&5 ++ echo "${ECHO_T}$ac_cv_lib_pspell_new_aspell_speller" >&6 ++ if test $ac_cv_lib_pspell_new_aspell_speller = yes; then + cat >>confdefs.h <<_ACEOF + #define HAVE_LIBPSPELL 1 + _ACEOF +@@ -10491,7 +10491,7 @@ + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lldap -llber -lresolv $LIBS" ++LIBS="-lldap -llber $LIBS" + cat >conftest.$ac_ext <<_ACEOF + #line $LINENO "configure" + /* confdefs.h. */ +@@ -10545,7 +10545,7 @@ + #define ENABLE_LDAP 1 + _ACEOF + +- LIBS="-lldap -llber -lresolv $LIBS" ++ LIBS="-lldap -llber $LIBS" + else + { { echo "$as_me:$LINENO: error: *** You enabled LDAP but ldap library is not found." >&5 + echo "$as_me: error: *** You enabled LDAP but ldap library is not found." >&2;} diff --git a/mail/balsa2/files/patch-doc_omf.make b/mail/balsa2/files/patch-doc_omf.make new file mode 100644 index 000000000..dcc67260e --- /dev/null +++ b/mail/balsa2/files/patch-doc_omf.make @@ -0,0 +1,11 @@ +--- doc/omf.make.orig Mon Sep 16 02:46:07 2002 ++++ doc/omf.make Mon Sep 16 02:46:37 2002 +@@ -27,7 +27,7 @@ + # + + omf_dest_dir=$(datadir)/omf/@PACKAGE@ +-scrollkeeper_localstate_dir = $(localstatedir)/scrollkeeper ++scrollkeeper_localstate_dir = /var/db/scrollkeeper + + omf: omf_timestamp + diff --git a/mail/balsa2/files/patch-doc_xmldocs.make b/mail/balsa2/files/patch-doc_xmldocs.make new file mode 100644 index 000000000..9379b0d60 --- /dev/null +++ b/mail/balsa2/files/patch-doc_xmldocs.make @@ -0,0 +1,11 @@ +--- doc/xmldocs.make.orig Wed Sep 18 07:12:20 2002 ++++ doc/xmldocs.make Tue Oct 29 12:20:37 2002 +@@ -36,7 +36,7 @@ + # ************* Begin of section some packagers may need to modify ************** + # This variable (docdir) specifies where the documents should be installed. + # This default value should work for most packages. +-docdir = $(datadir)/gnome/help/$(docname)/$(lang) ++docdir = $(datadir)/help/$(docname)/$(lang) + + # ************** You should not have to edit below this line ******************* + xml_files = $(entities) $(docname).xml diff --git a/mail/balsa2/files/patch-libmutt_configure b/mail/balsa2/files/patch-libmutt_configure new file mode 100644 index 000000000..273e87a18 --- /dev/null +++ b/mail/balsa2/files/patch-libmutt_configure @@ -0,0 +1,11 @@ +--- libmutt/configure.orig Wed Feb 19 03:57:44 2003 ++++ libmutt/configure Wed Feb 19 03:58:16 2003 +@@ -9873,7 +9873,7 @@ + echo "$as_me: error: SSL support is only for IMAP, but IMAP is not enabled" >&2;} + { (exit 1); exit 1; }; } + fi +- if pkg-config openssl >& /dev/null; then ++ if pkg-config openssl >/dev/null 2>&1; then + echo here + LDFLAGS="$LIBS `pkg-config --libs openssl`" + CPPFLAGS="`pkg-config --cflags-only-I openssl` $CPPFLAGS" diff --git a/mail/balsa2/files/patch-ltmain.sh b/mail/balsa2/files/patch-ltmain.sh new file mode 100644 index 000000000..8afc42e39 --- /dev/null +++ b/mail/balsa2/files/patch-ltmain.sh @@ -0,0 +1,51 @@ +--- ltmain.sh.orig Fri Apr 25 15:18:44 2003 ++++ ltmain.sh Sun May 11 02:27:13 2003 +@@ -1061,7 +1061,7 @@ + esac + elif test "X$arg" = "X-lc_r"; then + case $host in +- *-*-openbsd* | *-*-freebsd*) ++ *-*-openbsd* | *-*-freebsd4*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; +@@ -1071,8 +1071,16 @@ + continue + ;; + ++ -pthread) ++ compile_command="$compile_command -pthread" ++ finalize_command="$finalize_command -pthread" ++ compiler_flags="$compiler_flags -pthread" ++ continue ++ ;; ++ + -module) + module=yes ++ build_old_libs=no + continue + ;; + +@@ -2471,6 +2479,9 @@ + *-*-openbsd* | *-*-freebsd*) + # Do not include libc due to us having libc/libc_r. + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test $build_libtool_need_lc = "yes"; then +@@ -4280,10 +4291,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/mail/balsa2/files/patch-src_main.c b/mail/balsa2/files/patch-src_main.c new file mode 100644 index 000000000..867e938ad --- /dev/null +++ b/mail/balsa2/files/patch-src_main.c @@ -0,0 +1,11 @@ +--- src/main.c.orig Mon Sep 15 06:45:59 2003 ++++ src/main.c Thu Oct 2 01:50:21 2003 +@@ -150,7 +150,7 @@ + gnome_program_init(PACKAGE, VERSION, LIBGNOMEUI_MODULE, argc, argv, + GNOME_PARAM_POPT_TABLE, options, + GNOME_PARAM_APP_PREFIX, BALSA_STD_PREFIX, +- GNOME_PARAM_APP_DATADIR, BALSA_STD_PREFIX "/share", ++ GNOME_PARAM_APP_DATADIR, BALSA_STD_PREFIX "/share/gnome", + NULL); + } + diff --git a/mail/balsa2/files/patch-src_threads.h b/mail/balsa2/files/patch-src_threads.h new file mode 100644 index 000000000..62c60b878 --- /dev/null +++ b/mail/balsa2/files/patch-src_threads.h @@ -0,0 +1,12 @@ +--- src/threads.h.orig Tue Dec 31 14:06:47 2002 ++++ src/threads.h Tue Dec 31 14:07:32 2002 +@@ -21,6 +21,9 @@ + + #ifndef __THREADS_H__ + #define __THREADS_H__ ++ ++#include <pthread.h> ++ + /* FIXME: mailbox_lock is really an internal libbalsa mutex. */ + extern pthread_mutex_t mailbox_lock; + diff --git a/mail/balsa2/pkg-descr b/mail/balsa2/pkg-descr new file mode 100644 index 000000000..06d18a364 --- /dev/null +++ b/mail/balsa2/pkg-descr @@ -0,0 +1,12 @@ +A mail reader for GNOME 2. It supports local mail, pop3, and IMAP. It can +view mail files in mbox, maildir, and mh format. + +The pop3 support is not complete. All mail retrieved will be left on the +server, and hence retrieved again if not deleted through some other pop3 +client. Using fetchmail would be recommended to retrieve pop3 mail. + +Balsa is probably not fully usable as one's primary mail client at this +time. However, it is under active development and fits with other gnome +applications. + +WWW: http://balsa.gnome.org/ diff --git a/mail/balsa2/pkg-plist b/mail/balsa2/pkg-plist new file mode 100644 index 000000000..4bea60ecb --- /dev/null +++ b/mail/balsa2/pkg-plist @@ -0,0 +1,85 @@ +bin/balsa +bin/balsa-ab +etc/sound/events/balsa.soundlist +etc/sound/events/email.soundlist +share/gnome/applications/balsa.desktop +share/gnome/balsa/pixmaps/attachment.png +share/gnome/balsa/pixmaps/balsa-logo.png +share/gnome/balsa/pixmaps/balsa-top.png +share/gnome/balsa/pixmaps/balsa-watermark.png +share/gnome/balsa/pixmaps/balsa_icon.png +share/gnome/balsa/pixmaps/balsa_logo.png +share/gnome/help/balsa/C/balsa.xml +share/gnome/help/balsa/C/fdl-appendix.xml +share/gnome/help/balsa/C/figures/address-book-ldap.png +share/gnome/help/balsa/C/figures/address-book-modify.png +share/gnome/help/balsa/C/figures/address-book-start.png +share/gnome/help/balsa/C/figures/address-book-vcard.png +share/gnome/help/balsa/C/figures/address-book.png +share/gnome/help/balsa/C/figures/balsa_logo.png +share/gnome/help/balsa/C/figures/druid-start.png +share/gnome/help/balsa/C/figures/example-alias.png +share/gnome/help/balsa/C/figures/figuresdobaaddress-book-modify.png +share/gnome/help/balsa/C/figures/main-window-toolbar.png +share/gnome/help/balsa/C/figures/main-window.png +share/gnome/help/balsa/C/figures/newmsg-window-attachments.png +share/gnome/help/balsa/C/figures/newmsg-window-toolbar.png +share/gnome/help/balsa/C/figures/newmsg-window.png +share/gnome/help/balsa/C/figures/preferences-window.png +share/gnome/help/balsa/C/figures/spell-check.png +share/gnome/omf/balsa/balsa-C.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/balsa/balsa-C.omf 2>/dev/null || /usr/bin/true +share/gnome/pixmaps/gnome-balsa2.png +share/gnome/sounds/balsa/newmail.wav +share/gnome/sounds/balsa/startup.wav +share/locale/am/LC_MESSAGES/balsa.mo +share/locale/az/LC_MESSAGES/balsa.mo +share/locale/bg/LC_MESSAGES/balsa.mo +share/locale/ca/LC_MESSAGES/balsa.mo +share/locale/cs/LC_MESSAGES/balsa.mo +share/locale/da/LC_MESSAGES/balsa.mo +share/locale/de/LC_MESSAGES/balsa.mo +share/locale/el/LC_MESSAGES/balsa.mo +share/locale/en_GB/LC_MESSAGES/balsa.mo +share/locale/es/LC_MESSAGES/balsa.mo +share/locale/et/LC_MESSAGES/balsa.mo +share/locale/fi/LC_MESSAGES/balsa.mo +share/locale/fr/LC_MESSAGES/balsa.mo +share/locale/ga/LC_MESSAGES/balsa.mo +share/locale/he/LC_MESSAGES/balsa.mo +share/locale/hi/LC_MESSAGES/balsa.mo +share/locale/hu/LC_MESSAGES/balsa.mo +share/locale/it/LC_MESSAGES/balsa.mo +share/locale/ja/LC_MESSAGES/balsa.mo +share/locale/ko/LC_MESSAGES/balsa.mo +share/locale/lt/LC_MESSAGES/balsa.mo +share/locale/lv/LC_MESSAGES/balsa.mo +share/locale/ml/LC_MESSAGES/balsa.mo +share/locale/ms/LC_MESSAGES/balsa.mo +share/locale/nl/LC_MESSAGES/balsa.mo +share/locale/nn/LC_MESSAGES/balsa.mo +share/locale/no/LC_MESSAGES/balsa.mo +share/locale/pl/LC_MESSAGES/balsa.mo +share/locale/pt/LC_MESSAGES/balsa.mo +share/locale/pt_BR/LC_MESSAGES/balsa.mo +share/locale/ro/LC_MESSAGES/balsa.mo +share/locale/ru/LC_MESSAGES/balsa.mo +share/locale/sk/LC_MESSAGES/balsa.mo +share/locale/sl/LC_MESSAGES/balsa.mo +share/locale/sr/LC_MESSAGES/balsa.mo +share/locale/sr@Latn/LC_MESSAGES/balsa.mo +share/locale/sv/LC_MESSAGES/balsa.mo +share/locale/tr/LC_MESSAGES/balsa.mo +share/locale/vi/LC_MESSAGES/balsa.mo +share/locale/uk/LC_MESSAGES/balsa.mo +share/locale/wa/LC_MESSAGES/balsa.mo +share/locale/zh_CN/LC_MESSAGES/balsa.mo +share/locale/zh_TW/LC_MESSAGES/balsa.mo +@dirrm share/gnome/sounds/balsa +@dirrm share/gnome/omf/balsa +@dirrm share/gnome/help/balsa/C/figures +@dirrm share/gnome/help/balsa/C +@dirrm share/gnome/help/balsa +@dirrm share/gnome/balsa/pixmaps +@dirrm share/gnome/balsa +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/balsa/balsa-C.omf 2>/dev/null || /usr/bin/true |