mutt/ 40775 1750 144 0 7270050047 11372 5ustar hiramatsuusersmutt/Makefile100644 1750 144 3604 7270050042 13123 0ustar hiramatsuusers# $NetBSD$ # FreeBSD Id: ports/japanese/mutt/Makefile,v 1.14 2001/03/09 20:12:02 sf Exp DISTNAME= mutt-${VERSION}i PKGNAME= mutt-${VERSION}.j${JP_VERSION} CATEGORIES= japanese mail MASTER_SITES= ftp://ftp.mutt.org/pub/mutt/ \ http://ha4.seikyou.ne.jp/home/Kohtaro.Hitomi/mutt/ \ http://www5.xdsl.ne.jp/~shuna/distfiles/mutt/ \ ftp://ftp.gbnet.net/pub/mutt-international/ \ ftp://ftp.guug.de/pub/mutt/ \ ftp://ftp.guug.de/pub/mutt/historic/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ manual_ja-${VERSION:R}i-2${EXTRACT_SUFX} PATCH_SITES= http://www.geocities.co.jp/SiliconValley-PaloAlto/2594/ \ http://www5.xdsl.ne.jp/~shuna/distfiles/mutt/ PATCHFILES= ${DISTNAME}-jp${JP_VERSION}-diff.gz PATCH_DIST_STRIP= -p1 MAINTAINER= tech-pkg-ja@jp.netbsd.org HOMEPAGE= http://www.emaillab.org/mutt/ COMMENT= Text-based mail client (Japanised Version) DEPENDS+= autoconf-2.13:../../devel/autoconf DEPENDS+= libslang-*:../../japanese/libslang DEPENDS+= urlview:../../textproc/urlview CONFLICTS= mutt-* VERSION= 1.2.5 JP_VERSION= 2 DIST_SUBDIR= mutt USE_LIBINTL= yes USE_GMAKE= yes GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/mutt-${VERSION} MAKE_ENV+= CPPFLAGS=-I${LOCALBASE}/include LIBS=-lintl CONFIGURE_ARGS= --with-exec-shell=/bin/ksh \ --with-slang --enable-locales-fix \ --sysconfdir=${PREFIX}/etc \ --with-docdir=${PREFIX}/share/doc/mutt \ --enable-pop --enable-imap \ --without-included-gettext post-install: ${INSTALL_DATA} ${WRKDIR}/manual_ja.txt ${PREFIX}/share/doc/mutt ${INSTALL_DATA} ${WRKDIR}/manual_ja.tex ${PREFIX}/share/doc/mutt ${INSTALL_DATA} ${WRKDIR}/manual_ja.html ${PREFIX}/share/doc/mutt ${INSTALL_DATA} ${WRKDIR}/manual_ja.sgml ${PREFIX}/share/doc/mutt MUTT_USE_SSL?= YES .if defined(MUTT_USE_SSL) && ${MUTT_USE_SSL} == "YES" USE_SSL= yes CONFIGURE_ARGS+= --with-ssl=${SSLBALE} .else CONFIGURE_ARGS+= --without-ssl .endif BUILD_DEFS+= MUTT_USE_SSL .include "../../mk/bsd.pkg.mk" mutt/patches/ 40775 1750 144 0 7263616652 13035 5ustar hiramatsuusersmutt/patches/patch-ad100664 1750 144 554 7263616652 14522 0ustar hiramatsuusers$NetBSD$ --- Makefile.am.orig Sat Jul 29 20:11:33 2000 +++ Makefile.am Sat Jul 29 20:15:54 2000 @@ -122,7 +122,6 @@ fi install-data-local: Muttrc - $(srcdir)/mkinstalldirs $(DESTDIR)$(sharedir) $(srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir) -if [ -f $(DESTDIR)$(sharedir)/Muttrc ] ; then \ mv $(DESTDIR)$(sharedir)/Muttrc $(DESTDIR)$(sysconfdir) ; \ mutt/patches/patch-ae100664 1750 144 2570 7263616652 14543 0ustar hiramatsuusers$NetBSD$ --- khenkan.c.orig Tue Aug 1 02:28:27 2000 +++ khenkan.c Tue Aug 1 03:13:51 2000 @@ -1045,6 +1045,7 @@ { char *p = (char *)s, ch, *beg, *end=NULL, *to_ascii=NULL, *to_kanji=NULL; int len = 0, count, beg_kanji, end_kanji=0; + char *enc_end = NULL, *prev_brk = NULL; /* check if buffer 'd' has a enough length */ if (dmax - d < strlen((char *)s) * 4 / 3) return (-1); @@ -1064,11 +1065,23 @@ if (d == dmax) return (-1); if (len > 75) { /* line break(in text) */ - p = beg; /* search previous word's end */ - while(beg > (char *)s && *beg != ' ') beg--; - while(beg > (char *)s && *beg == ' ') beg--; + if (enc_end == NULL) { + enc_end = s; + } + while(beg >= enc_end && *beg != ' ') beg--; + while(beg >= enc_end && *beg == ' ') beg--; ++beg; - d -= p - beg + 1; + if (prev_brk != NULL && beg <= prev_brk) { + beg = p; + while(beg > prev_brk && isalnum(*beg)) beg--; + } + if (prev_brk == NULL || beg > prev_brk) { + d -= p - beg; + p = beg; + prev_brk = beg; + } else { + prev_brk = p; + } *d++ = '\n'; *d++ = ' '; len = 0; @@ -1181,6 +1194,7 @@ new_d = encode_base64(d, jtmp_str, jtmp_str + count); len += new_d - d; d = new_d; + enc_end = p; beg_kanji = end_kanji; beg = p; mutt/distinfo100664 1750 144 774 7270021453 13220 0ustar hiramatsuusers$NetBSD$ SHA1 (mutt/mutt-1.2.5i.tar.gz) = a8eceff4693120da1d39f042f04668caa34deaa9 Size (mutt/mutt-1.2.5i.tar.gz) = 1973923 bytes SHA1 (mutt/manual_ja-1.2i-2.tar.gz) = 7b5ea8ccc880e4eec0a6ea0a11ec37d2f3d93b2d Size (mutt/manual_ja-1.2i-2.tar.gz) = 262667 bytes SHA1 (mutt/mutt-1.2.5i-jp2-diff.gz) = a0d33b3c60476bf5404546f5448917f27763d19e Size (mutt/mutt-1.2.5i-jp2-diff.gz) = 52602 bytes SHA1 (patch-ad) = 495b16258cc059e2cf633d0198cb9bd78bfe3869 SHA1 (patch-ae) = 1c740d1644bc9a2660531b1cdc816143d74aa237 mutt/pkg/ 40775 1750 144 0 7270021533 12151 5ustar hiramatsuusersmutt/pkg/DESCR100644 1750 144 573 6764546267 13043 0ustar hiramatsuusersMutt is a small but very powerful text-based MIME mail client. Mutt is highly configurable, and is well suited to the mail power user with advanced features like key bindings, keyboard macros, mail threading, regular expression searches and a powerful pattern matching language for selecting groups of messages. WWW: http://www.mutt.org/ - IWASHITA Yoji shuna@pop16.odn.ne.jp mutt/pkg/PLIST100664 1750 144 3676 7267266131 13113 0ustar hiramatsuusers@comment $NetBSD$ bin/mutt bin/muttbug bin/pgpewrap bin/pgpring etc/Muttrc etc/mime.types share/doc/mutt/html/manual-1.html share/doc/mutt/html/manual-2.html share/doc/mutt/html/manual-3.html share/doc/mutt/html/manual-4.html share/doc/mutt/html/manual-5.html share/doc/mutt/html/manual-6.html share/doc/mutt/html/manual-7.html share/doc/mutt/html/manual.html @dirrm share/doc/mutt/html share/doc/mutt/samples/Mush.rc share/doc/mutt/samples/Pine.rc share/doc/mutt/samples/Tin.rc share/doc/mutt/samples/gpg.rc share/doc/mutt/samples/pgp2.rc share/doc/mutt/samples/pgp5.rc share/doc/mutt/samples/pgp6.rc share/doc/mutt/samples/sample.mailcap share/doc/mutt/samples/sample.muttrc share/doc/mutt/samples/sample.muttrc-tlr @dirrm share/doc/mutt/samples share/doc/mutt/COPYRIGHT share/doc/mutt/ChangeLog share/doc/mutt/GPL share/doc/mutt/INSTALL share/doc/mutt/NEWS share/doc/mutt/PGP-Notes.txt share/doc/mutt/README share/doc/mutt/README.SECURITY share/doc/mutt/README.SSL share/doc/mutt/README.UPGRADE share/doc/mutt/TODO share/doc/mutt/applying-patches.txt share/doc/mutt/devel-notes.txt share/doc/mutt/manual.txt share/doc/mutt/manual_ja.html share/doc/mutt/manual_ja.sgml share/doc/mutt/manual_ja.tex share/doc/mutt/manual_ja.txt @dirrm share/doc/mutt share/locale/cs/LC_MESSAGES/mutt.mo share/locale/da/LC_MESSAGES/mutt.mo share/locale/de/LC_MESSAGES/mutt.mo share/locale/el/LC_MESSAGES/mutt.mo share/locale/eo/LC_MESSAGES/mutt.mo share/locale/es/LC_MESSAGES/mutt.mo share/locale/fr/LC_MESSAGES/mutt.mo share/locale/gl/LC_MESSAGES/mutt.mo share/locale/id/LC_MESSAGES/mutt.mo share/locale/it/LC_MESSAGES/mutt.mo share/locale/ja/LC_MESSAGES/mutt.mo share/locale/ko/LC_MESSAGES/mutt.mo share/locale/nl/LC_MESSAGES/mutt.mo share/locale/pl/LC_MESSAGES/mutt.mo share/locale/pt_BR/LC_MESSAGES/mutt.mo share/locale/ru/LC_MESSAGES/mutt.mo share/locale/sk/LC_MESSAGES/mutt.mo share/locale/sv/LC_MESSAGES/mutt.mo share/locale/uk/LC_MESSAGES/mutt.mo share/locale/zh_TW.Big5/LC_MESSAGES/mutt.mo