8a275d20b1
As done in base e.g. usr.bin/cvs/date.y r1.23 Add an XXX comment for stupid static LeapYears table in trn/tin.
70 lines
1.8 KiB
Makefile
70 lines
1.8 KiB
Makefile
# $OpenBSD: Makefile,v 1.43 2013/04/19 21:32:37 sthen Exp $
|
|
|
|
COMMENT= threaded NNTP- and spool-based UseNet newsreader
|
|
|
|
DISTNAME= tin-${MAJORVERSION}.${PATCHLEVEL}
|
|
MAJORVERSION= 2.0
|
|
PATCHLEVEL= 1
|
|
REVISION= 1
|
|
CATEGORIES= news
|
|
|
|
MASTER_SITES= http://ftp.funet.fi/pub/unix/news/tin-unoff/ \
|
|
http://ftp.sunet.se/pub/news/readers/tin/v${MAJORVERSION}/ \
|
|
http://ftp.cuhk.edu.hk/pub/packages/news/tin/v${MAJORVERSION}/ \
|
|
ftp://ftp.tin.org/pub/news/clients/tin/v${MAJORVERSION}/
|
|
|
|
HOMEPAGE= http://www.tin.org/
|
|
|
|
MAINTAINER= Joachim Schipper <joachim@joachimschipper.nl>
|
|
|
|
MODULES= devel/gettext
|
|
|
|
# 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
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
WANTLIB= c>=58.2 icuuc idn ncurses pcre pthread
|
|
|
|
CONFIGURE_STYLE= autoconf no-autoheader
|
|
AUTOCONF_VERSION= 2.13
|
|
# XXX Re-review --disable-gsasl on update, it may become useful in the future.
|
|
#
|
|
# --with-x does not affect the build, but let's be safe.
|
|
CONFIGURE_ARGS+= --with-ispell=${LOCALBASE}/bin/ispell \
|
|
--without-metamail \
|
|
--without-pgp \
|
|
--without-pgpk \
|
|
--with-gpg=${LOCALBASE}/bin/gpg \
|
|
--without-socks \
|
|
--without-socks5 \
|
|
--without-slrnface \
|
|
--disable-gsasl \
|
|
--with-screen=ncurses \
|
|
--with-pcre=${LOCALBASE} \
|
|
--with-libdir=${PREFIX}/lib/news \
|
|
--with-spooldir=/var/spool/news \
|
|
--enable-break-long-lines \
|
|
--enable-ipv6 \
|
|
--without-x
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
LIB_DEPENDS+= devel/pcre \
|
|
devel/libidn \
|
|
textproc/icu4c
|
|
|
|
ALL_TARGET= build
|
|
|
|
USE_GROFF = Yes
|
|
NO_TEST= Yes
|
|
|
|
FILES= tin.defaults mime.types
|
|
|
|
post-install:
|
|
$(INSTALL_DATA_DIR) ${PREFIX}/share/tin
|
|
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${FILES} ${PREFIX}/share/tin
|
|
|
|
.include <bsd.port.mk>
|