| @@ -1,18 +1,18 @@ | | | @@ -1,18 +1,18 @@ |
1 | # $NetBSD: Makefile,v 1.71 2017/01/05 12:37:08 roy Exp $ | | 1 | # $NetBSD: Makefile,v 1.72 2017/01/11 02:15:56 roy Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= tin-2.2.1 | | 4 | DISTNAME= tin-2.2.1 |
5 | PKGREVISION= 10 | | 5 | PKGREVISION= 11 |
6 | CATEGORIES= news | | 6 | CATEGORIES= news |
7 | MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/stable/ \ | | 7 | MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/stable/ \ |
8 | ftp://ftp.funet.fi/pub/unix/news/tin-unoff/ \ | | 8 | ftp://ftp.funet.fi/pub/unix/news/tin-unoff/ \ |
9 | ftp://ftp.lip6.fr/pub/unix/news/readers/tin-unoff/ \ | | 9 | ftp://ftp.lip6.fr/pub/unix/news/readers/tin-unoff/ \ |
10 | ftp://ftp.akk.uni-karlsruhe.de/pub/news/clients/tin/stable/ \ | | 10 | ftp://ftp.akk.uni-karlsruhe.de/pub/news/clients/tin/stable/ \ |
11 | ftp://ftp.cs.tu-berlin.de/pub/net/news/tin/stable/ \ | | 11 | ftp://ftp.cs.tu-berlin.de/pub/net/news/tin/stable/ \ |
12 | ftp://ftp.cuhk.edu.hk/pub/packages/news/tin/stable/ \ | | 12 | ftp://ftp.cuhk.edu.hk/pub/packages/news/tin/stable/ \ |
13 | ftp://sunsite.icm.edu.pl/pub/unix/news/tin/stable/ | | 13 | ftp://sunsite.icm.edu.pl/pub/unix/news/tin/stable/ |
14 | EXTRACT_SUFX= .tar.bz2 | | 14 | EXTRACT_SUFX= .tar.bz2 |
15 | | | 15 | |
16 | MAINTAINER= pkgsrc-users@NetBSD.org | | 16 | MAINTAINER= pkgsrc-users@NetBSD.org |
17 | HOMEPAGE= http://www.tin.org/ | | 17 | HOMEPAGE= http://www.tin.org/ |
18 | COMMENT= TIN newsreader (termcap based) | | 18 | COMMENT= TIN newsreader (termcap based) |
| @@ -37,36 +37,32 @@ BUILD_TARGET= build | | | @@ -37,36 +37,32 @@ BUILD_TARGET= build |
37 | | | 37 | |
38 | CONFIGURE_ARGS+= --with-nntp-default-server=news | | 38 | CONFIGURE_ARGS+= --with-nntp-default-server=news |
39 | CONFIGURE_ARGS+= --with-mime-default-charset=ISO-8859-1 | | 39 | CONFIGURE_ARGS+= --with-mime-default-charset=ISO-8859-1 |
40 | CONFIGURE_ARGS+= --enable-break-long-lines | | 40 | CONFIGURE_ARGS+= --enable-break-long-lines |
41 | CONFIGURE_ARGS+= --with-gpg=${PREFIX}/bin/gpg | | 41 | CONFIGURE_ARGS+= --with-gpg=${PREFIX}/bin/gpg |
42 | CONFIGURE_ARGS+= --with-ispell=${PREFIX}/bin/ispell | | 42 | CONFIGURE_ARGS+= --with-ispell=${PREFIX}/bin/ispell |
43 | CONFIGURE_ARGS+= --with-metamail=${PREFIX}/bin/metamail | | 43 | CONFIGURE_ARGS+= --with-metamail=${PREFIX}/bin/metamail |
44 | CONFIGURE_ARGS+= --with-pcre=${BUILDLINK_PREFIX.pcre} | | 44 | CONFIGURE_ARGS+= --with-pcre=${BUILDLINK_PREFIX.pcre} |
45 | CONFIGURE_ARGS+= --disable-mime-strict-charset | | 45 | CONFIGURE_ARGS+= --disable-mime-strict-charset |
46 | CONFIGURE_ARGS+= --with-defaults-dir=${PKG_SYSCONFDIR} | | 46 | CONFIGURE_ARGS+= --with-defaults-dir=${PKG_SYSCONFDIR} |
47 | CONFIGURE_ARGS+= --enable-mh-mail-handling | | 47 | CONFIGURE_ARGS+= --enable-mh-mail-handling |
48 | CONFIGURE_ARGS+= --with-coffee | | 48 | CONFIGURE_ARGS+= --with-coffee |
49 | | | 49 | |
50 | CONFIGURE_ARGS+= --with-screen=${CURSES_TYPE} | | | |
51 | CONFIGURE_ARGS+= --with-curses-dir=${BUILDLINK_PREFIX.curses} | | | |
52 | | | | |
53 | SUBST_CLASSES+= tin | | 50 | SUBST_CLASSES+= tin |
54 | SUBST_STAGE.tin= pre-configure | | 51 | SUBST_STAGE.tin= pre-configure |
55 | SUBST_MESSAGE.tin= Adjusting path to the configuration directory. | | 52 | SUBST_MESSAGE.tin= Adjusting path to the configuration directory. |
56 | SUBST_FILES.tin= doc/tin.1 | | 53 | SUBST_FILES.tin= doc/tin.1 |
57 | SUBST_SED.tin= -e 's:/etc/nntpserver:${PKG_SYSCONFDIR}/nntp/server:' | | 54 | SUBST_SED.tin= -e 's:/etc/nntpserver:${PKG_SYSCONFDIR}/nntp/server:' |
58 | | | 55 | |
59 | post-configure: | | 56 | post-configure: |
60 | ${ECHO} '#define NNTP_SERVER_FILE "${PKG_SYSCONFDIR}/nntp/server"' >>${WRKSRC}/include/autoconf.h | | 57 | ${ECHO} '#define NNTP_SERVER_FILE "${PKG_SYSCONFDIR}/nntp/server"' >>${WRKSRC}/include/autoconf.h |
61 | ${ECHO} '#define SMTP_SERVER_FILE "${PKG_SYSCONFDIR}/smtpserver"' >>${WRKSRC}/include/autoconf.h | | 58 | ${ECHO} '#define SMTP_SERVER_FILE "${PKG_SYSCONFDIR}/smtpserver"' >>${WRKSRC}/include/autoconf.h |
62 | | | 59 | |
63 | post-install: | | 60 | post-install: |
64 | ${INSTALL_DATA} ${WRKSRC}/doc/WHATSNEW ${DESTDIR}${PREFIX}/share/doc/tin | | 61 | ${INSTALL_DATA} ${WRKSRC}/doc/WHATSNEW ${DESTDIR}${PREFIX}/share/doc/tin |
65 | | | 62 | |
66 | .include "../../converters/libiconv/buildlink3.mk" | | 63 | .include "../../converters/libiconv/buildlink3.mk" |
67 | .include "../../converters/uulib/buildlink3.mk" | | 64 | .include "../../converters/uulib/buildlink3.mk" |
68 | .include "../../devel/gettext-lib/buildlink3.mk" | | 65 | .include "../../devel/gettext-lib/buildlink3.mk" |
69 | .include "../../devel/libidn/buildlink3.mk" | | 66 | .include "../../devel/libidn/buildlink3.mk" |
70 | .include "../../devel/pcre/buildlink3.mk" | | 67 | .include "../../devel/pcre/buildlink3.mk" |
71 | .include "../../mk/curses.buildlink3.mk" | | | |
72 | .include "../../mk/bsd.pkg.mk" | | 68 | .include "../../mk/bsd.pkg.mk" |