blob: 03faa2df1634e8c93db4c2dcb3f16f1ad1df3b71 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
# $FreeBSD$
PORTNAME= neomutt
PORTVERSION= 20161003
DISTVERSIONPREFIX= ${PORTNAME}-
CATEGORIES= mail
MAINTAINER= bapt@FreeBSD.org
COMMENT= Bringing together all the Mutt Code
LICENSE= GPLv1
LICENSE_FILE= ${WRKSRC}/LICENSE.md
USE_GITHUB= yes
USES= autoreconf localbase ncurses shebangfix ssl
GNU_CONFIGURE= yes
LIB_DEPENDS= libnotmuch.so:mail/notmuch
BUILD_DEPENDS= gdate:sysutils/coreutils
RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:misc/mime-support \
urlview:textproc/urlview
OPTIONS_SUB= yes
SHEBANG_FILES= smime_keys.pl
OPTIONS_DEFINE= NLS DOCS SASL ICONV IDN FLOCK GPGME
OPTIONS_DEFAULT=SASL TOKYOCABINET
OPTIONS_RADIO= HCACHE
OPTIONS_RADIO_HCACHE= TOKYOCABINET LMDB
FLOCK_DESC= Use flock() to lock files
GPGME_DESC= Use gpgme to handle pgp
TOKYOCABINET_DESC= Use TokyoCabinet as header-cache backend
LMDB_DESC= Use LMDB as header-cache backend
CONFIGURE_ARGS= --disable-dependency-tracking \
--with-docdir="${DOCSDIR}" \
--with-ssl="${OPENSSLBASE}" \
--enable-imap \
--enable-smtp \
--enable-pop \
--enable-nntp \
--enable-compressed \
--enable-hcache \
--enable-sidebar \
--enable-notmuch \
--without-qdbm \
--disable-fcntl \
--enable-external-dotlock
TOKYOCABINET_CONFIGURE_WITH= tokyocabinet
TOKYOCABINET_LIB_DEPENDS= libtokyocabinet.so:databases/tokyocabinet
LMDB_CONFIGURE_WITH= lmdb
LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
NLS_IMPLIES= ICONV
IDN_LIB_DEPENDS= libidn.so:dns/libidn
IDN_IMPLIES= ICONV
IDN_CONFIGURE_WITH= idn
ICONV_USES= iconv:translit
ICONV_CONFIGURE_ON= ${ICONV_CONFIGURE_ARGS}
ICONV_CONFIGURE_OFF= --disable-iconv
FLOCK_CONFIGURE_ENABLE= flock
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
SASL_CONFIGURE_ON= --with-sasl
GPGME_LIB_DEPENDS= libgpgme.so:security/gpgme
GPGME_CONFIGURE_ENABLE= gpgme
DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \
${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl \
lynx:www/lynx
post-patch:
@${REINPLACE_CMD} -e "s/\`date/\`gdate/" ${WRKSRC}/Makefile.am ${WRKSRC}/doc/Makefile.am
@${REINPLACE_CMD} '/LIBS=$$/d' ${WRKSRC}/configure.ac
post-install:
${RM} -f ${STAGEDIR}${PREFIX}/etc/mime*
.include <bsd.port.mk>
|