| @@ -1,65 +1,64 @@ | | | @@ -1,65 +1,64 @@ |
1 | # $NetBSD: Makefile,v 1.86 2019/11/04 19:17:11 rillig Exp $ | | 1 | # $NetBSD: Makefile,v 1.87 2019/12/26 21:57:50 leot Exp $ |
2 | | | 2 | |
3 | DISTNAME= tin-2.4.3 | | 3 | DISTNAME= tin-2.4.4 |
4 | PKGREVISION= 2 | | | |
5 | CATEGORIES= news | | 4 | CATEGORIES= news |
6 | MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/stable/ | | 5 | MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/stable/ |
7 | MASTER_SITES+= ftp://ftp.funet.fi/pub/unix/news/tin-unoff/ | | 6 | MASTER_SITES+= ftp://ftp.funet.fi/pub/unix/news/tin-unoff/ |
8 | MASTER_SITES+= ftp://ftp.lip6.fr/pub/unix/news/readers/tin-unoff/ | | 7 | MASTER_SITES+= ftp://ftp.lip6.fr/pub/unix/news/readers/tin-unoff/ |
9 | MASTER_SITES+= ftp://ftp.cuhk.edu.hk/pub/packages/news/tin/stable/ | | 8 | MASTER_SITES+= ftp://ftp.cuhk.edu.hk/pub/packages/news/tin/stable/ |
10 | MASTER_SITES+= ftp://sunsite.icm.edu.pl/pub/unix/news/tin/stable/ | | 9 | MASTER_SITES+= ftp://sunsite.icm.edu.pl/pub/unix/news/tin/stable/ |
11 | EXTRACT_SUFX= .tar.xz | | 10 | EXTRACT_SUFX= .tar.xz |
12 | | | 11 | |
13 | MAINTAINER= pkgsrc-users@NetBSD.org | | 12 | MAINTAINER= pkgsrc-users@NetBSD.org |
14 | HOMEPAGE= http://www.tin.org/ | | 13 | HOMEPAGE= http://www.tin.org/ |
15 | COMMENT= USENET newsreader (termcap based) | | 14 | COMMENT= USENET newsreader (termcap based) |
16 | # See src/nntplib.c, vms/vms.c | | 15 | # See src/nntplib.c, vms/vms.c |
17 | LICENSE= tin-license | | 16 | LICENSE= tin-license |
18 | | | 17 | |
19 | RESTRICTED= Profit from use, sale, trade, or reproduction disallowed | | 18 | RESTRICTED= Profit from use, sale, trade, or reproduction disallowed |
20 | NO_BIN_ON_CDROM= ${RESTRICTED} | | 19 | NO_BIN_ON_CDROM= ${RESTRICTED} |
21 | NO_SRC_ON_CDROM= ${RESTRICTED} | | 20 | NO_SRC_ON_CDROM= ${RESTRICTED} |
22 | | | 21 | |
23 | GNU_CONFIGURE= yes | | 22 | GNU_CONFIGURE= yes |
24 | USE_PKGLOCALEDIR= yes | | 23 | USE_PKGLOCALEDIR= yes |
25 | | | 24 | |
26 | INSTALLATION_DIRS= share/doc/tin | | 25 | INSTALLATION_DIRS= share/doc/tin |
27 | | | 26 | |
28 | # for tinews.pl | | 27 | # for tinews.pl |
29 | USE_TOOLS+= msgfmt perl:run yacc | | 28 | USE_TOOLS+= msgfmt perl:run yacc |
30 | REPLACE_PERL= tools/*.pl | | 29 | REPLACE_PERL= tools/*.pl |
31 | BUILD_TARGET= build | | 30 | BUILD_TARGET= build |
32 | | | 31 | |
33 | .include "options.mk" | | 32 | .include "options.mk" |
34 | | | 33 | |
35 | CONFIGURE_ARGS+= --with-nntp-default-server=news | | 34 | CONFIGURE_ARGS+= --with-nntp-default-server=news |
36 | CONFIGURE_ARGS+= --with-mime-default-charset=ISO-8859-1 | | 35 | CONFIGURE_ARGS+= --with-mime-default-charset=ISO-8859-1 |
37 | CONFIGURE_ARGS+= --enable-break-long-lines | | 36 | CONFIGURE_ARGS+= --enable-break-long-lines |
38 | CONFIGURE_ARGS+= --with-gpg=${PREFIX}/bin/gpg | | 37 | CONFIGURE_ARGS+= --with-gpg=${PREFIX}/bin/gpg |
39 | CONFIGURE_ARGS+= --with-ispell=${PREFIX}/bin/ispell | | 38 | CONFIGURE_ARGS+= --with-ispell=${PREFIX}/bin/ispell |
40 | CONFIGURE_ARGS+= --with-metamail=${PREFIX}/bin/metamail | | 39 | CONFIGURE_ARGS+= --with-metamail=${PREFIX}/bin/metamail |
41 | CONFIGURE_ARGS+= --with-pcre=${BUILDLINK_PREFIX.pcre} | | 40 | CONFIGURE_ARGS+= --with-pcre=${BUILDLINK_PREFIX.pcre} |
42 | CONFIGURE_ARGS+= --disable-mime-strict-charset | | 41 | CONFIGURE_ARGS+= --disable-mime-strict-charset |
43 | CONFIGURE_ARGS+= --with-defaults-dir=${PKG_SYSCONFDIR} | | 42 | CONFIGURE_ARGS+= --with-defaults-dir=${PKG_SYSCONFDIR} |
44 | CONFIGURE_ARGS+= --enable-mh-mail-handling | | 43 | CONFIGURE_ARGS+= --enable-mh-mail-handling |
45 | CONFIGURE_ARGS+= --with-coffee | | 44 | CONFIGURE_ARGS+= --with-coffee |
46 | | | 45 | |
47 | SUBST_CLASSES+= tin | | 46 | SUBST_CLASSES+= tin |
48 | SUBST_STAGE.tin= pre-configure | | 47 | SUBST_STAGE.tin= pre-configure |
49 | SUBST_MESSAGE.tin= Adjusting path to the configuration directory. | | 48 | SUBST_MESSAGE.tin= Adjusting path to the configuration directory. |
50 | SUBST_FILES.tin= doc/tin.1 | | 49 | SUBST_FILES.tin= doc/tin.1 |
51 | SUBST_SED.tin= -e 's:/etc/nntpserver:${PKG_SYSCONFDIR}/nntp/server:' | | 50 | SUBST_SED.tin= -e 's:/etc/nntpserver:${PKG_SYSCONFDIR}/nntp/server:' |
52 | | | 51 | |
53 | post-configure: | | 52 | post-configure: |
54 | ${ECHO} '#define NNTP_SERVER_FILE "${PKG_SYSCONFDIR}/nntp/server"' >>${WRKSRC}/include/autoconf.h | | 53 | ${ECHO} '#define NNTP_SERVER_FILE "${PKG_SYSCONFDIR}/nntp/server"' >>${WRKSRC}/include/autoconf.h |
55 | ${ECHO} '#define SMTP_SERVER_FILE "${PKG_SYSCONFDIR}/smtpserver"' >>${WRKSRC}/include/autoconf.h | | 54 | ${ECHO} '#define SMTP_SERVER_FILE "${PKG_SYSCONFDIR}/smtpserver"' >>${WRKSRC}/include/autoconf.h |
56 | | | 55 | |
57 | post-install: | | 56 | post-install: |
58 | ${INSTALL_DATA} ${WRKSRC}/doc/WHATSNEW ${DESTDIR}${PREFIX}/share/doc/tin | | 57 | ${INSTALL_DATA} ${WRKSRC}/doc/WHATSNEW ${DESTDIR}${PREFIX}/share/doc/tin |
59 | ${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/mmdf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/tin-mmdf.5 | | 58 | ${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/mmdf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/tin-mmdf.5 |
60 | | | 59 | |
61 | .include "../../converters/libiconv/buildlink3.mk" | | 60 | .include "../../converters/libiconv/buildlink3.mk" |
62 | .include "../../converters/uulib/buildlink3.mk" | | 61 | .include "../../converters/uulib/buildlink3.mk" |
63 | .include "../../devel/libidn/buildlink3.mk" | | 62 | .include "../../devel/libidn/buildlink3.mk" |
64 | .include "../../devel/pcre/buildlink3.mk" | | 63 | .include "../../devel/pcre/buildlink3.mk" |
65 | .include "../../mk/bsd.pkg.mk" | | 64 | .include "../../mk/bsd.pkg.mk" |