2018-01-19 07:39:54 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.52 2018/01/19 07:39:54 giovanni Exp $
|
1997-11-18 11:05:01 +00:00
|
|
|
|
2008-05-13 14:48:33 +00:00
|
|
|
COMMENT= threaded NNTP- and spool-based UseNet newsreader
|
2001-04-13 20:43:30 +00:00
|
|
|
|
2008-05-13 14:48:33 +00:00
|
|
|
DISTNAME= tin-${MAJORVERSION}.${PATCHLEVEL}
|
2016-09-01 15:27:32 +00:00
|
|
|
MAJORVERSION= 2.4
|
2018-01-19 07:39:54 +00:00
|
|
|
PATCHLEVEL= 2
|
2000-07-02 11:05:46 +00:00
|
|
|
CATEGORIES= news
|
2002-10-28 01:50:16 +00:00
|
|
|
|
2018-01-19 07:39:54 +00:00
|
|
|
MASTER_SITES= http://ftp.cuhk.edu.hk/pub/packages/news/tin/v${MAJORVERSION}/ \
|
2015-06-21 20:06:46 +00:00
|
|
|
http://ftp.lip6.fr/pub/unix/news/readers/tin-unoff/ \
|
2018-01-19 07:39:54 +00:00
|
|
|
ftp://ftp.karlsruhe.org:/pub/news/clients/tin/ \
|
|
|
|
ftp://ftp.cuhk.edu.hk:/pub/packages/news/tin/ \
|
|
|
|
ftp://sunsite.icm.edu.pl/pub/unix/news/tin/ \
|
2011-04-17 10:39:39 +00:00
|
|
|
ftp://ftp.tin.org/pub/news/clients/tin/v${MAJORVERSION}/
|
1997-11-18 11:05:01 +00:00
|
|
|
|
2000-07-02 11:05:46 +00:00
|
|
|
HOMEPAGE= http://www.tin.org/
|
1998-08-16 23:36:05 +00:00
|
|
|
|
2014-04-29 16:41:36 +00:00
|
|
|
MAINTAINER= Giovanni Bechis <giovanni@openbsd.org>
|
1998-08-16 23:36:05 +00:00
|
|
|
|
2007-01-26 23:19:32 +00:00
|
|
|
# This software cannot be redistributed freely due to a few files having
|
|
|
|
# licenses that prohibit making money from redistribution - see src/nntplib.c,
|
|
|
|
# vms/vms.c
|
2007-09-15 21:41:50 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= no fee
|
2000-03-23 03:43:40 +00:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2010-07-24 17:43:17 +00:00
|
|
|
|
2018-01-19 07:39:54 +00:00
|
|
|
WANTLIB= c>=58.2 iconv icuuc intl curses pcre
|
2000-03-23 03:43:40 +00:00
|
|
|
|
2008-05-13 14:48:33 +00:00
|
|
|
CONFIGURE_STYLE= autoconf no-autoheader
|
|
|
|
AUTOCONF_VERSION= 2.13
|
2014-04-29 16:41:36 +00:00
|
|
|
|
2007-01-26 23:19:32 +00:00
|
|
|
# --with-x does not affect the build, but let's be safe.
|
2003-08-18 19:00:05 +00:00
|
|
|
CONFIGURE_ARGS+= --with-ispell=${LOCALBASE}/bin/ispell \
|
|
|
|
--without-metamail \
|
2003-08-19 04:08:53 +00:00
|
|
|
--without-pgp \
|
|
|
|
--without-pgpk \
|
2003-08-18 19:00:05 +00:00
|
|
|
--with-gpg=${LOCALBASE}/bin/gpg \
|
2012-03-12 15:17:17 +00:00
|
|
|
--without-socks \
|
|
|
|
--without-socks5 \
|
|
|
|
--without-slrnface \
|
|
|
|
--disable-gsasl \
|
2003-08-18 19:00:05 +00:00
|
|
|
--with-screen=ncurses \
|
2004-03-01 20:10:52 +00:00
|
|
|
--with-pcre=${LOCALBASE} \
|
2007-01-26 23:19:32 +00:00
|
|
|
--with-libdir=${PREFIX}/lib/news \
|
2014-07-10 08:18:37 +00:00
|
|
|
--with-spooldir=${VARBASE}/spool/news \
|
2003-08-18 19:00:05 +00:00
|
|
|
--enable-break-long-lines \
|
2007-01-26 23:19:32 +00:00
|
|
|
--enable-ipv6 \
|
|
|
|
--without-x
|
2003-08-18 19:00:05 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2000-07-02 11:05:46 +00:00
|
|
|
|
2016-09-08 10:14:35 +00:00
|
|
|
BUILD_DEPENDS= devel/gettext-tools
|
2010-11-20 09:48:38 +00:00
|
|
|
LIB_DEPENDS+= devel/pcre \
|
2016-09-08 10:14:35 +00:00
|
|
|
devel/gettext \
|
2012-12-21 13:01:32 +00:00
|
|
|
textproc/icu4c
|
2004-03-01 20:10:52 +00:00
|
|
|
|
2001-04-13 20:43:30 +00:00
|
|
|
ALL_TARGET= build
|
1997-11-18 11:05:01 +00:00
|
|
|
|
2013-03-11 11:35:43 +00:00
|
|
|
NO_TEST= Yes
|
2002-10-28 01:50:16 +00:00
|
|
|
|
2003-08-18 19:00:05 +00:00
|
|
|
FILES= tin.defaults mime.types
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
$(INSTALL_DATA_DIR) ${PREFIX}/share/tin
|
|
|
|
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${FILES} ${PREFIX}/share/tin
|
|
|
|
|
1997-11-18 11:05:01 +00:00
|
|
|
.include <bsd.port.mk>
|