2000-07-04 00:23:36 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.32 2000/07/04 04:23:36 fgsch Exp $
|
1999-01-04 01:33:47 -05:00
|
|
|
|
2000-06-29 19:18:10 -04:00
|
|
|
DISTNAME= mutt-1.2.2i
|
1999-04-28 19:50:02 -04:00
|
|
|
CATEGORIES= mail
|
2000-06-29 19:18:10 -04:00
|
|
|
NEED_VERSION= 1.309
|
|
|
|
MASTER_SITES= ftp://ftp.mutt.org/pub/mutt/ \
|
2000-01-21 11:39:36 -05:00
|
|
|
ftp://ftp.gbnet.net/pub/mutt-international/ \
|
|
|
|
ftp://ftp.fu-berlin.de/pub/unix/mail/mutt/ \
|
2000-06-29 19:18:10 -04:00
|
|
|
ftp://ftp.gwdg.de/pub/unix/mail/mutt/international/ \
|
|
|
|
ftp://ftp.iks-jena.de/pub/mitarb/lutz/crypt/software/pgp/mutt/
|
1998-11-18 22:16:33 -05:00
|
|
|
|
2000-07-04 00:23:36 -04:00
|
|
|
MAINTAINER= fgsch@openbsd.org
|
1999-07-14 22:42:28 -04:00
|
|
|
|
2000-03-04 18:01:21 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2000-04-01 18:33:03 -05:00
|
|
|
FLAVORS=slang curses imap pop
|
|
|
|
FLAVOR?=slang
|
2000-01-21 11:39:36 -05:00
|
|
|
|
2000-03-24 18:28:01 -05:00
|
|
|
LIB_DEPENDS= intl.1::devel/gettext
|
1999-07-14 22:42:28 -04:00
|
|
|
|
2000-06-28 18:28:20 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
1999-04-28 19:50:02 -04:00
|
|
|
SYSCONFDIR= ${PREFIX}/share/mutt
|
2000-01-21 11:39:36 -05:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
|
|
--with-sharedir=${PREFIX}/share/mutt \
|
|
|
|
--with-docdir=${PREFIX}/share/doc/mutt
|
1998-11-18 22:16:33 -05:00
|
|
|
|
2000-04-01 18:33:03 -05:00
|
|
|
.if ${FLAVOR:L:Mslang}
|
|
|
|
LIB_DEPENDS+= slang.14::devel/libslang
|
2000-01-21 11:39:36 -05:00
|
|
|
CONFIGURE_ARGS+=--with-slang=${PREFIX}
|
2000-04-01 18:33:03 -05:00
|
|
|
.elif ${FLAVOR:L:Mcurses}
|
2000-01-21 11:39:36 -05:00
|
|
|
CONFIGURE_ARGS+=--with-curses
|
|
|
|
.else
|
2000-06-28 18:28:20 -04:00
|
|
|
.BEGIN:
|
2000-06-29 19:18:10 -04:00
|
|
|
echo "Bad choice FLAVOR=${FLAVOR}"; exit 1
|
2000-01-21 11:39:36 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(HOMESPOOL)
|
|
|
|
CONFIGURE_ARGS+= --with-homespool=${HOMESPOOL}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# If you need IMAP or IPOP, you may want to enable those.
|
|
|
|
# NOTE: read mutt documentation !!! those `features' are not very
|
|
|
|
# useful, it's likely you would be better off using fetchmail...
|
2000-04-01 18:33:03 -05:00
|
|
|
.if ${FLAVOR:L:Mimap}
|
2000-01-21 11:39:36 -05:00
|
|
|
CONFIGURE_ARGS+= --enable-imap
|
|
|
|
.endif
|
|
|
|
|
2000-04-01 18:33:03 -05:00
|
|
|
.if ${FLAVOR:L:Mpop}
|
2000-01-21 11:39:36 -05:00
|
|
|
CONFIGURE_ARGS+= --enable-pop
|
|
|
|
.endif
|
|
|
|
|
2000-02-08 20:11:42 -05:00
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME:S/i$//}
|
1998-11-18 22:16:33 -05:00
|
|
|
|
1999-04-28 19:50:02 -04:00
|
|
|
.if !defined(NO_WARNINGS)
|
2000-01-21 11:39:36 -05:00
|
|
|
pre-fetch:
|
2000-02-08 20:11:42 -05:00
|
|
|
@echo
|
|
|
|
@echo '**********************************************************'
|
|
|
|
@echo '* This software contains cryptographic enabling code. *'
|
|
|
|
@echo '* It is illegal to export outside of the United States. *'
|
|
|
|
@echo '**********************************************************'
|
|
|
|
@echo
|
1998-12-16 15:08:42 -05:00
|
|
|
.endif
|
1998-11-18 22:16:33 -05:00
|
|
|
|
1999-01-04 01:33:47 -05:00
|
|
|
post-install:
|
|
|
|
strip ${PREFIX}/bin/mutt
|
2000-02-08 20:11:42 -05:00
|
|
|
@echo
|
|
|
|
@echo '************************************************************'
|
|
|
|
@echo ' A sample muttrc and mime.types is available in '
|
|
|
|
@echo ' ${PREFIX}/share/mutt/{Muttrc,mime.types} '
|
|
|
|
@echo '************************************************************'
|
|
|
|
@echo
|
1999-01-04 01:33:47 -05:00
|
|
|
|
1998-11-18 22:16:33 -05:00
|
|
|
.include <bsd.port.mk>
|