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

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

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

CVSweb <webmaster@jp.NetBSD.org>