summaryrefslogtreecommitdiff
path: root/news/tin/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2006-01-01 16:10:29 +0000
committerwiz <wiz>2006-01-01 16:10:29 +0000
commit65ddb4629cb42260ca91bcca7a5b98b83e9d2667 (patch)
tree0c6d328f498bbffccfa922ae3ba9364e6205bb59 /news/tin/Makefile
parent0299ebf60366b01b8f2c40462ff4f2ad9ad79392 (diff)
downloadpkgsrc-65ddb4629cb42260ca91bcca7a5b98b83e9d2667.tar.gz
Update to 1.8.0.
Convert to options framework. Prefer package version to internal version of pcre. Add curses and inet6 options. New features and changes since tin-1.6.0 Changes ------- . interactive mailer can now be fed with headers. The old use_mailreader_i config variable is obsolete and superseded by the new interactive_mailer variable that can have three values: 0 no interactive mailreader (old use_mailreader_i=OFF) 1 interactive mailreader with headers 2 interactive mailreader without headers (old use_mailreader_i=ON) New features ------------ . You can now specify a mailbox folder to save your sent mails (fcc=) so you possibly don't need auto_cc or auto_bcc anymore. See tin(5). . x_headers can take a command which generates the header(s). See tin(5). . mime_forward (message/rfc822) attributes option . single line scrolling in all levels . minimalistic BiDi support (render_bidi) . minimalistic IDNA decoding support . display non-printable characters as octals in raw-mode . user defined date_format . support non-ascii key-bindings . 'percentage match' threading Retired Features ---------------- . AmigaOS support
Diffstat (limited to 'news/tin/Makefile')
-rw-r--r--news/tin/Makefile58
1 files changed, 25 insertions, 33 deletions
diff --git a/news/tin/Makefile b/news/tin/Makefile
index 01f3eafa00d..8c90e4eab7c 100644
--- a/news/tin/Makefile
+++ b/news/tin/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2005/04/11 21:47:03 tv Exp $
+# $NetBSD: Makefile,v 1.23 2006/01/01 16:10:29 wiz Exp $
#
-DISTNAME= tin-1.6.2
-PKGREVISION= 1
+DISTNAME= tin-1.8.0
CATEGORIES= news
MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/current/ \
ftp://ftp.cs.tu-berlin.de/pub/net/news/tin/current/ \
@@ -22,38 +21,26 @@ RESTRICTED= "Profit from use, sale, trade, or reproduction disallowed"
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR=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 \
- --with-mime-default-charset=ISO-8859-1 \
- --enable-forgery \
- --enable-break-long-lines \
- --with-ispell=${PREFIX}/bin/ispell \
- --with-metamail=${PREFIX}/bin/metamail \
- --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
-
+# for tinews.pl
+USE_TOOLS+= perl:run
+REPLACE_PERL= tools/tinews.pl
BUILD_TARGET= build
+.include "options.mk"
+
+CONFIGURE_ARGS+= --with-nntp-default-server=news
+CONFIGURE_ARGS+= --with-mime-default-charset=ISO-8859-1
+CONFIGURE_ARGS+= --enable-forgery
+CONFIGURE_ARGS+= --enable-break-long-lines
+CONFIGURE_ARGS+= --with-gpg=${PREFIX}/bin/gpg
+CONFIGURE_ARGS+= --with-ispell=${PREFIX}/bin/ispell
+CONFIGURE_ARGS+= --with-metamail=${PREFIX}/bin/metamail
+CONFIGURE_ARGS+= --with-pcre=${BUILDLINK_PREFIX.pcre}
+CONFIGURE_ARGS+= --disable-mime-strict-charset
+CONFIGURE_ARGS+= --with-defaults-dir=${PREFIX}/etc
+CONFIGURE_ARGS+= --enable-mh-mail-handling
+CONFIGURE_ARGS+= --with-coffee
+
post-patch:
@${MV} ${WRKSRC}/doc/tin.1 ${WRKSRC}/doc/tin.1.dist
@${SED} -e 's:/etc/nntpserver:${PREFIX}/etc/nntp/server:' \
@@ -67,4 +54,9 @@ post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tin
${INSTALL_DATA} ${WRKSRC}/doc/WHATSNEW ${PREFIX}/share/doc/tin
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../converters/uulib/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/libidn/buildlink3.mk"
+.include "../../devel/pcre/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"