[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / news / tin

Annotation of pkgsrc/news/tin/Makefile, Revision 1.61

1.61    ! tnn         1: # $NetBSD: Makefile,v 1.60 2014/10/07 16:47:34 adam Exp $
1.14      wiz         2: #
1.1       tron        3:
1.59      obache      4: DISTNAME=      tin-2.2.1
1.60      adam        5: PKGREVISION=   1
1.1       tron        6: CATEGORIES=    news
1.46      wiz         7: MASTER_SITES=  ftp://ftp.tin.org/pub/news/clients/tin/stable/ \
1.59      obache      8:                ftp://ftp.funet.fi/pub/unix/news/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/ \
                     11:                ftp://ftp.cs.tu-berlin.de/pub/net/news/tin/stable/ \
                     12:                ftp://ftp.cuhk.edu.hk/pub/packages/news/tin/stable/ \
1.61    ! tnn        13:                ftp://sunsite.icm.edu.pl/pub/unix/news/tin/stable/
1.4       wiz        14: EXTRACT_SUFX=  .tar.bz2
1.1       tron       15:
1.49      wiz        16: MAINTAINER=    pkgsrc-users@NetBSD.org
1.4       wiz        17: HOMEPAGE=      http://www.tin.org/
1.7       wiz        18: COMMENT=       TIN newsreader (termcap based)
1.29      rillig     19: # See src/nntplib.c, vms/vms.c
1.31      wiz        20: LICENSE=       tin-license
1.39      wiz        21:
1.59      obache     22: RESTRICTED=            Profit from use, sale, trade, or reproduction disallowed
1.36      gdt        23: NO_SRC_ON_CDROM=       ${RESTRICTED}
                     24: NO_BIN_ON_CDROM=       ${RESTRICTED}
1.1       tron       25:
                     26: GNU_CONFIGURE= yes
1.17      dillo      27: USE_PKGLOCALEDIR=yes
1.37      wiz        28:
                     29: INSTALLATION_DIRS=     share/doc/tin
                     30:
1.23      wiz        31: # for tinews.pl
1.42      wiz        32: USE_TOOLS+=    msgfmt perl:run yacc
1.29      rillig     33: REPLACE_PERL=  tools/*.pl
1.23      wiz        34: BUILD_TARGET=  build
1.1       tron       35:
1.23      wiz        36: .include "options.mk"
1.6       veego      37:
1.23      wiz        38: CONFIGURE_ARGS+=       --with-nntp-default-server=news
                     39: CONFIGURE_ARGS+=       --with-mime-default-charset=ISO-8859-1
                     40: CONFIGURE_ARGS+=       --enable-break-long-lines
                     41: CONFIGURE_ARGS+=       --with-gpg=${PREFIX}/bin/gpg
                     42: CONFIGURE_ARGS+=       --with-ispell=${PREFIX}/bin/ispell
                     43: CONFIGURE_ARGS+=       --with-metamail=${PREFIX}/bin/metamail
                     44: CONFIGURE_ARGS+=       --with-pcre=${BUILDLINK_PREFIX.pcre}
                     45: CONFIGURE_ARGS+=       --disable-mime-strict-charset
1.59      obache     46: CONFIGURE_ARGS+=       --with-defaults-dir=${PKG_SYSCONFDIR}
1.23      wiz        47: CONFIGURE_ARGS+=       --enable-mh-mail-handling
                     48: CONFIGURE_ARGS+=       --with-coffee
1.1       tron       49:
1.29      rillig     50: SUBST_CLASSES+=                tin
                     51: SUBST_STAGE.tin=       pre-configure
                     52: SUBST_MESSAGE.tin=     Adjusting path to the configuration directory.
                     53: SUBST_FILES.tin=       doc/tin.1
1.59      obache     54: SUBST_SED.tin=         -e 's:/etc/nntpserver:${PKG_SYSCONFDIR}/nntp/server:'
1.1       tron       55:
                     56: post-configure:
1.59      obache     57:        ${ECHO} '#define NNTP_SERVER_FILE "${PKG_SYSCONFDIR}/nntp/server"' >>${WRKSRC}/include/autoconf.h
                     58:        ${ECHO} '#define SMTP_SERVER_FILE "${PKG_SYSCONFDIR}/smtpserver"' >>${WRKSRC}/include/autoconf.h
1.17      dillo      59:
                     60: post-install:
1.37      wiz        61:        ${INSTALL_DATA} ${WRKSRC}/doc/WHATSNEW ${DESTDIR}${PREFIX}/share/doc/tin
1.1       tron       62:
1.23      wiz        63: .include "../../converters/libiconv/buildlink3.mk"
                     64: .include "../../converters/uulib/buildlink3.mk"
                     65: .include "../../devel/gettext-lib/buildlink3.mk"
                     66: .include "../../devel/libidn/buildlink3.mk"
                     67: .include "../../devel/pcre/buildlink3.mk"
1.3       tv         68: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>