Lines 49-58
Link Here
|
49 |
# |
49 |
# |
50 |
# If you want to enable the pgp_outlook_compat function for use with pgp define: |
50 |
# If you want to enable the pgp_outlook_compat function for use with pgp define: |
51 |
# WITH_MUTT_PGP_OUTLOOK_PATCH |
51 |
# WITH_MUTT_PGP_OUTLOOK_PATCH |
|
|
52 |
# |
53 |
# If you want to use the rethreading functions define: |
54 |
# WITH_MUTT_EDIT_THREADS |
52 |
|
55 |
|
53 |
PORTNAME= mutt-devel |
56 |
PORTNAME= mutt-devel |
54 |
PORTVERSION= 1.5.1 |
57 |
PORTVERSION= 1.5.1 |
55 |
#PORTREVISION?= 0 |
58 |
PORTREVISION?= 1 |
56 |
CATEGORIES+= mail |
59 |
CATEGORIES+= mail |
57 |
.if defined(WITH_MUTT_NNTP) |
60 |
.if defined(WITH_MUTT_NNTP) |
58 |
CATEGORIES+= news |
61 |
CATEGORIES+= news |
Lines 88-93
Link Here
|
88 |
ftp://ftp2.mutt.org.ua/pub/mutt/mutt-${PATCH_VERSION}/ |
91 |
ftp://ftp2.mutt.org.ua/pub/mutt/mutt-${PATCH_VERSION}/ |
89 |
.endif |
92 |
.endif |
90 |
|
93 |
|
|
|
94 |
.if defined(WITH_MUTT_EDIT_THREADS) |
95 |
PATCH_SITES+= http://cedricduval.free.fr/download/mutt/ |
96 |
.endif |
97 |
|
91 |
# XXX |
98 |
# XXX |
92 |
# this should be done automagically by aclocal but .... |
99 |
# this should be done automagically by aclocal but .... |
93 |
# for now, this will have to do |
100 |
# for now, this will have to do |
Lines 187-192
Link Here
|
187 |
PATCHFILES+= patch-${PATCH_VERSION}.vvv.initials.gz \ |
194 |
PATCHFILES+= patch-${PATCH_VERSION}.vvv.initials.gz \ |
188 |
patch-${PATCH_VERSION}.vvv.quote.gz |
195 |
patch-${PATCH_VERSION}.vvv.quote.gz |
189 |
.endif |
196 |
.endif |
|
|
197 |
.if defined(WITH_MUTT_EDIT_THREADS) |
198 |
PATCHFILES+= patch-${PATCH_VERSION}.cd.edit_threads.9.2 |
199 |
CONFIGURE_ARGS+= --enable-imap-edit-threads |
200 |
.endif |
190 |
|
201 |
|
191 |
WRKSRC= ${WRKDIR}/${DISTNAME:S/i$//} |
202 |
WRKSRC= ${WRKDIR}/${DISTNAME:S/i$//} |
192 |
MAN1= flea.1 mutt.1 mutt_dotlock.1 muttbug.1 |
203 |
MAN1= flea.1 mutt.1 mutt_dotlock.1 muttbug.1 |
Lines 225-231
Link Here
|
225 |
PLIST_SUB+= SUB_ADD_D="@comment " |
236 |
PLIST_SUB+= SUB_ADD_D="@comment " |
226 |
PLIST_SUB+= SUB_ADD_E="@comment " |
237 |
PLIST_SUB+= SUB_ADD_E="@comment " |
227 |
PLIST_SUB+= SUB_ADD_F="@comment " |
238 |
PLIST_SUB+= SUB_ADD_F="@comment " |
228 |
PLIST_SUB+= SUB_PGP_A="@comment " |
239 |
PLIST_SUB+= SUB_PATCHES="@comment " |
229 |
.elif defined(WITH_MUTT_COMPRESSED_FOLDERS) && defined(WITH_MUTT_NNTP) && \ |
240 |
.elif defined(WITH_MUTT_COMPRESSED_FOLDERS) && defined(WITH_MUTT_NNTP) && \ |
230 |
!defined(WITH_MUTT_QUOTE_PATCH) |
241 |
!defined(WITH_MUTT_QUOTE_PATCH) |
231 |
PLIST_SUB+= SUB_ADD_F="" |
242 |
PLIST_SUB+= SUB_ADD_F="" |
Lines 235-241
Link Here
|
235 |
PLIST_SUB+= SUB_ADD_D="@comment " |
246 |
PLIST_SUB+= SUB_ADD_D="@comment " |
236 |
PLIST_SUB+= SUB_ADD_E="@comment " |
247 |
PLIST_SUB+= SUB_ADD_E="@comment " |
237 |
PLIST_SUB+= SUB_ADD_G="@comment " |
248 |
PLIST_SUB+= SUB_ADD_G="@comment " |
238 |
PLIST_SUB+= SUB_PGP_A="@comment " |
249 |
PLIST_SUB+= SUB_PATCHES="@comment " |
239 |
.elif defined(WITH_MUTT_COMPRESSED_FOLDERS) && !defined(WITH_MUTT_NNTP) && \ |
250 |
.elif defined(WITH_MUTT_COMPRESSED_FOLDERS) && !defined(WITH_MUTT_NNTP) && \ |
240 |
defined(WITH_MUTT_QUOTE_PATCH) |
251 |
defined(WITH_MUTT_QUOTE_PATCH) |
241 |
PLIST_SUB+= SUB_ADD_C="" |
252 |
PLIST_SUB+= SUB_ADD_C="" |
Lines 245-251
Link Here
|
245 |
PLIST_SUB+= SUB_ADD_E="@comment " |
256 |
PLIST_SUB+= SUB_ADD_E="@comment " |
246 |
PLIST_SUB+= SUB_ADD_F="@comment " |
257 |
PLIST_SUB+= SUB_ADD_F="@comment " |
247 |
PLIST_SUB+= SUB_ADD_G="@comment " |
258 |
PLIST_SUB+= SUB_ADD_G="@comment " |
248 |
PLIST_SUB+= SUB_PGP_A="@comment " |
259 |
PLIST_SUB+= SUB_PATCHES="@comment " |
249 |
.elif defined(WITH_MUTT_COMPRESSED_FOLDERS) && !defined(WITH_MUTT_NNTP) && \ |
260 |
.elif defined(WITH_MUTT_COMPRESSED_FOLDERS) && !defined(WITH_MUTT_NNTP) && \ |
250 |
!defined(WITH_MUTT_QUOTE_PATCH) |
261 |
!defined(WITH_MUTT_QUOTE_PATCH) |
251 |
PLIST_SUB+= SUB_ADD_B="" |
262 |
PLIST_SUB+= SUB_ADD_B="" |
Lines 255-261
Link Here
|
255 |
PLIST_SUB+= SUB_ADD_E="@comment " |
266 |
PLIST_SUB+= SUB_ADD_E="@comment " |
256 |
PLIST_SUB+= SUB_ADD_F="@comment " |
267 |
PLIST_SUB+= SUB_ADD_F="@comment " |
257 |
PLIST_SUB+= SUB_ADD_G="@comment " |
268 |
PLIST_SUB+= SUB_ADD_G="@comment " |
258 |
PLIST_SUB+= SUB_PGP_A="@comment " |
269 |
PLIST_SUB+= SUB_PATCHES="@comment " |
259 |
.elif !defined(WITH_MUTT_COMPRESSED_FOLDERS) && defined(WITH_MUTT_NNTP) && \ |
270 |
.elif !defined(WITH_MUTT_COMPRESSED_FOLDERS) && defined(WITH_MUTT_NNTP) && \ |
260 |
defined(WITH_MUTT_QUOTE_PATCH) |
271 |
defined(WITH_MUTT_QUOTE_PATCH) |
261 |
PLIST_SUB+= SUB_ADD_E="" |
272 |
PLIST_SUB+= SUB_ADD_E="" |
Lines 265-271
Link Here
|
265 |
PLIST_SUB+= SUB_ADD_D="@comment " |
276 |
PLIST_SUB+= SUB_ADD_D="@comment " |
266 |
PLIST_SUB+= SUB_ADD_F="@comment " |
277 |
PLIST_SUB+= SUB_ADD_F="@comment " |
267 |
PLIST_SUB+= SUB_ADD_G="@comment " |
278 |
PLIST_SUB+= SUB_ADD_G="@comment " |
268 |
PLIST_SUB+= SUB_PGP_A="@comment " |
279 |
PLIST_SUB+= SUB_PATCHES="@comment " |
269 |
.elif !defined(WITH_MUTT_COMPRESSED_FOLDERS) && defined(WITH_MUTT_NNTP) && \ |
280 |
.elif !defined(WITH_MUTT_COMPRESSED_FOLDERS) && defined(WITH_MUTT_NNTP) && \ |
270 |
!defined(WITH_MUTT_QUOTE_PATCH) |
281 |
!defined(WITH_MUTT_QUOTE_PATCH) |
271 |
PLIST_SUB+= SUB_ADD_D="" |
282 |
PLIST_SUB+= SUB_ADD_D="" |
Lines 275-281
Link Here
|
275 |
PLIST_SUB+= SUB_ADD_E="@comment " |
286 |
PLIST_SUB+= SUB_ADD_E="@comment " |
276 |
PLIST_SUB+= SUB_ADD_F="@comment " |
287 |
PLIST_SUB+= SUB_ADD_F="@comment " |
277 |
PLIST_SUB+= SUB_ADD_G="@comment " |
288 |
PLIST_SUB+= SUB_ADD_G="@comment " |
278 |
PLIST_SUB+= SUB_PGP_A="@comment " |
289 |
PLIST_SUB+= SUB_PATCHES="@comment " |
279 |
.elif !defined(WITH_MUTT_COMPRESSED_FOLDERS) && !defined(WITH_MUTT_NNTP) && \ |
290 |
.elif !defined(WITH_MUTT_COMPRESSED_FOLDERS) && !defined(WITH_MUTT_NNTP) && \ |
280 |
defined(WITH_MUTT_QUOTE_PATCH) |
291 |
defined(WITH_MUTT_QUOTE_PATCH) |
281 |
PLIST_SUB+= SUB_ADD_A="" |
292 |
PLIST_SUB+= SUB_ADD_A="" |
Lines 285-291
Link Here
|
285 |
PLIST_SUB+= SUB_ADD_E="@comment " |
296 |
PLIST_SUB+= SUB_ADD_E="@comment " |
286 |
PLIST_SUB+= SUB_ADD_F="@comment " |
297 |
PLIST_SUB+= SUB_ADD_F="@comment " |
287 |
PLIST_SUB+= SUB_ADD_G="@comment " |
298 |
PLIST_SUB+= SUB_ADD_G="@comment " |
288 |
PLIST_SUB+= SUB_PGP_A="@comment " |
299 |
PLIST_SUB+= SUB_PATCHES="@comment " |
289 |
.elif !defined(WITH_MUTT_COMPRESSED_FOLDERS) && !defined(WITH_MUTT_NNTP) && \ |
300 |
.elif !defined(WITH_MUTT_COMPRESSED_FOLDERS) && !defined(WITH_MUTT_NNTP) && \ |
290 |
!defined(WITH_MUTT_QUOTE_PATCH) |
301 |
!defined(WITH_MUTT_QUOTE_PATCH) |
291 |
PLIST_SUB+= SUB_ADD_A="@comment " |
302 |
PLIST_SUB+= SUB_ADD_A="@comment " |
Lines 295-301
Link Here
|
295 |
PLIST_SUB+= SUB_ADD_E="@comment " |
306 |
PLIST_SUB+= SUB_ADD_E="@comment " |
296 |
PLIST_SUB+= SUB_ADD_F="@comment " |
307 |
PLIST_SUB+= SUB_ADD_F="@comment " |
297 |
PLIST_SUB+= SUB_ADD_G="@comment " |
308 |
PLIST_SUB+= SUB_ADD_G="@comment " |
298 |
PLIST_SUB+= SUB_PGP_A="@comment " |
309 |
PLIST_SUB+= SUB_PATCHES="" |
299 |
.else # patches |
310 |
.else # patches |
300 |
PLIST_SUB+= SUB_ADD_A="@comment " |
311 |
PLIST_SUB+= SUB_ADD_A="@comment " |
301 |
PLIST_SUB+= SUB_ADD_B="@comment " |
312 |
PLIST_SUB+= SUB_ADD_B="@comment " |
Lines 304-310
Link Here
|
304 |
PLIST_SUB+= SUB_ADD_E="@comment " |
315 |
PLIST_SUB+= SUB_ADD_E="@comment " |
305 |
PLIST_SUB+= SUB_ADD_F="@comment " |
316 |
PLIST_SUB+= SUB_ADD_F="@comment " |
306 |
PLIST_SUB+= SUB_ADD_G="@comment " |
317 |
PLIST_SUB+= SUB_ADD_G="@comment " |
307 |
PLIST_SUB+= SUB_PGP_A="" |
318 |
PLIST_SUB+= SUB_PATCHES="" |
308 |
.endif |
319 |
.endif |
309 |
.else # HTML |
320 |
.else # HTML |
310 |
PLIST_SUB+= SUB_HTML="@comment " |
321 |
PLIST_SUB+= SUB_HTML="@comment " |
Lines 315-321
Link Here
|
315 |
PLIST_SUB+= SUB_ADD_E="@comment " |
326 |
PLIST_SUB+= SUB_ADD_E="@comment " |
316 |
PLIST_SUB+= SUB_ADD_F="@comment " |
327 |
PLIST_SUB+= SUB_ADD_F="@comment " |
317 |
PLIST_SUB+= SUB_ADD_G="@comment " |
328 |
PLIST_SUB+= SUB_ADD_G="@comment " |
318 |
PLIST_SUB+= SUB_PGP_A="@comment " |
329 |
PLIST_SUB+= SUB_PATCHES="@comment " |
319 |
.endif |
330 |
.endif |
320 |
.else # NOPORTDOCS |
331 |
.else # NOPORTDOCS |
321 |
PLIST_SUB+= SUB_HTML="@comment " |
332 |
PLIST_SUB+= SUB_HTML="@comment " |
Lines 327-340
Link Here
|
327 |
PLIST_SUB+= SUB_ADD_E="@comment " |
338 |
PLIST_SUB+= SUB_ADD_E="@comment " |
328 |
PLIST_SUB+= SUB_ADD_F="@comment " |
339 |
PLIST_SUB+= SUB_ADD_F="@comment " |
329 |
PLIST_SUB+= SUB_ADD_G="@comment " |
340 |
PLIST_SUB+= SUB_ADD_G="@comment " |
330 |
PLIST_SUB+= SUB_PGP_A="@comment " |
341 |
PLIST_SUB+= SUB_PATCHES="@comment " |
331 |
post-patch:: |
342 |
post-patch:: |
332 |
${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-nodoc-contrib |
343 |
${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-nodoc-contrib |
333 |
.endif |
344 |
.endif |
334 |
.if defined(WITH_MUTT_PGP_OUTLOOK_PATCH) |
345 |
.if defined(WITH_MUTT_PGP_OUTLOOK_PATCH) && !defined(WITH_MUTT_EDIT_THREADS) |
335 |
PLIST_SUB+= SUB_PGP="" |
346 |
PLIST_SUB+= SUB_PGP="" |
336 |
.else |
347 |
.else |
337 |
PLIST_SUB+= SUB_PGP="@comment " |
348 |
PLIST_SUB+= SUB_PGP="@comment " |
|
|
349 |
.endif |
350 |
.if defined(WITH_MUTT_EDIT_THREADS) && !defined(WITH_MUTT_PGP_OUTLOOK_PATCH) |
351 |
PLIST_SUB+= SUB_THREAD="" |
352 |
.else |
353 |
PLIST_SUB+= SUB_THREAD="@comment " |
354 |
.endif |
355 |
.if defined(WITH_MUTT_EDIT_THREADS) && defined(WITH_MUTT_PGP_OUTLOOK_PATCH) |
356 |
PLIST_SUB+= SUB_THREAD_PGP="" |
357 |
.else |
358 |
PLIST_SUB+= SUB_THREAD_PGP="@comment " |
338 |
.endif |
359 |
.endif |
339 |
.if ${SGML_USED} == yes |
360 |
.if ${SGML_USED} == yes |
340 |
BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat |
361 |
BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat |