aa53adb898
-- 2.6.1 release 20211226 "Convalmore" -- 004) Michael Baeuerle <michael.baeuerle@stz-e.de> BUG. wrong pkg-config file name for libcanlock3 FIX. aclocal.m4 003) Urs Janssen <urs@tin.org> ADD. config.guess, config.sub update ADD. don't count comment and empty lines in newsrc-file ADD. fixed mixed declarations and code ADD. const qualification for free_if_not_default() and strfpath_cp() ADD. allow to cancel wait_message() via key press BUG. missing bounds checking in *highlight_string() BUG. use of wint_t in !MULTIBYTE_ABLE code FIX. curses.c, help.c, memory.c, misc.c, newsrc.c, page.c, prompt.c rfc2046.c, screen.c, select.c, tcurses.c, extern.h, tin.5 config.guess, config.sub 002) Thomas E. Dickey <dickey@invisible-island.net> BUG. missing configure check for get_wch and wget_wch ADD. workaround for possible redefinition of bool type when using pdcurses FIX. autoconf.hin, tcurses.h, tin.h, Makefile.in, aclocal.m4 configure[.in] 001) Matt Anton <tin@lv223.org> ADD. updated French translation FIX. fr.po
64 lines
2.3 KiB
Makefile
64 lines
2.3 KiB
Makefile
# $NetBSD: Makefile,v 1.98 2022/01/12 11:41:41 micha Exp $
|
|
|
|
DISTNAME= tin-2.6.1
|
|
CATEGORIES= news
|
|
MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/stable/
|
|
MASTER_SITES+= http://ftp.funet.fi/pub/unix/news/tin-unoff/
|
|
MASTER_SITES+= ftp://ftp.lip6.fr/pub/unix/news/readers/tin-unoff/
|
|
MASTER_SITES+= ftp://ftp.cuhk.edu.hk/pub/packages/news/tin/stable/
|
|
MASTER_SITES+= ftp://sunsite.icm.edu.pl/pub/unix/news/tin/stable/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.tin.org/
|
|
COMMENT= USENET newsreader (termcap based)
|
|
# See src/nntplib.c, vms/vms.c
|
|
LICENSE= tin-license
|
|
|
|
RESTRICTED= Profit from use, sale, trade, or reproduction disallowed
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
INSTALLATION_DIRS= share/doc/tin
|
|
|
|
# for tinews.pl
|
|
USE_TOOLS+= msgfmt perl:run pkg-config yacc
|
|
REPLACE_PERL= tools/*.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-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=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= --enable-mh-mail-handling
|
|
CONFIGURE_ARGS+= --with-coffee
|
|
|
|
SUBST_CLASSES+= tin
|
|
SUBST_STAGE.tin= pre-configure
|
|
SUBST_MESSAGE.tin= Adjusting path to the configuration directory.
|
|
SUBST_FILES.tin= doc/tin.1
|
|
SUBST_SED.tin= -e 's:/etc/nntpserver:${PKG_SYSCONFDIR}/nntp/server:'
|
|
|
|
post-configure:
|
|
${ECHO} '#define NNTP_SERVER_FILE "${PKG_SYSCONFDIR}/nntp/server"' >>${WRKSRC}/include/autoconf.h
|
|
${ECHO} '#define SMTP_SERVER_FILE "${PKG_SYSCONFDIR}/smtpserver"' >>${WRKSRC}/include/autoconf.h
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/doc/WHATSNEW ${DESTDIR}${PREFIX}/share/doc/tin
|
|
${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/mmdf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/tin-mmdf.5
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../converters/uulib/buildlink3.mk"
|
|
.include "../../devel/libidn/buildlink3.mk"
|
|
.include "../../devel/pcre/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|