Lines 19-27
Link Here
|
19 |
# |
19 |
# |
20 |
# The two most important knobs are: |
20 |
# The two most important knobs are: |
21 |
# |
21 |
# |
22 |
# In general you can choose between using the SLANG port (which is really |
22 |
# In general you can choose between using the SLANG port (WITH_MUTT_SLANG) |
23 |
# recommended and is now the default) and ncurses (WITH_MUTT_NCURSES). If you |
23 |
# and ncurses (WITH_MUTT_NCURSES) which is the default. Note that you may |
24 |
# don't want to use SLANG define WITHOUT_MUTT_SLANG. |
24 |
# have to set the variables COLORTERM=yes and COLORFGBG=color,color in your |
|
|
25 |
# environment to get slang function properly. |
25 |
# |
26 |
# |
26 |
# If you want to install the mutt documentation in html format define: |
27 |
# If you want to install the mutt documentation in html format define: |
27 |
# WITH_MUTT_HTML |
28 |
# WITH_MUTT_HTML |
Lines 51-57
Link Here
|
51 |
|
52 |
|
52 |
PORTNAME= mutt-devel |
53 |
PORTNAME= mutt-devel |
53 |
PORTVERSION= 1.3.99 |
54 |
PORTVERSION= 1.3.99 |
54 |
#PORTREVISION?= 0 |
55 |
PORTREVISION?= 1 |
55 |
CATEGORIES+= mail |
56 |
CATEGORIES+= mail |
56 |
.if defined(WITH_MUTT_NNTP) |
57 |
.if defined(WITH_MUTT_NNTP) |
57 |
CATEGORIES+= news |
58 |
CATEGORIES+= news |
Lines 103-127
Link Here
|
103 |
|
104 |
|
104 |
.if defined(PACKAGE_BUILDING) |
105 |
.if defined(PACKAGE_BUILDING) |
105 |
WITH_MUTT_SSL= yes |
106 |
WITH_MUTT_SSL= yes |
106 |
WITH_MUTT_SLANG= yes |
107 |
WITH_MUTT_NCURSES= yes |
107 |
WITH_MUTT_HTML= yes |
108 |
WITH_MUTT_HTML= yes |
108 |
BUILD_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell |
109 |
BUILD_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell |
109 |
RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell \ |
110 |
RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell \ |
110 |
urlview:${PORTSDIR}/textproc/urlview |
111 |
urlview:${PORTSDIR}/textproc/urlview |
111 |
.endif |
112 |
.endif |
112 |
|
113 |
|
113 |
.if defined(WITH_MUTT_SLANG) |
|
|
114 |
USE_SLANG= yes |
115 |
.endif |
116 |
.if defined(WITH_MUTT_NCURSES_PORT) |
114 |
.if defined(WITH_MUTT_NCURSES_PORT) |
117 |
WITH_MUTT_NCURSES= yes |
115 |
WITH_MUTT_NCURSES= yes |
118 |
.endif |
116 |
.endif |
119 |
.if defined(WITH_MUTT_NCURSES) && !defined(USE_SLANG) |
117 |
.if defined(WITH_MUTT_NCURSES) |
120 |
USE_NCURSES= yes |
118 |
USE_NCURSES= yes |
121 |
.endif |
119 |
.endif |
122 |
.if !defined(USE_SLANG) && !defined(WITHOUT_MUTT_SLANG) && !defined(USE_NCURSES) |
120 |
.if defined(WITH_MUTT_SLANG) && !defined(USE_NCURSES) |
123 |
USE_SLANG= yes |
121 |
USE_SLANG= yes |
124 |
.endif |
122 |
.endif |
|
|
123 |
.if !defined(USE_NCURSES) && !defined(WITHOUT_MUTT_NCURSES) && !defined(USE_SLANG) |
124 |
USE_NCURSES= yes |
125 |
.endif |
125 |
.if defined(WITHOUT_MUTT_SGMLFORMAT) |
126 |
.if defined(WITHOUT_MUTT_SGMLFORMAT) |
126 |
SGML_USED= no |
127 |
SGML_USED= no |
127 |
.endif |
128 |
.endif |
Lines 134-144
Link Here
|
134 |
.if defined(NOPORTDOCS) |
135 |
.if defined(NOPORTDOCS) |
135 |
SGML_USED= no |
136 |
SGML_USED= no |
136 |
.endif |
137 |
.endif |
137 |
.if defined(USE_SLANG) |
138 |
.if defined(USE_NCURSES) && ${OSVERSION} < 400000 |
138 |
LIB_DEPENDS+= slang.1:${PORTSDIR}/devel/libslang |
|
|
139 |
.elif defined(USE_NCURSES) && ${OSVERSION} < 400000 |
140 |
LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses |
139 |
LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses |
141 |
CFLAGS+= -I${PREFIX}/include/ncurses -I${PREFIX}/include |
140 |
CFLAGS+= -I${PREFIX}/include/ncurses -I${PREFIX}/include |
|
|
141 |
.elif defined(USE_SLANG) |
142 |
LIB_DEPENDS+= slang.1:${PORTSDIR}/devel/libslang |
142 |
.endif |
143 |
.endif |
143 |
.if defined(WITH_MUTT_SSL) |
144 |
.if defined(WITH_MUTT_SSL) |
144 |
USE_OPENSSL= yes |
145 |
USE_OPENSSL= yes |
Lines 157-166
Link Here
|
157 |
.if defined(WITH_MUTT_LOCALES_FIX) |
158 |
.if defined(WITH_MUTT_LOCALES_FIX) |
158 |
CONFIGURE_ARGS+= --enable-locales-fix |
159 |
CONFIGURE_ARGS+= --enable-locales-fix |
159 |
.endif |
160 |
.endif |
160 |
.if defined(USE_SLANG) |
161 |
.if defined(USE_NCURSES) && ${OSVERSION} < 400000 |
161 |
CONFIGURE_ARGS+= --with-slang=${PREFIX} |
|
|
162 |
.elif defined(USE_NCURSES) && ${OSVERSION} < 400000 |
163 |
CONFIGURE_ARGS+= --with-curses=${PREFIX} |
162 |
CONFIGURE_ARGS+= --with-curses=${PREFIX} |
|
|
163 |
.elif defined(USE_SLANG) |
164 |
CONFIGURE_ARGS+= --with-slang=${PREFIX} |
164 |
.endif |
165 |
.endif |
165 |
.if defined(WITH_MUTT_SSL) |
166 |
.if defined(WITH_MUTT_SSL) |
166 |
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} |
167 |
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} |