| @@ -1,78 +1,78 @@ | | | @@ -1,78 +1,78 @@ |
1 | # $NetBSD: Makefile,v 1.246 2021/06/13 07:55:28 tron Exp $ | | 1 | # $NetBSD: Makefile,v 1.247 2021/07/12 22:49:36 tron Exp $ |
2 | | | 2 | |
3 | DISTNAME= mutt-2.1.0 | | 3 | DISTNAME= mutt-2.1.1 |
4 | CATEGORIES= mail | | 4 | CATEGORIES= mail |
5 | MASTER_SITES= http://ftp.mutt.org/pub/mutt/ | | 5 | MASTER_SITES= http://ftp.mutt.org/pub/mutt/ |
6 | | | 6 | |
7 | MAINTAINER= tonio@NetBSD.org | | 7 | MAINTAINER= tonio@NetBSD.org |
8 | HOMEPAGE= http://www.mutt.org/ | | 8 | HOMEPAGE= http://www.mutt.org/ |
9 | COMMENT= Text-based MIME mail client with PGP & S/MIME support | | 9 | COMMENT= Text-based MIME mail client with PGP & S/MIME support |
10 | LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # or newer | | 10 | LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # or newer |
11 | | | 11 | |
12 | DEPENDS+= mime-types-[0-9]*:../../misc/mime-types | | 12 | DEPENDS+= mime-types-[0-9]*:../../misc/mime-types |
13 | | | 13 | |
14 | BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl | | 14 | BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl |
15 | BUILD_DEPENDS+= lynx-[0-9]*:../../www/lynx | | 15 | BUILD_DEPENDS+= lynx-[0-9]*:../../www/lynx |
16 | | | 16 | |
17 | .include "../../mk/bsd.prefs.mk" | | 17 | .include "../../mk/bsd.prefs.mk" |
18 | | | 18 | |
19 | USE_PKGLOCALEDIR= yes | | 19 | USE_PKGLOCALEDIR= yes |
20 | USE_TOOLS+= gmake msgfmt perl | | 20 | USE_TOOLS+= gmake msgfmt perl |
21 | GNU_CONFIGURE= yes | | 21 | GNU_CONFIGURE= yes |
22 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | | 22 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} |
23 | CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/mutt | | 23 | CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/mutt |
24 | CONFIGURE_ARGS+= --without-included-gettext | | 24 | CONFIGURE_ARGS+= --without-included-gettext |
25 | CONFIGURE_ARGS+= --enable-external-dotlock | | 25 | CONFIGURE_ARGS+= --enable-external-dotlock |
26 | CONFIGURE_ARGS+= --enable-pop | | 26 | CONFIGURE_ARGS+= --enable-pop |
27 | CONFIGURE_ARGS+= --enable-imap | | 27 | CONFIGURE_ARGS+= --enable-imap |
28 | CONFIGURE_ARGS.SunOS+= --disable-filemonitor | | 28 | CONFIGURE_ARGS.SunOS+= --disable-filemonitor |
29 | INFO_FILES= yes | | 29 | INFO_FILES= yes |
30 | | | 30 | |
31 | PYTHON_FOR_BUILD_ONLY= tool | | 31 | PYTHON_FOR_BUILD_ONLY= tool |
32 | REPLACE_PYTHON+= contrib/markdown2html | | 32 | REPLACE_PYTHON+= contrib/markdown2html |
33 | | | 33 | |
34 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" | | 34 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" |
35 | # Force sendmail to /usr/sbin to avoid postfix's | | 35 | # Force sendmail to /usr/sbin to avoid postfix's |
36 | # ${LOCALBASE}/sbin/sendmail. Should be enabled on all platforms which | | 36 | # ${LOCALBASE}/sbin/sendmail. Should be enabled on all platforms which |
37 | # support mailwrapper. | | 37 | # support mailwrapper. |
38 | CONFIGURE_ENV+= SENDMAIL=/usr/sbin/sendmail | | 38 | CONFIGURE_ENV+= SENDMAIL=/usr/sbin/sendmail |
39 | .endif | | 39 | .endif |
40 | | | 40 | |
41 | CONFIGURE_ARGS.SunOS+= --without-wc-funcs | | 41 | CONFIGURE_ARGS.SunOS+= --without-wc-funcs |
42 | | | 42 | |
43 | .include "options.mk" | | 43 | .include "options.mk" |
44 | | | 44 | |
45 | LDFLAGS+= ${_STRIPFLAG_CC} | | 45 | LDFLAGS+= ${_STRIPFLAG_CC} |
46 | | | 46 | |
47 | DOCDIR= ${PREFIX}/share/doc/mutt | | 47 | DOCDIR= ${PREFIX}/share/doc/mutt |
48 | EGDIR= ${PREFIX}/share/examples/mutt | | 48 | EGDIR= ${PREFIX}/share/examples/mutt |
49 | CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc | | 49 | CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc |
50 | FILES_SUBST+= DOCDIR=${DOCDIR} | | 50 | FILES_SUBST+= DOCDIR=${DOCDIR} |
51 | INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR} | | 51 | INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR} |
52 | | | 52 | |
53 | SUBST_CLASSES+= paths | | 53 | SUBST_CLASSES+= paths |
54 | SUBST_FILES.paths+= contrib/sample.muttrc | | 54 | SUBST_FILES.paths+= contrib/sample.muttrc |
55 | SUBST_FILES.paths+= contrib/sample.muttrc-starter | | 55 | SUBST_FILES.paths+= contrib/sample.muttrc-starter |
56 | SUBST_FILES.paths+= doc/configuration.html | | 56 | SUBST_FILES.paths+= doc/configuration.html |
57 | SUBST_FILES.paths+= doc/gettingstarted.html | | 57 | SUBST_FILES.paths+= doc/gettingstarted.html |
58 | SUBST_FILES.paths+= doc/instdoc.sh.in | | 58 | SUBST_FILES.paths+= doc/instdoc.sh.in |
59 | SUBST_FILES.paths+= doc/manual.html | | 59 | SUBST_FILES.paths+= doc/manual.html |
60 | SUBST_FILES.paths+= doc/manual.xml.head | | 60 | SUBST_FILES.paths+= doc/manual.xml.head |
61 | SUBST_FILES.paths+= doc/mimesupport.html | | 61 | SUBST_FILES.paths+= doc/mimesupport.html |
62 | SUBST_FILES.paths+= doc/mutt.info | | 62 | SUBST_FILES.paths+= doc/mutt.info |
63 | SUBST_FILES.paths+= doc/mutt.texi | | 63 | SUBST_FILES.paths+= doc/mutt.texi |
64 | SUBST_FILES.paths+= doc/muttrc.man | | 64 | SUBST_FILES.paths+= doc/muttrc.man |
65 | SUBST_FILES.paths+= doc/reference.html | | 65 | SUBST_FILES.paths+= doc/reference.html |
66 | SUBST_SED.paths+= -e "s,/usr/local,${PREFIX},g" | | 66 | SUBST_SED.paths+= -e "s,/usr/local,${PREFIX},g" |
67 | SUBST_STAGE.paths= pre-configure | | 67 | SUBST_STAGE.paths= pre-configure |
68 | | | 68 | |
69 | SPECIAL_PERMS+= bin/mutt_dotlock ${REAL_ROOT_USER} mail 2551 | | 69 | SPECIAL_PERMS+= bin/mutt_dotlock ${REAL_ROOT_USER} mail 2551 |
70 | INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR} | | 70 | INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR} |
71 | | | 71 | |
72 | .include "../../devel/zlib/buildlink3.mk" | | 72 | .include "../../devel/zlib/buildlink3.mk" |
73 | .include "../../converters/libiconv/buildlink3.mk" | | 73 | .include "../../converters/libiconv/buildlink3.mk" |
74 | .include "../../devel/gettext-lib/buildlink3.mk" | | 74 | .include "../../devel/gettext-lib/buildlink3.mk" |
75 | .include "../../textproc/libxslt/xsltproc-nonet.mk" | | 75 | .include "../../textproc/libxslt/xsltproc-nonet.mk" |
76 | .include "../../lang/python/application.mk" | | 76 | .include "../../lang/python/application.mk" |
77 | | | 77 | |
78 | .include "../../mk/bsd.pkg.mk" | | 78 | .include "../../mk/bsd.pkg.mk" |