Lines 47-52
Link Here
|
47 |
# If you want to enable extended quoting functions define: |
47 |
# If you want to enable extended quoting functions define: |
48 |
# WITH_MUTT_QUOTE_PATCH |
48 |
# WITH_MUTT_QUOTE_PATCH |
49 |
# |
49 |
# |
|
|
50 |
# If you want to make SMIME outlook compatible define: |
51 |
# WITH_MUTT_SMIME_OUTLOOK_COMPAT |
52 |
# |
50 |
# If you want to use the rethreading functions define: |
53 |
# If you want to use the rethreading functions define: |
51 |
# WITH_MUTT_EDIT_THREADS |
54 |
# WITH_MUTT_EDIT_THREADS |
52 |
# |
55 |
# |
Lines 97-110
Link Here
|
97 |
|
100 |
|
98 |
.include <bsd.port.pre.mk> |
101 |
.include <bsd.port.pre.mk> |
99 |
|
102 |
|
100 |
.if defined(WITH_MUTT_COMPRESSED_FOLDERS) |
103 |
CD_PATCH_VERSION= 1.5.3 |
101 |
PATCH_SITES+= http://www.spinnaker.de/mutt/compressed/:spinnaker |
104 |
.if !defined(VVV_PATCH_VERSION) |
102 |
.endif |
105 |
VVV_PATCH_VERSION= ${PORTVERSION} |
103 |
.if defined(WITH_MUTT_NNTP) || defined(WITH_MUTT_QUOTE_PATCH) |
106 |
.endif |
104 |
PATCH_SITES+= http://www.mutt.org.ua/download/mutt-${PATCH_VERSION}/:vvv \ |
107 |
.if !defined(CD_PATCH_VERSION) |
105 |
http://www2.mutt.org.ua/download/mutt-${PATCH_VERSION}/:vvv \ |
108 |
CD_PATCH_VERSION= ${PORTVERSION} |
106 |
ftp://ftp.mutt.org.ua/pub/mutt/mutt-${PATCH_VERSION}/:vvv \ |
109 |
.endif |
107 |
ftp://ftp2.mutt.org.ua/pub/mutt/mutt-${PATCH_VERSION}/:vvv |
110 |
.if !defined(DW_PATCH_VERSION) |
|
|
111 |
DW_PATCH_VERSION= ${PORTVERSION} |
112 |
.endif |
113 |
|
114 |
.if defined(WITH_MUTT_COMPRESSED_FOLDERS) || defined(WITH_MUTT_NNTP) || \ |
115 |
defined(WITH_MUTT_QUOTE_PATCH) |
116 |
PATCH_SITES+= http://www.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \ |
117 |
http://www2.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \ |
118 |
ftp://ftp.mutt.org.ua/pub/mutt/mutt-${VVV_PATCH_VERSION}/:vvv \ |
119 |
ftp://ftp2.mutt.org.ua/pub/mutt/mutt-${VVV_PATCH_VERSION}/:vvv |
108 |
.endif |
120 |
.endif |
109 |
|
121 |
|
110 |
.if defined(WITH_MUTT_EDIT_THREADS) || defined(WITH_MUTT_SIGNATURE_MENU) || \ |
122 |
.if defined(WITH_MUTT_EDIT_THREADS) || defined(WITH_MUTT_SIGNATURE_MENU) || \ |
Lines 125-139
Link Here
|
125 |
-e "s|^(AUTOHEADER = ).+|\1${AUTOHEADER}|" \ |
137 |
-e "s|^(AUTOHEADER = ).+|\1${AUTOHEADER}|" \ |
126 |
${BUILD_WRKSRC}/Makefile |
138 |
${BUILD_WRKSRC}/Makefile |
127 |
|
139 |
|
128 |
PATCH_VERSION= 1.5.3 |
|
|
129 |
.if !defined(PATCH_VERSION) |
130 |
PATCH_VERSION= ${PORTVERSION} |
131 |
.endif |
132 |
|
133 |
.if defined(PACKAGE_BUILDING) |
140 |
.if defined(PACKAGE_BUILDING) |
134 |
WITH_MUTT_SSL= yes |
141 |
WITH_MUTT_SSL= yes |
135 |
WITH_MUTT_NCURSES= yes |
142 |
WITH_MUTT_NCURSES= yes |
136 |
WITH_MUTT_HTML= yes |
143 |
WITH_MUTT_HTML= yes |
|
|
144 |
WITH_MUTT_COMPRESSED_FOLDERS= yes |
145 |
WITH_MUTT_QUOTE_PATCH= yes |
146 |
WITH_MUTT_SMIME_OUTLOOK_COMPAT= yes |
147 |
WITH_MUTT_PGP_PATCH= yes |
137 |
BUILD_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell |
148 |
BUILD_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell |
138 |
RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell \ |
149 |
RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell \ |
139 |
urlview:${PORTSDIR}/textproc/urlview |
150 |
urlview:${PORTSDIR}/textproc/urlview |
Lines 178-183
Link Here
|
178 |
.if defined(WITH_MUTT_CYRUS_SASL) |
189 |
.if defined(WITH_MUTT_CYRUS_SASL) |
179 |
LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl |
190 |
LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl |
180 |
.endif |
191 |
.endif |
|
|
192 |
.if defined(WITH_MUTT_SMIME_OUTLOOK_COMPAT) |
193 |
pre-configure:: |
194 |
${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-smime-outlook |
195 |
.endif |
196 |
|
181 |
.if defined(WITH_MUTT_PGP_PATCH) |
197 |
.if defined(WITH_MUTT_PGP_PATCH) |
182 |
SGML_NEEDED= yes |
198 |
SGML_NEEDED= yes |
183 |
pre-configure:: |
199 |
pre-configure:: |
Lines 202-238
Link Here
|
202 |
PATCH_DIST_STRIP= -p1 |
218 |
PATCH_DIST_STRIP= -p1 |
203 |
|
219 |
|
204 |
.if defined(WITH_MUTT_COMPRESSED_FOLDERS) |
220 |
.if defined(WITH_MUTT_COMPRESSED_FOLDERS) |
205 |
PATCHFILES+= patch-${PORTVERSION}.rr.compressed.1.gz:spinnaker |
221 |
PATCHFILES+= patch-${VVV_PATCH_VERSION}.rr.compressed.gz:vvv |
206 |
CONFIGURE_ARGS+= --enable-compressed |
222 |
CONFIGURE_ARGS+= --enable-compressed |
207 |
SGML_NEEDED= yes |
223 |
SGML_NEEDED= yes |
208 |
.endif |
224 |
.endif |
209 |
.if defined(WITH_MUTT_NNTP) |
225 |
.if defined(WITH_MUTT_NNTP) |
210 |
.error The WITH_MUTT_NNTP is not available at the moment. |
226 |
PATCHFILES+= patch-${VVV_PATCH_VERSION}.vvv.nntp.gz:vvv |
211 |
PATCHFILES+= patch-${PATCH_VERSION}.vvv.nntp.gz:vvv |
|
|
212 |
CONFIGURE_ARGS+= --enable-nntp |
227 |
CONFIGURE_ARGS+= --enable-nntp |
213 |
SGML_NEEDED= yes |
228 |
SGML_NEEDED= yes |
214 |
.endif |
229 |
.endif |
215 |
.if defined(WITH_MUTT_QUOTE_PATCH) |
230 |
.if defined(WITH_MUTT_QUOTE_PATCH) |
216 |
PATCHFILES+= patch-${PATCH_VERSION}.vvv.initials.gz:vvv \ |
231 |
PATCHFILES+= patch-${VVV_PATCH_VERSION}.vvv.initials.gz:vvv \ |
217 |
patch-${PATCH_VERSION}.vvv.quote.gz:vvv |
232 |
patch-${VVV_PATCH_VERSION}.vvv.quote.gz:vvv |
218 |
SGML_NEEDED= yes |
233 |
SGML_NEEDED= yes |
219 |
.endif |
234 |
.endif |
220 |
.if defined(WITH_MUTT_EDIT_THREADS) |
235 |
.if defined(WITH_MUTT_EDIT_THREADS) |
221 |
PATCHFILES+= patch-${PATCH_VERSION}.cd.edit_threads.9.3:cd |
236 |
PATCHFILES+= patch-${CD_PATCH_VERSION}.cd.edit_threads.9.3:cd |
222 |
CONFIGURE_ARGS+= --enable-imap-edit-threads |
237 |
CONFIGURE_ARGS+= --enable-imap-edit-threads |
223 |
SGML_NEEDED= yes |
238 |
SGML_NEEDED= yes |
224 |
.endif |
239 |
.endif |
225 |
.if defined(WITH_MUTT_SIGNATURE_MENU) |
240 |
.if defined(WITH_MUTT_SIGNATURE_MENU) |
226 |
.error The WITH_MUTT_SIGNATURE_MENU is not available at the moment. |
241 |
.error The WITH_MUTT_SIGNATURE_MENU is not available at the moment. |
227 |
PATCHFILES+= patch-${PATCH_VERSION}.cd.signatures_menu.2.1:cd |
242 |
PATCHFILES+= patch-${CD_PATCH_VERSION}.cd.signatures_menu.2.1:cd |
228 |
SGML_NEEDED= yes |
243 |
SGML_NEEDED= yes |
229 |
.endif |
244 |
.endif |
230 |
.if defined(WITH_MUTT_IFDEF_PATCH) |
245 |
.if defined(WITH_MUTT_IFDEF_PATCH) |
231 |
PATCHFILES+= patch-${PATCH_VERSION}.cd.ifdef.1:cd |
246 |
PATCHFILES+= patch-${CD_PATCH_VERSION}.cd.ifdef.1:cd |
232 |
SGML_NEEDED= yes |
247 |
SGML_NEEDED= yes |
233 |
.endif |
248 |
.endif |
234 |
.if defined(WITH_MUTT_MBOX_HOOK_PATCH) |
249 |
.if defined(WITH_MUTT_MBOX_HOOK_PATCH) |
235 |
PATCHFILES+= p0-patch-${PATCH_VERSION}.dw.mbox-hook.1:dw |
250 |
PATCHFILES+= p0-patch-${DW_PATCH_VERSION}.dw.mbox-hook.1:dw |
236 |
.endif |
251 |
.endif |
237 |
|
252 |
|
238 |
WRKSRC= ${WRKDIR}/${DISTNAME:S/i$//} |
253 |
WRKSRC= ${WRKDIR}/${DISTNAME:S/i$//} |