2009-07-17 01:04:06 +02:00
|
|
|
# $NetBSD: Makefile,v 1.40 2009/07/16 23:04:06 zafer Exp $
|
2002-11-14 14:31:55 +01:00
|
|
|
#
|
1998-07-16 19:40:09 +02:00
|
|
|
|
2007-02-02 20:29:12 +01:00
|
|
|
DISTNAME= tin-1.8.3
|
1998-07-16 19:40:09 +02:00
|
|
|
CATEGORIES= news
|
|
|
|
MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/current/ \
|
2000-02-06 03:34:26 +01:00
|
|
|
ftp://ftp.cs.tu-berlin.de/pub/net/news/tin/current/ \
|
2007-11-12 01:04:36 +01:00
|
|
|
ftp://ftp.funet.fi/pub/unix/news/tin-unoff/
|
2000-02-06 03:34:26 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2009-03-25 23:37:12 +01:00
|
|
|
PKGREVISION= 1
|
1998-07-16 19:40:09 +02:00
|
|
|
|
2007-09-14 01:26:24 +02:00
|
|
|
MAINTAINER= wiz@NetBSD.org
|
2000-02-06 03:34:26 +01:00
|
|
|
HOMEPAGE= http://www.tin.org/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= TIN newsreader (termcap based)
|
2006-07-17 17:48:47 +02:00
|
|
|
# See src/nntplib.c, vms/vms.c
|
2007-09-05 23:59:41 +02:00
|
|
|
LICENSE= tin-license
|
2009-05-19 10:59:00 +02:00
|
|
|
|
2006-04-22 11:22:05 +02:00
|
|
|
RESTRICTED= Profit from use, sale, trade, or reproduction disallowed
|
2008-09-12 13:33:44 +02:00
|
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
2001-06-04 21:55:13 +02:00
|
|
|
|
1998-07-16 19:40:09 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2003-12-16 01:11:48 +01:00
|
|
|
USE_PKGLOCALEDIR=yes
|
2009-02-16 10:56:09 +01:00
|
|
|
|
|
|
|
INSTALLATION_DIRS= share/doc/tin
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2006-01-01 17:10:29 +01:00
|
|
|
# for tinews.pl
|
2006-06-21 00:19:38 +02:00
|
|
|
USE_TOOLS+= perl:run yacc
|
2006-07-17 17:48:47 +02:00
|
|
|
REPLACE_PERL= tools/*.pl
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= build
|
1998-07-16 19:40:09 +02:00
|
|
|
|
2006-01-01 17:10:29 +01:00
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --with-nntp-default-server=news
|
|
|
|
CONFIGURE_ARGS+= --with-mime-default-charset=ISO-8859-1
|
|
|
|
CONFIGURE_ARGS+= --enable-forgery
|
|
|
|
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=${PREFIX}/etc
|
|
|
|
CONFIGURE_ARGS+= --enable-mh-mail-handling
|
|
|
|
CONFIGURE_ARGS+= --with-coffee
|
|
|
|
|
2006-07-17 17:48:47 +02:00
|
|
|
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:${PREFIX}/etc/nntp/server:'
|
1998-07-16 19:40:09 +02:00
|
|
|
|
|
|
|
post-configure:
|
1999-01-06 19:04:19 +01:00
|
|
|
${ECHO} '#define NNTP_SERVER_FILE "${PREFIX}/etc/nntp/server"' >>${WRKSRC}/include/autoconf.h
|
1998-07-16 19:40:09 +02:00
|
|
|
${ECHO} '#define SMTP_SERVER_FILE "${PREFIX}/etc/smtpserver"' >>${WRKSRC}/include/autoconf.h
|
|
|
|
|
2003-12-16 01:11:48 +01:00
|
|
|
post-install:
|
2009-02-16 10:56:09 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/WHATSNEW ${DESTDIR}${PREFIX}/share/doc/tin
|
2003-12-16 01:11:48 +01:00
|
|
|
|
2006-01-01 17:10:29 +01:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
|
|
.include "../../converters/uulib/buildlink3.mk"
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../devel/libidn/buildlink3.mk"
|
|
|
|
.include "../../devel/pcre/buildlink3.mk"
|
1999-01-06 19:04:19 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|