diff options
author | veego <veego@pkgsrc.org> | 2000-10-15 07:20:42 +0000 |
---|---|---|
committer | veego <veego@pkgsrc.org> | 2000-10-15 07:20:42 +0000 |
commit | 4b85fd0d6c6bbaafab80ae0604ebd9482647ab93 (patch) | |
tree | e3857c68becb5195c601dda72fe63647d00a4e83 /news/tin/Makefile | |
parent | ab40caab2ec09f210f03e8b3835c3c7ce6477281 (diff) | |
download | pkgsrc-4b85fd0d6c6bbaafab80ae0604ebd9482647ab93.tar.gz |
Add TIN_USE_INN_SPOOL which enables support for reading directly in an inn
spool. This makes reading news much faster if you have a local inn.
Diffstat (limited to 'news/tin/Makefile')
-rw-r--r-- | news/tin/Makefile | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/news/tin/Makefile b/news/tin/Makefile index c55c209b60d..a9a331c4279 100644 --- a/news/tin/Makefile +++ b/news/tin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2000/08/10 10:03:23 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2000/10/15 07:20:42 veego Exp $ # $FreeBSD Id: Makefile,v 1.17 1997/06/16 06:39:51 max Exp DISTNAME= tin-1.4.4 @@ -17,21 +17,35 @@ HOMEPAGE= http://www.tin.org/ GNU_CONFIGURE= yes +.include "../../mk/bsd.prefs.mk" + +.if defined(TIN_USE_INN_SPOOL) && ${TIN_USE_INN_SPOOL} == YES +INN_DATA_DIR?= /var/news +.endif + # Curses support too buggy to activate # --enable-curses \ # --with-ncurses \ # -CONFIGURE_ARGS= --with-nntp-default-server=news \ +CONFIGURE_ARGS+= --with-nntp-default-server=news \ --with-mime-default-charset=ISO-8859-1 \ --enable-forgery \ --enable-break-long-lines \ --with-ispell=${PREFIX}/bin/ispell \ --with-metamail=${PREFIX}/bin/metamail \ - --enable-nntp-only \ --disable-mime-strict-charset \ --with-defaults-dir=${PREFIX}/etc \ --enable-mh-mail-handling \ --with-coffee +.if defined(TIN_USE_INN_SPOOL) && ${TIN_USE_INN_SPOOL} == YES +CONFIGURE_ARGS+= --with-inews-dir=${PREFIX}/inn/bin \ + --with-libdir=${INN_DATA_DIR}/db \ + --with-spooldir=${INN_DATA_DIR}/spool/articles \ + --with-nov-dir=${INN_DATA_DIR}/spool/overview +.else +CONFIGURE_ARGS+= --enable-nntp-only +.endif + MAKEFILE= makefile ALL_TARGET= build |