Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= mutt |
4 |
PORTNAME= mutt |
5 |
PORTVERSION= 1.7.0 |
5 |
PORTVERSION= 1.7.1 |
6 |
PORTREVISION?= 0 |
6 |
PORTREVISION?= 0 |
7 |
CATEGORIES+= mail ipv6 |
7 |
CATEGORIES+= mail ipv6 |
8 |
MASTER_SITES= ftp://ftp.mutt.org/pub/mutt/ \ |
8 |
MASTER_SITES= ftp://ftp.mutt.org/pub/mutt/ \ |
Lines 10-31
MASTER_SITES= ftp://ftp.mutt.org/pub/mutt/ \
Link Here
|
10 |
https://bitbucket.org/mutt/mutt/downloads/ \ |
10 |
https://bitbucket.org/mutt/mutt/downloads/ \ |
11 |
ftp://ftp.demon.co.uk/pub/mirrors/mutt/ \ |
11 |
ftp://ftp.demon.co.uk/pub/mirrors/mutt/ \ |
12 |
http://www.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \ |
12 |
http://www.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \ |
13 |
http://www2.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv |
13 |
http://www2.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \ |
|
|
14 |
http://vc.org.ua/mutt/:vc |
14 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} |
15 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} |
|
|
16 |
DIST_SUBDIR= mutt |
15 |
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} |
17 |
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} |
16 |
|
18 |
|
17 |
PATCH_SITES+= http://www.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \ |
19 |
PATCH_SITES+= http://www.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \ |
18 |
http://www2.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \ |
20 |
http://www2.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \ |
19 |
http://home.woolridge.ca/mutt/patches/:dw |
21 |
http://home.uchicago.edu/~dgc/sw/mutt/:dgc \ |
|
|
22 |
https://www.schrab.com/aaron/mutt/:ats |
23 |
PATCH_DIST_STRIP= -p1 |
24 |
PATCHFILES= patch-1.5.1.dgc.deepif.1:dgc \ |
25 |
patch-1.7.0.ats.date_conditional.1:ats |
20 |
|
26 |
|
21 |
MAINTAINER?= dereks@lifeofadishwasher.com |
27 |
MAINTAINER?= dereks@lifeofadishwasher.com |
22 |
COMMENT?= The Mongrel of Mail User Agents |
28 |
COMMENT?= Small but powerful text based program for read/writing e-mail |
23 |
|
29 |
|
24 |
LICENSE= GPLv2+ |
30 |
LICENSE= GPLv2+ |
25 |
|
31 |
|
26 |
CONFLICTS?= ja-mutt-[0-9]* ja-mutt-devel-[0-9]* mutt-1.4* mutt-devel-lite-[0-9]* mutt-lite-[0-9]* zh-mutt-devel-[0-9]* |
32 |
CONFLICTS?= ja-mutt-[0-9]* ja-mutt-devel-[0-9]* mutt-1.4* mutt-devel-lite-[0-9]* mutt-lite-[0-9]* zh-mutt-devel-[0-9]* |
27 |
|
33 |
|
28 |
DIST_SUBDIR= mutt |
|
|
29 |
DOCSDIR?= ${PREFIX}/share/doc/mutt |
34 |
DOCSDIR?= ${PREFIX}/share/doc/mutt |
30 |
EXAMPLESDIR?= ${PREFIX}/share/examples/mutt |
35 |
EXAMPLESDIR?= ${PREFIX}/share/examples/mutt |
31 |
DATADIR?= ${PREFIX}/share/mutt |
36 |
DATADIR?= ${PREFIX}/share/mutt |
Lines 49-59
AUTOMAKE_ARGS= --add-missing --foreign
Link Here
|
49 |
OPTIONS_SUB= yes |
54 |
OPTIONS_SUB= yes |
50 |
|
55 |
|
51 |
.if defined (MUTT_LITE) |
56 |
.if defined (MUTT_LITE) |
52 |
LITE= yes |
|
|
53 |
USES+= ncurses |
54 |
.endif |
55 |
|
56 |
.if defined (LITE) |
57 |
OPTIONS_UNSET= NLS DOCS EXAMPLES |
57 |
OPTIONS_UNSET= NLS DOCS EXAMPLES |
58 |
.else |
58 |
.else |
59 |
OPTIONS_DEFINE= COMPRESSED_FOLDERS SASL DEBUG DOCS EXAMPLES FLOCK \ |
59 |
OPTIONS_DEFINE= COMPRESSED_FOLDERS SASL DEBUG DOCS EXAMPLES FLOCK \ |
Lines 111-117
OPTIONS_DEFAULT= COMPRESSED_FOLDERS HTML ICONV IDN IFDEF_PATCH \
Link Here
|
111 |
|
111 |
|
112 |
RUN_DEPENDS+= ${LOCALBASE}/etc/mime.types:misc/mime-support |
112 |
RUN_DEPENDS+= ${LOCALBASE}/etc/mime.types:misc/mime-support |
113 |
|
113 |
|
114 |
.if !defined (LITE) |
114 |
.if !defined (MUTT_LITE) |
115 |
ASPELL_BUILD_DEPENDS= aspell:textproc/aspell |
115 |
ASPELL_BUILD_DEPENDS= aspell:textproc/aspell |
116 |
ASPELL_RUN_DEPENDS= aspell:textproc/aspell |
116 |
ASPELL_RUN_DEPENDS= aspell:textproc/aspell |
117 |
ISPELL_BUILD_DEPENDS= ispell:textproc/aspell-ispell |
117 |
ISPELL_BUILD_DEPENDS= ispell:textproc/aspell-ispell |
Lines 119-126
ISPELL_RUN_DEPENDS= ispell:textproc/aspell-ispell
Link Here
|
119 |
URLVIEW_RUN_DEPENDS= urlview:textproc/urlview |
119 |
URLVIEW_RUN_DEPENDS= urlview:textproc/urlview |
120 |
.endif |
120 |
.endif |
121 |
|
121 |
|
122 |
.if defined (LITE) |
122 |
.if defined (MUTT_LITE) |
123 |
PKGNAMESUFFIX= -lite |
123 |
USES+= ncurses |
124 |
PLIST_SUB+= MAILBOX_MANPAGES="" |
124 |
PLIST_SUB+= MAILBOX_MANPAGES="" |
125 |
PLIST_SUB+= COMPRESSED_FOLDERS="@comment " |
125 |
PLIST_SUB+= COMPRESSED_FOLDERS="@comment " |
126 |
PLIST_SUB+= HTML="@comment " |
126 |
PLIST_SUB+= HTML="@comment " |
Lines 187-192
SMTP_CONFIGURE_ENABLE= smtp
Link Here
|
187 |
|
187 |
|
188 |
MAILDIR_HEADER_CACHE_CONFIGURE_OFF= --without-qdbm |
188 |
MAILDIR_HEADER_CACHE_CONFIGURE_OFF= --without-qdbm |
189 |
|
189 |
|
|
|
190 |
GREETING_PATCH_DISTFILES= mutt-${GREETING_PATCH_VERSION}.vc.greeting:vc |
191 |
|
190 |
COMPRESSED_FOLDERS_DISTFILES= patch-${RR_PATCH_VERSION}.rr.compressed.gz:vvv |
192 |
COMPRESSED_FOLDERS_DISTFILES= patch-${RR_PATCH_VERSION}.rr.compressed.gz:vvv |
191 |
COMPRESSED_FOLDERS_CONFIGURE_ON= --enable-compressed |
193 |
COMPRESSED_FOLDERS_CONFIGURE_ON= --enable-compressed |
192 |
COMPRESSED_FOLDERS_VARS= XML_NEEDED=yes |
194 |
COMPRESSED_FOLDERS_VARS= XML_NEEDED=yes |
Lines 209-223
DOCS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-doc-ref
Link Here
|
209 |
|
211 |
|
210 |
.include <bsd.port.options.mk> |
212 |
.include <bsd.port.options.mk> |
211 |
|
213 |
|
212 |
DW_PATCH_VERSION= 1.5.6 |
214 |
# un/comment as each VERSION is created for PORTVERSION |
|
|
215 |
#VVV_PATCH_VERSION= 1.7.0 |
216 |
#RR_PATCH_VERSION= 1.7.0 |
217 |
GREETING_PATCH_VERSION= 1.7.0 |
218 |
|
213 |
.if !defined(VVV_PATCH_VERSION) |
219 |
.if !defined(VVV_PATCH_VERSION) |
214 |
VVV_PATCH_VERSION= ${PORTVERSION} |
220 |
VVV_PATCH_VERSION= ${PORTVERSION} |
215 |
.endif |
221 |
.endif |
216 |
.if !defined(RR_PATCH_VERSION) |
222 |
.if !defined(RR_PATCH_VERSION) |
217 |
RR_PATCH_VERSION= ${PORTVERSION} |
223 |
RR_PATCH_VERSION= ${PORTVERSION} |
218 |
.endif |
224 |
.endif |
219 |
.if !defined(DW_PATCH_VERSION) |
225 |
.if !defined(GREETING_PATCH_VERSION) |
220 |
DW_PATCH_VERSION= ${PORTVERSION} |
226 |
GREETING_PATCH_VERSION= ${PORTVERSION} |
221 |
.endif |
227 |
.endif |
222 |
|
228 |
|
223 |
# XXX |
229 |
# XXX |
Lines 234-241
LDFLAGS+= -L${LOCALBASE}/lib -Wl,-rpath=${LOCALBASE}/lib:/usr/lib -ltinfow
Link Here
|
234 |
CFLAGS+= ${CFLAGS_ADD} |
240 |
CFLAGS+= ${CFLAGS_ADD} |
235 |
LDFLAGS+= ${LDFLAGS_ADD} |
241 |
LDFLAGS+= ${LDFLAGS_ADD} |
236 |
|
242 |
|
237 |
PATCH_DIST_STRIP= -p1 |
|
|
238 |
|
239 |
pre-patch-PARENT_CHILD_MATCH_PATCH-on: |
243 |
pre-patch-PARENT_CHILD_MATCH_PATCH-on: |
240 |
@${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-parent-child-match |
244 |
@${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-parent-child-match |
241 |
|
245 |
|
Lines 274-280
post-install-NNTP-on:
Link Here
|
274 |
${INSTALL_DATA} ${WRKSRC}/ChangeLog.nntp ${STAGEDIR}${DOCSDIR} |
278 |
${INSTALL_DATA} ${WRKSRC}/ChangeLog.nntp ${STAGEDIR}${DOCSDIR} |
275 |
|
279 |
|
276 |
post-patch-GREETING_PATCH-on: |
280 |
post-patch-GREETING_PATCH-on: |
277 |
@${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-greeting |
281 |
@${PATCH} ${PATCH_ARGS} -p1 < ${DISTDIR}/${DIST_SUBDIR}/mutt-${GREETING_PATCH_VERSION}.vc.greeting |
278 |
|
282 |
|
279 |
post-patch-IFDEF_PATCH-on: |
283 |
post-patch-IFDEF_PATCH-on: |
280 |
@${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-ifdef |
284 |
@${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-ifdef |