68 lines
1.8 KiB
Makefile
Raw Normal View History

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
COMMENT= threaded NNTP- and spool-based UseNet newsreader
DISTNAME= tin-${MAJORVERSION}.${PATCHLEVEL}
MAJORVERSION= 2.4
2018-01-19 07:39:54 +00:00
PATCHLEVEL= 2
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}/ \
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/ \
ftp://ftp.tin.org/pub/news/clients/tin/v${MAJORVERSION}/
1997-11-18 11:05:01 +00:00
HOMEPAGE= http://www.tin.org/
1998-08-16 23:36:05 +00:00
MAINTAINER= Giovanni Bechis <giovanni@openbsd.org>
1998-08-16 23:36:05 +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
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
CONFIGURE_STYLE= autoconf no-autoheader
AUTOCONF_VERSION= 2.13
# --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 \
--without-socks \
--without-socks5 \
--without-slrnface \
--disable-gsasl \
2003-08-18 19:00:05 +00:00
--with-screen=ncurses \
--with-pcre=${LOCALBASE} \
--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 \
--enable-ipv6 \
--without-x
2003-08-18 19:00:05 +00:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
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
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>