|
Lines 6-23
Link Here
|
| 6 |
# |
6 |
# |
| 7 |
|
7 |
|
| 8 |
PORTNAME= mutt-ng |
8 |
PORTNAME= mutt-ng |
| 9 |
PORTVERSION= 20051110 |
9 |
PORTVERSION= 20060501 |
| 10 |
PORTREVISION= 1 |
|
|
| 11 |
CATEGORIES= mail |
10 |
CATEGORIES= mail |
| 12 |
MASTER_SITES= http://nion.modprobe.de/mutt-ng/snapshots/ |
11 |
MASTER_SITES= http://nion.modprobe.de/mutt-ng/snapshots/ \ |
|
|
12 |
http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/ |
| 13 |
DISTNAME= muttng-${PORTVERSION} |
13 |
DISTNAME= muttng-${PORTVERSION} |
| 14 |
|
14 |
|
| 15 |
MAINTAINER= ports@FreeBSD.org |
15 |
MAINTAINER= shaun@inerd.com |
| 16 |
COMMENT= A fork of the mutt with the goal to incorporate all the patches |
16 |
COMMENT= A fork of the mutt with the goal to incorporate all the patches |
| 17 |
|
17 |
|
| 18 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
| 19 |
USE_OPENSSL= yes |
19 |
USE_OPENSSL= yes |
| 20 |
USE_REINPLACE= yes |
|
|
| 21 |
|
20 |
|
| 22 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" |
21 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" |
| 23 |
CONFIGURE_ARGS= --disable-fcntl --sysconfdir=${PREFIX}/etc \ |
22 |
CONFIGURE_ARGS= --disable-fcntl --sysconfdir=${PREFIX}/etc \ |
|
Lines 30-36
Link Here
|
| 30 |
USE_ICONV= yes |
29 |
USE_ICONV= yes |
| 31 |
PLIST_SUB+= NLS="" |
30 |
PLIST_SUB+= NLS="" |
| 32 |
.if defined(WITHOUT_MUTT_ICONV) |
31 |
.if defined(WITHOUT_MUTT_ICONV) |
| 33 |
BROKEN= "The WITHOUT_MUTT_ICONV knob of the mutt port only works if WITHOUT_NLS is also given" |
32 |
BROKEN= The WITHOUT_MUTT_ICONV knob of the mutt port only works if WITHOUT_NLS is also given |
| 34 |
.endif |
33 |
.endif |
| 35 |
.elif !defined(WITHOUT_MUTT_ICONV) |
34 |
.elif !defined(WITHOUT_MUTT_ICONV) |
| 36 |
USE_ICONV= yes |
35 |
USE_ICONV= yes |
|
Lines 42-51
Link Here
|
| 42 |
CONFIGURE_ARGS+= --disable-iconv |
41 |
CONFIGURE_ARGS+= --disable-iconv |
| 43 |
.endif |
42 |
.endif |
| 44 |
|
43 |
|
| 45 |
.if !defined(NOPORTDOCS) |
|
|
| 46 |
BUILD_DEPENDS+= lynx:${PORTSDIR}/www/lynx |
| 47 |
.endif |
| 48 |
|
| 49 |
OPTIONS= POP "Enable pop3 support" on \ |
44 |
OPTIONS= POP "Enable pop3 support" on \ |
| 50 |
IMAP "Enable imap support" on \ |
45 |
IMAP "Enable imap support" on \ |
| 51 |
NNTP "Enable nntp support" off \ |
46 |
NNTP "Enable nntp support" off \ |
|
Lines 65-71
Link Here
|
| 65 |
.include <bsd.port.pre.mk> |
60 |
.include <bsd.port.pre.mk> |
| 66 |
|
61 |
|
| 67 |
.if defined(WITH_MUTT_MAILDIR_HEADER_CACHE) |
62 |
.if defined(WITH_MUTT_MAILDIR_HEADER_CACHE) |
| 68 |
WITH_MUTT_IMAP_HEADER_CACHE= yes |
63 |
WITH_MUTT_IMAP_HEADER_CACHE= yes |
| 69 |
.endif |
64 |
.endif |
| 70 |
|
65 |
|
| 71 |
.if defined (WITH_POP) |
66 |
.if defined (WITH_POP) |
|
Lines 119-130
Link Here
|
| 119 |
LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses |
114 |
LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses |
| 120 |
CONFIGURE_ARGS+= --with-curses=${LOCALBASE} |
115 |
CONFIGURE_ARGS+= --with-curses=${LOCALBASE} |
| 121 |
.elif defined(WITH_SLANG) && defined(WITH_NCURSES_PORT) |
116 |
.elif defined(WITH_SLANG) && defined(WITH_NCURSES_PORT) |
| 122 |
BROKEN= "You may not specify both WITH_SLANG and WITH_NCURSES options" |
117 |
BROKEN= You may not specify both WITH_SLANG and WITH_NCURSES options |
| 123 |
.endif |
118 |
.endif |
| 124 |
|
119 |
|
| 125 |
.if defined(WITH_SASL2) || defined(WITH_MUTT_CYRUS_SASL2) |
120 |
.if defined(WITH_SASL2) || defined(WITH_MUTT_CYRUS_SASL2) |
| 126 |
.if !defined(WITH_POP) && !defined(WITH_IMAP) |
121 |
.if !defined(WITH_POP) && !defined(WITH_IMAP) |
| 127 |
BROKEN= "SASL2 only is useful for imap or pop" |
122 |
BROKEN= SASL2 only is useful for imap or pop |
| 128 |
.endif |
123 |
.endif |
| 129 |
LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2 |
124 |
LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2 |
| 130 |
CONFIGURE_ARGS+= --with-sasl2=${LOCALBASE} |
125 |
CONFIGURE_ARGS+= --with-sasl2=${LOCALBASE} |
|
Lines 173-182
Link Here
|
| 173 |
@${MKDIR} ${DOCSDIR} && ${CHMOD} a+rx ${DOCSDIR} |
168 |
@${MKDIR} ${DOCSDIR} && ${CHMOD} a+rx ${DOCSDIR} |
| 174 |
@cd ${WRKSRC}/doc ; ${INSTALL_MAN} manual.txt PGP-Notes.txt \ |
169 |
@cd ${WRKSRC}/doc ; ${INSTALL_MAN} manual.txt PGP-Notes.txt \ |
| 175 |
${DOCSDIR} |
170 |
${DOCSDIR} |
| 176 |
@${FIND} ${DOCSDIR}/html ! -type d | ${SED} -e 's,${PREFIX}/,,' \ |
|
|
| 177 |
>> ${TMPPLIST} |
| 178 |
@${ECHO} "@dirrm share/doc/mutt-ng/html" >> ${TMPPLIST} |
| 179 |
@${ECHO} "@dirrm ${DOCSDIR:S,${PREFIX},,}" >> ${TMPPLIST} |
| 180 |
.endif |
171 |
.endif |
| 181 |
|
172 |
|
| 182 |
.include <bsd.port.post.mk> |
173 |
.include <bsd.port.post.mk> |