pkgsrc/mail/mutt/Makefile

86 lines
2.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.114 2004/03/01 12:13:44 tron Exp $
DISTNAME= mutt-1.4.2i
PKGNAME= ${DISTNAME:C/i$//}
CATEGORIES= mail
MASTER_SITES= ftp://ftp.mutt.org/mutt/ \
Update "mutt" package to version 1.4. Visible changes since version 1.2.5.1 include: - Better mh support: Mutt now supports .mh_sequences files. Currently, the "unseen", "flagged", and "replied" sequences are used to store mutt flags (the names are configurable using the $mh_seq_unseen, $mh_seq_flagged, and $mh_seq_replied configuration variables). As a side effect, messages in MH folders are no longer rewritten upon status changes. - The "trashed" flag is supported for maildir folders. See $maildir_trash. - POP folder support. You can now access a POP mailbox just like an IMAP folder (with obvious restrictions due to the protocol). - URL syntax for remote folders. You can pass things like pop://account@host and imap://account@host/folder as arguments for the -f command line flag. - STARTTLS support. If $ssl_starttls is set (the default), mutt will attempt to use STARTTLS on servers advertising that capability. - $preconnect. If set, a shell command to be executed if mutt fails to establish a connection to the server. This is useful for setting up secure connections; see the muttrc(5) for details. - $tunnel. Use a pipe to a command instead of a raw socket. See muttrc(5) for details. (Basically, it's another way for setting up secure connections.) - More new IMAP/POP-related variables (see muttrc(5) for details): $connect_timeout, $imap_authenticators, $imap_delim_chars, $imap_peek, $pop_authenticators, $pop_auth_try_all, $pop_checkinterval, $pop_delete, $pop_reconnect, $use_ipv6. - The following IMAP/POP-related variables are gone: $imap_checkinterval, $imap_cramkey, $pop_port. - There's a new imap-fetch-mail function, which forces a check for new messages on an IMAP server. - The new-mailbox function was renamed to create-mailbox, and is bound to C instead of n by default. For a complete overview of all new features look in the "NEWS" file.
2002-05-29 14:13:52 +02:00
ftp://ftp.stealth.net/pub/mirrors/ftp.mutt.org/pub/mutt/ \
ftp://gd.tuwien.ac.at/infosys/mail/mutt/ \
ftp://ftp.fu-berlin.de/unix/mail/mutt/
2003-07-17 23:41:05 +02:00
MAINTAINER= tron@NetBSD.org
HOMEPAGE= http://www.mutt.org/
COMMENT= Text-based MIME mail client with PGP support
BUILD_USES_MSGFMT= yes
WRKSRC= ${WRKDIR}/${DISTNAME:C/i$$//}
2004-02-15 14:13:52 +01:00
USE_BUILDLINK3= yes
USE_PKGINSTALL= yes
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} \
--with-docdir=${PREFIX}/share/doc/mutt \
--without-included-gettext \
--enable-pop --enable-imap
LDFLAGS+= ${_STRIPFLAG_CC}
PLIST_SRC= ${WRKDIR}/PLIST
2000-05-20 20:39:45 +02:00
.include "../../mk/bsd.prefs.mk"
.if ${MUTT_USE_SLANG} == YES
2004-02-15 14:13:52 +01:00
. include "../../devel/libslang/buildlink3.mk"
2002-08-26 01:06:15 +02:00
CONFIGURE_ARGS+= --with-slang=${BUILDLINK_PREFIX.libslang}
Update "mutt" package to version 1.4. Visible changes since version 1.2.5.1 include: - Better mh support: Mutt now supports .mh_sequences files. Currently, the "unseen", "flagged", and "replied" sequences are used to store mutt flags (the names are configurable using the $mh_seq_unseen, $mh_seq_flagged, and $mh_seq_replied configuration variables). As a side effect, messages in MH folders are no longer rewritten upon status changes. - The "trashed" flag is supported for maildir folders. See $maildir_trash. - POP folder support. You can now access a POP mailbox just like an IMAP folder (with obvious restrictions due to the protocol). - URL syntax for remote folders. You can pass things like pop://account@host and imap://account@host/folder as arguments for the -f command line flag. - STARTTLS support. If $ssl_starttls is set (the default), mutt will attempt to use STARTTLS on servers advertising that capability. - $preconnect. If set, a shell command to be executed if mutt fails to establish a connection to the server. This is useful for setting up secure connections; see the muttrc(5) for details. - $tunnel. Use a pipe to a command instead of a raw socket. See muttrc(5) for details. (Basically, it's another way for setting up secure connections.) - More new IMAP/POP-related variables (see muttrc(5) for details): $connect_timeout, $imap_authenticators, $imap_delim_chars, $imap_peek, $pop_authenticators, $pop_auth_try_all, $pop_checkinterval, $pop_delete, $pop_reconnect, $use_ipv6. - The following IMAP/POP-related variables are gone: $imap_checkinterval, $imap_cramkey, $pop_port. - There's a new imap-fetch-mail function, which forces a check for new messages on an IMAP server. - The new-mailbox function was renamed to create-mailbox, and is bound to C instead of n by default. For a complete overview of all new features look in the "NEWS" file.
2002-05-29 14:13:52 +02:00
.else
. if ${MUTT_USE_NCURSES} == YES
USE_NCURSES= yes
. endif
2004-02-15 14:13:52 +01:00
. include "../../devel/ncurses/buildlink3.mk"
2002-08-26 01:06:15 +02:00
CONFIGURE_ARGS+= --with-curses=${BUILDLINK_PREFIX.ncurses}
Update "mutt" package to version 1.4. Visible changes since version 1.2.5.1 include: - Better mh support: Mutt now supports .mh_sequences files. Currently, the "unseen", "flagged", and "replied" sequences are used to store mutt flags (the names are configurable using the $mh_seq_unseen, $mh_seq_flagged, and $mh_seq_replied configuration variables). As a side effect, messages in MH folders are no longer rewritten upon status changes. - The "trashed" flag is supported for maildir folders. See $maildir_trash. - POP folder support. You can now access a POP mailbox just like an IMAP folder (with obvious restrictions due to the protocol). - URL syntax for remote folders. You can pass things like pop://account@host and imap://account@host/folder as arguments for the -f command line flag. - STARTTLS support. If $ssl_starttls is set (the default), mutt will attempt to use STARTTLS on servers advertising that capability. - $preconnect. If set, a shell command to be executed if mutt fails to establish a connection to the server. This is useful for setting up secure connections; see the muttrc(5) for details. - $tunnel. Use a pipe to a command instead of a raw socket. See muttrc(5) for details. (Basically, it's another way for setting up secure connections.) - More new IMAP/POP-related variables (see muttrc(5) for details): $connect_timeout, $imap_authenticators, $imap_delim_chars, $imap_peek, $pop_authenticators, $pop_auth_try_all, $pop_checkinterval, $pop_delete, $pop_reconnect, $use_ipv6. - The following IMAP/POP-related variables are gone: $imap_checkinterval, $imap_cramkey, $pop_port. - There's a new imap-fetch-mail function, which forces a check for new messages on an IMAP server. - The new-mailbox function was renamed to create-mailbox, and is bound to C instead of n by default. For a complete overview of all new features look in the "NEWS" file.
2002-05-29 14:13:52 +02:00
.endif
# There is a problem using NetBSD's /bin/sh under old NetBSD releases,
# so use /bin/ksh there.
.if !empty(MACHINE_PLATFORM:MNetBSD-1.[0-5]*-*)
CONFIGURE_ARGS+= --with-exec-shell=/bin/ksh
.endif
.if ${MUTT_USE_SSL} == YES
2004-02-15 14:13:52 +01:00
.include "../../security/openssl/buildlink3.mk"
2002-08-26 01:06:15 +02:00
CONFIGURE_ARGS+= --with-ssl=${SSLBASE}
2000-05-20 20:39:45 +02:00
.else
CONFIGURE_ARGS+= --without-ssl
2000-05-20 19:39:20 +02:00
.endif
2002-10-28 22:09:18 +01:00
.if defined(USE_SASL) && ${USE_SASL} == "YES"
2004-02-15 14:13:52 +01:00
.include "../../security/cyrus-sasl/buildlink3.mk"
2002-10-28 22:09:18 +01:00
CONFIGURE_ARGS+= --with-sasl=${BUILDLINK_PREFIX.cyrus-sasl}
.endif
BUILD_DEFS+= MUTT_USE_NCURSES MUTT_USE_SLANG MUTT_USE_SSL USE_SASL
EGDIR= ${PREFIX}/share/examples/mutt
CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc
SUPPORT_FILES= ${EGDIR}/mime.types ${PKG_SYSCONFDIR}/mime.types
post-extract:
${MV} ${WRKSRC}/doc/mutt.man ${WRKSRC}/doc/mutt.man.in
pre-build:
${SED} -e "s|@PREFIX@|${PREFIX}|g" \
-e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g" \
< ${WRKSRC}/doc/mutt.man.in > ${WRKSRC}/doc/mutt.man
post-install:
${RM} -f ${PREFIX}/share/doc/mutt/samples
2003-12-11 23:23:23 +01:00
${LN} -f -s ${EGDIR} ${PREFIX}/share/doc/mutt/samples
${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
@if [ -f ${PREFIX}/bin/mutt_dotlock ]; then \
${ECHO} "bin/mutt_dotlock" >> ${PLIST_SRC}; \
fi
2000-01-04 18:12:59 +01:00
2004-02-15 14:13:52 +01:00
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"