Enable sidebar patch support, as provided by tonnerre@. This also fixes PR pkg/35917diff -r1.73 -r1.74 pkgsrc/mail/mutt-devel/Makefile
(tonio)
@@ -1,38 +1,38 @@ | @@ -1,38 +1,38 @@ | |||
1 | # $NetBSD: Makefile,v 1.73 2009/02/05 13:45:28 tonio Exp $ | 1 | # $NetBSD: Makefile,v 1.74 2009/04/12 08:25:43 tonio Exp $ | |
2 | 2 | |||
3 | DISTNAME= mutt-1.5.19 | 3 | DISTNAME= mutt-1.5.19 | |
4 | PKGREVISION= 2 | 4 | PKGREVISION= 2 | |
5 | CATEGORIES= mail | 5 | CATEGORIES= mail | |
6 | MUTT_SITES= ftp://ftp.mutt.org/mutt/ \ | 6 | MUTT_SITES= ftp://ftp.mutt.org/mutt/ \ | |
7 | ftp://ftp.stealth.net/pub/mirrors/ftp.mutt.org/pub/mutt/ \ | 7 | ftp://ftp.stealth.net/pub/mirrors/ftp.mutt.org/pub/mutt/ \ | |
8 | ftp://gd.tuwien.ac.at/infosys/mail/mutt/ \ | 8 | ftp://gd.tuwien.ac.at/infosys/mail/mutt/ \ | |
9 | ftp://ftp.fu-berlin.de/unix/mail/mutt/ | 9 | ftp://ftp.fu-berlin.de/unix/mail/mutt/ | |
10 | MASTER_SITES= ${MUTT_SITES:=devel/} | 10 | MASTER_SITES= ${MUTT_SITES:=devel/} | |
11 | 11 | |||
12 | MAINTAINER= tonio@NetBSD.org | 12 | MAINTAINER= tonio@NetBSD.org | |
13 | HOMEPAGE= http://www.mutt.org/ | 13 | HOMEPAGE= http://www.mutt.org/ | |
14 | COMMENT= Text-based MIME mail client with PGP & S/MIME support | 14 | COMMENT= Text-based MIME mail client with PGP & S/MIME support | |
15 | 15 | |||
16 | PKG_INSTALLATION_TYPES= overwrite pkgviews | 16 | PKG_INSTALLATION_TYPES= overwrite pkgviews | |
17 | PKG_DESTDIR_SUPPORT= user-destdir | 17 | PKG_DESTDIR_SUPPORT= user-destdir | |
18 | 18 | |||
19 | .include "../../mk/bsd.prefs.mk" | 19 | .include "../../mk/bsd.prefs.mk" | |
20 | 20 | |||
21 | USE_PKGLOCALEDIR= yes | 21 | USE_PKGLOCALEDIR= yes | |
22 | USE_TOOLS+= msgfmt | 22 | USE_TOOLS+= msgfmt | |
23 | 23 | |||
24 | GNU_CONFIGURE= yes | 24 | GNU_CONFIGURE= yes | |
25 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} \ | 25 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} \ | |
26 | --with-docdir=${PREFIX}/share/doc/mutt \ | 26 | --with-docdir=${PREFIX}/share/doc/mutt \ | |
27 | --without-included-gettext \ | 27 | --without-included-gettext \ | |
28 | --enable-external-dotlock \ | 28 | --enable-external-dotlock \ | |
29 | --enable-pop \ | 29 | --enable-pop \ | |
30 | --enable-imap | 30 | --enable-imap | |
31 | 31 | |||
32 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" | 32 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" | |
33 | # Force sendmail to /usr/sbin to avoid postfix's | 33 | # Force sendmail to /usr/sbin to avoid postfix's | |
34 | # ${LOCALBASE}/sbin/sendmail. Should be enabled on all platforms which | 34 | # ${LOCALBASE}/sbin/sendmail. Should be enabled on all platforms which | |
35 | # support mailwrapper. | 35 | # support mailwrapper. | |
36 | CONFIGURE_ENV+= SENDMAIL=/usr/sbin/sendmail | 36 | CONFIGURE_ENV+= SENDMAIL=/usr/sbin/sendmail | |
37 | .endif | 37 | .endif | |
38 | 38 | |||
@@ -51,22 +51,22 @@ CONFIGURE_ARGS+= --with-exec-shell=/bin/ | @@ -51,22 +51,22 @@ CONFIGURE_ARGS+= --with-exec-shell=/bin/ | |||
51 | 51 | |||
52 | LDFLAGS+= ${_STRIPFLAG_CC} | 52 | LDFLAGS+= ${_STRIPFLAG_CC} | |
53 | 53 | |||
54 | DOCDIR= ${PREFIX}/share/doc/mutt | 54 | DOCDIR= ${PREFIX}/share/doc/mutt | |
55 | EGDIR= ${PREFIX}/share/examples/mutt | 55 | EGDIR= ${PREFIX}/share/examples/mutt | |
56 | CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc | 56 | CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc | |
57 | CONF_FILES+= ${EGDIR}/mime.types ${PKG_SYSCONFDIR}/mime.types | 57 | CONF_FILES+= ${EGDIR}/mime.types ${PKG_SYSCONFDIR}/mime.types | |
58 | FILES_SUBST+= DOCDIR=${DOCDIR} | 58 | FILES_SUBST+= DOCDIR=${DOCDIR} | |
59 | INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR} | 59 | INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR} | |
60 | 60 | |||
61 | SUBST_CLASSES+= paths | 61 | SUBST_CLASSES+= paths | |
62 | SUBST_FILES.paths= doc/Muttrc | 62 | SUBST_FILES.paths= doc/Muttrc | |
63 | SUBST_VARS.paths+= DOCDIR PREFIX | 63 | SUBST_VARS.paths+= DOCDIR PREFIX | |
64 | SUBST_STAGE.paths+= pre-configure | 64 | SUBST_STAGE.paths= pre-configure | |
65 | 65 | |||
66 | SPECIAL_PERMS+= bin/mutt_dotlock ${REAL_ROOT_USER} mail 2551 | 66 | SPECIAL_PERMS+= bin/mutt_dotlock ${REAL_ROOT_USER} mail 2551 | |
67 | INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR} | 67 | INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR} | |
68 | 68 | |||
69 | .include "../../converters/libiconv/buildlink3.mk" | 69 | .include "../../converters/libiconv/buildlink3.mk" | |
70 | .include "../../devel/gettext-lib/buildlink3.mk" | 70 | .include "../../devel/gettext-lib/buildlink3.mk" | |
71 | 71 | |||
72 | .include "../../mk/bsd.pkg.mk" | 72 | .include "../../mk/bsd.pkg.mk" |
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.19 2009/01/27 19:50:33 tonio Exp $ | 1 | @comment $NetBSD: PLIST,v 1.20 2009/04/12 08:25:43 tonio Exp $ | |
2 | bin/flea | 2 | bin/flea | |
3 | bin/mutt | 3 | bin/mutt | |
4 | bin/muttbug | |||
5 | bin/mutt_dotlock | 4 | bin/mutt_dotlock | |
5 | bin/muttbug | |||
6 | bin/pgpewrap | 6 | bin/pgpewrap | |
7 | bin/pgpring | 7 | bin/pgpring | |
8 | ${PLIST.smime}bin/smime_keys | 8 | ${PLIST.smime}bin/smime_keys | |
9 | man/man1/flea.1 | 9 | man/man1/flea.1 | |
10 | man/man1/mutt.1 | 10 | man/man1/mutt.1 | |
11 | man/man1/mutt_dotlock.1 | 11 | man/man1/mutt_dotlock.1 | |
12 | man/man1/muttbug.1 | 12 | man/man1/muttbug.1 | |
13 | man/man5/mutt-mbox.5 | 13 | man/man5/mutt-mbox.5 | |
14 | man/man5/mutt-mmdf.5 | 14 | man/man5/mutt-mmdf.5 | |
15 | man/man5/muttrc.5 | 15 | man/man5/muttrc.5 | |
16 | share/doc/mutt/COPYRIGHT | 16 | share/doc/mutt/COPYRIGHT | |
17 | share/doc/mutt/ChangeLog | 17 | share/doc/mutt/ChangeLog | |
18 | share/doc/mutt/GPL | 18 | share/doc/mutt/GPL |
@@ -1,18 +1,21 @@ | @@ -1,18 +1,21 @@ | |||
1 | $NetBSD: distinfo,v 1.56 2009/03/23 00:24:31 joerg Exp $ | 1 | $NetBSD: distinfo,v 1.57 2009/04/12 08:25:43 tonio Exp $ | |
2 | 2 | |||
3 | SHA1 (mutt-1.5.19.tar.gz) = 96e4cc1e1419ba816fcc19d77255978e62c20793 | 3 | SHA1 (mutt-1.5.19.tar.gz) = 96e4cc1e1419ba816fcc19d77255978e62c20793 | |
4 | RMD160 (mutt-1.5.19.tar.gz) = dcb8d027593bfccd62eb7aba338007bce3c7e22e | 4 | RMD160 (mutt-1.5.19.tar.gz) = dcb8d027593bfccd62eb7aba338007bce3c7e22e | |
5 | Size (mutt-1.5.19.tar.gz) = 3558746 bytes | 5 | Size (mutt-1.5.19.tar.gz) = 3558746 bytes | |
6 | SHA1 (patch-1.5.19.rr.compressed.1.gz) = c639230a5fdac96d5a4e735e320af66e4bde688a | 6 | SHA1 (patch-1.5.19.rr.compressed.1.gz) = c639230a5fdac96d5a4e735e320af66e4bde688a | |
7 | RMD160 (patch-1.5.19.rr.compressed.1.gz) = b8eb5201fde7511377e5588953c071d0b7e30c8d | 7 | RMD160 (patch-1.5.19.rr.compressed.1.gz) = b8eb5201fde7511377e5588953c071d0b7e30c8d | |
8 | Size (patch-1.5.19.rr.compressed.1.gz) = 10562 bytes | 8 | Size (patch-1.5.19.rr.compressed.1.gz) = 10562 bytes | |
9 | SHA1 (patch-1.5.19.sidebar.20090308.txt) = c16533176fce2b48d27cd587b63caa379258e740 | |||
10 | RMD160 (patch-1.5.19.sidebar.20090308.txt) = 076272ffcb70f118c1d8850c430f3d74f43ad23b | |||
11 | Size (patch-1.5.19.sidebar.20090308.txt) = 51936 bytes | |||
9 | SHA1 (patch-aa) = 59d89dce24110be2927c8a1ea1fa5b780d644372 | 12 | SHA1 (patch-aa) = 59d89dce24110be2927c8a1ea1fa5b780d644372 | |
10 | SHA1 (patch-ab) = 39a3cbe6e1738e036cb679a22c7385ed5ac401eb | 13 | SHA1 (patch-ab) = 39a3cbe6e1738e036cb679a22c7385ed5ac401eb | |
11 | SHA1 (patch-ad) = ecfa994c7c5e494b6eb7356327b96de6559146fc | 14 | SHA1 (patch-ad) = ecfa994c7c5e494b6eb7356327b96de6559146fc | |
12 | SHA1 (patch-ag) = 2b76839be18271a72cb9e407f54879736f2a7ad6 | 15 | SHA1 (patch-ag) = 2b76839be18271a72cb9e407f54879736f2a7ad6 | |
13 | SHA1 (patch-al) = ac8d963286d9edee73ee00bdb8f4ffcd65c6cd5d | 16 | SHA1 (patch-al) = ac8d963286d9edee73ee00bdb8f4ffcd65c6cd5d | |
14 | SHA1 (patch-am) = f7f20860bccb63ed5464e3a1225719ffc3fa504f | 17 | SHA1 (patch-am) = f7f20860bccb63ed5464e3a1225719ffc3fa504f | |
15 | SHA1 (patch-an) = 96eb3aeea3f567b4835eac5d799355f62ad5a455 | 18 | SHA1 (patch-an) = 96eb3aeea3f567b4835eac5d799355f62ad5a455 | |
16 | SHA1 (patch-ao) = a5dddb01d30f28337ca825c6461139c2d9f288d5 | 19 | SHA1 (patch-ao) = a5dddb01d30f28337ca825c6461139c2d9f288d5 | |
17 | SHA1 (patch-ap) = c6f79d5c4e19efdc15e9d5a59934da52b16b7a62 | 20 | SHA1 (patch-ap) = c6f79d5c4e19efdc15e9d5a59934da52b16b7a62 | |
18 | SHA1 (patch-aq) = d327ac440e65516515ddc1646b849b27af61e864 | 21 | SHA1 (patch-aq) = d327ac440e65516515ddc1646b849b27af61e864 |
@@ -1,24 +1,25 @@ | @@ -1,24 +1,25 @@ | |||
1 | # $NetBSD: options.mk,v 1.34 2009/03/23 00:24:31 joerg Exp $ | 1 | # $NetBSD: options.mk,v 1.35 2009/04/12 08:25:43 tonio Exp $ | |
2 | 2 | |||
3 | # Global and legacy options | 3 | # Global and legacy options | |
4 | 4 | |||
5 | PKG_OPTIONS_VAR= PKG_OPTIONS.mutt | 5 | PKG_OPTIONS_VAR= PKG_OPTIONS.mutt | |
6 | PKG_OPTIONS_REQUIRED_GROUPS= display | 6 | PKG_OPTIONS_REQUIRED_GROUPS= display | |
7 | PKG_OPTIONS_GROUP.display= slang ncurses ncursesw curses | 7 | PKG_OPTIONS_GROUP.display= slang ncurses ncursesw curses | |
8 | PKG_SUPPORTED_OPTIONS= debug gpgme idn ssl smime sasl | 8 | PKG_SUPPORTED_OPTIONS= debug gpgme idn ssl smime sasl | |
9 | PKG_SUPPORTED_OPTIONS+= mutt-hcache mutt-smtp | 9 | PKG_SUPPORTED_OPTIONS+= mutt-hcache mutt-smtp | |
10 | # Comment the following line out on updates. | 10 | # Comment the following line out on updates. | |
11 | PKG_SUPPORTED_OPTIONS+= mutt-compressed-mbox | 11 | PKG_SUPPORTED_OPTIONS+= mutt-compressed-mbox | |
12 | PKG_SUPPORTED_OPTIONS+= mutt-sidebar | |||
12 | #PKG_SUPPORTED_OPTIONS+= mutt-xlabel | 13 | #PKG_SUPPORTED_OPTIONS+= mutt-xlabel | |
13 | PKG_SUGGESTED_OPTIONS= ssl smime curses | 14 | PKG_SUGGESTED_OPTIONS= ssl smime curses | |
14 | 15 | |||
15 | .include "../../mk/bsd.options.mk" | 16 | .include "../../mk/bsd.options.mk" | |
16 | 17 | |||
17 | ### | 18 | ### | |
18 | ### Slang | 19 | ### Slang | |
19 | ### | 20 | ### | |
20 | .if !empty(PKG_OPTIONS:Mslang) | 21 | .if !empty(PKG_OPTIONS:Mslang) | |
21 | . include "../../devel/libslang/buildlink3.mk" | 22 | . include "../../devel/libslang/buildlink3.mk" | |
22 | CONFIGURE_ARGS+= --with-slang=${BUILDLINK_PREFIX.libslang} | 23 | CONFIGURE_ARGS+= --with-slang=${BUILDLINK_PREFIX.libslang} | |
23 | .endif | 24 | .endif | |
24 | 25 | |||
@@ -110,26 +111,36 @@ PATCH_DIST_STRIP= -p1 | @@ -110,26 +111,36 @@ PATCH_DIST_STRIP= -p1 | |||
110 | CONFIGURE_ARGS+= --enable-compressed | 111 | CONFIGURE_ARGS+= --enable-compressed | |
111 | .endif | 112 | .endif | |
112 | 113 | |||
113 | ### | 114 | ### | |
114 | ### Internal SMTP relay support | 115 | ### Internal SMTP relay support | |
115 | ### | 116 | ### | |
116 | .if !empty(PKG_OPTIONS:Mmutt-smtp) | 117 | .if !empty(PKG_OPTIONS:Mmutt-smtp) | |
117 | CONFIGURE_ARGS+= --enable-smtp | 118 | CONFIGURE_ARGS+= --enable-smtp | |
118 | .else | 119 | .else | |
119 | CONFIGURE_ARGS+= --disable-smtp | 120 | CONFIGURE_ARGS+= --disable-smtp | |
120 | .endif | 121 | .endif | |
121 | 122 | |||
122 | ### | 123 | ### | |
124 | ### Sidebar support | |||
125 | ### | |||
126 | .if !empty(PKG_OPTIONS:Mmutt-sidebar) | |||
127 | PATCH_SITES= http://lunar-linux.org/~tchan/mutt/ | |||
128 | PATCHFILES+= patch-1.5.19.sidebar.20090308.txt | |||
129 | PATCH_DIST_STRIP= -p1 | |||
130 | PATCH_FUZZ_FACTOR= -F1 | |||
131 | .endif | |||
132 | ||||
133 | ### | |||
123 | ### X-Label header support | 134 | ### X-Label header support | |
124 | ### | 135 | ### | |
125 | .if !empty(PKG_OPTIONS:Mmutt-xlabel) | 136 | .if !empty(PKG_OPTIONS:Mmutt-xlabel) | |
126 | PATCH_SITES= http://home.uchicago.edu/~dgc/sw/mutt/ | 137 | PATCH_SITES= http://home.uchicago.edu/~dgc/sw/mutt/ | |
127 | PATCHFILES+= patch-1.5.14.dgc.xlabel_ext.9 | 138 | PATCHFILES+= patch-1.5.14.dgc.xlabel_ext.9 | |
128 | PATCH_DIST_STRIP= -p1 | 139 | PATCH_DIST_STRIP= -p1 | |
129 | .endif | 140 | .endif | |
130 | 141 | |||
131 | ### | 142 | ### | |
132 | ### Internationalized Domain Names | 143 | ### Internationalized Domain Names | |
133 | ### | 144 | ### | |
134 | .if !empty(PKG_OPTIONS:Midn) | 145 | .if !empty(PKG_OPTIONS:Midn) | |
135 | . include "../../devel/libidn/buildlink3.mk" | 146 | . include "../../devel/libidn/buildlink3.mk" |