|
Lines 24-30
Link Here
|
| 24 |
USE_GMAKE= yes |
24 |
USE_GMAKE= yes |
| 25 |
USE_ICONV= yes |
25 |
USE_ICONV= yes |
| 26 |
GNU_CONFIGURE= yes |
26 |
GNU_CONFIGURE= yes |
| 27 |
TIN_EDITOR?= /usr/bin/ee |
27 |
|
|
|
28 |
EDITOR?= /usr/bin/ee |
| 29 |
MM_CHARSET?= US-ASCII |
| 30 |
SCREEN?= ncurses |
| 28 |
|
31 |
|
| 29 |
# --with-mime-default-charset=US-ASCII needed to build tin in the non-ascii |
32 |
# --with-mime-default-charset=US-ASCII needed to build tin in the non-ascii |
| 30 |
# national environment. |
33 |
# national environment. |
|
Lines 32-44
Link Here
|
| 32 |
--with-spooldir=/var/news \ |
35 |
--with-spooldir=/var/news \ |
| 33 |
--with-libdir=${PREFIX}/news/lib \ |
36 |
--with-libdir=${PREFIX}/news/lib \ |
| 34 |
--with-defaults-dir=${PREFIX}/etc \ |
37 |
--with-defaults-dir=${PREFIX}/etc \ |
| 35 |
--with-editor=${TIN_EDITOR} \ |
38 |
--with-editor=${EDITOR} \ |
| 36 |
--enable-nls \ |
|
|
| 37 |
--with-pcre=yes \ |
39 |
--with-pcre=yes \ |
| 38 |
--with-screen=ncurses \ |
40 |
--with-screen=${SCREEN} \ |
| 39 |
--enable-break-long-lines \ |
41 |
--enable-break-long-lines \ |
| 40 |
--with-libiconv-prefix=${LOCALBASE} \ |
42 |
--with-libiconv-prefix=${LOCALBASE} \ |
| 41 |
--with-mime-default-charset=US-ASCII |
43 |
--with-mime-default-charset=${MM_CHARSET} |
| 42 |
CONFIGURE_ENV= CFLAGS='${CFLAGS} -DNNTP_SERVER_FILE="\"${PREFIX}/etc/nntpserver\""' \ |
44 |
CONFIGURE_ENV= CFLAGS='${CFLAGS} -DNNTP_SERVER_FILE="\"${PREFIX}/etc/nntpserver\""' \ |
| 43 |
CPPFLAGS='${CPPFLAGS} -I${LOCALBASE}/include' \ |
45 |
CPPFLAGS='${CPPFLAGS} -I${LOCALBASE}/include' \ |
| 44 |
LDFLAGS='${LDFLAGS} -L${LOCALBASE}/lib' |
46 |
LDFLAGS='${LDFLAGS} -L${LOCALBASE}/lib' |
|
Lines 47-52
Link Here
|
| 47 |
MAN5= tin.5 mbox.5 mmdf.5 |
49 |
MAN5= tin.5 mbox.5 mmdf.5 |
| 48 |
MLINKS= tin.1 rtin.1 |
50 |
MLINKS= tin.1 rtin.1 |
| 49 |
|
51 |
|
|
|
52 |
.if !defined(WITHOUT_NLS) |
| 53 |
PLIST_SUB+= NLS="" |
| 54 |
.else |
| 55 |
PLIST_SUB+= NLS="@comment " |
| 56 |
CONFIGURE_ARGS+=--disable-nls |
| 57 |
.endif |
| 58 |
|
| 50 |
.if defined(WITH_TIN_NNTP_ONLY) |
59 |
.if defined(WITH_TIN_NNTP_ONLY) |
| 51 |
CONFIGURE_ARGS+= --enable-nntp-only |
60 |
CONFIGURE_ARGS+= --enable-nntp-only |
| 52 |
.endif |
61 |
.endif |
|
Lines 107-113
Link Here
|
| 107 |
.endif |
116 |
.endif |
| 108 |
|
117 |
|
| 109 |
post-build: |
118 |
post-build: |
|
|
119 |
.if !defined(WITHOUT_NLS) |
| 110 |
cd ${WRKSRC}/po; ${GMAKE} |
120 |
cd ${WRKSRC}/po; ${GMAKE} |
|
|
121 |
.endif |
| 111 |
|
122 |
|
| 112 |
post-install: |
123 |
post-install: |
| 113 |
cd ${WRKSRC}/doc; ${INSTALL_DATA} tin.defaults ${PREFIX}/etc/tin.defaults.dist |
124 |
cd ${WRKSRC}/doc; ${INSTALL_DATA} tin.defaults ${PREFIX}/etc/tin.defaults.dist |