70 lines
1.8 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.40 2012/03/12 15:17:17 giovanni Exp $
1997-11-18 11:05:01 +00:00
COMMENT= threaded NNTP- and spool-based UseNet newsreader
DISTNAME= tin-${MAJORVERSION}.${PATCHLEVEL}
MAJORVERSION= 2.0
PATCHLEVEL= 1
CATEGORIES= news
2002-10-28 01:50:16 +00:00
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}/
1997-11-18 11:05:01 +00:00
HOMEPAGE= http://www.tin.org/
1998-08-16 23:36:05 +00:00
MAINTAINER= Joachim Schipper <joachim@joachimschipper.nl>
1998-08-16 23:36:05 +00:00
2004-08-10 09:26:13 +00:00
MODULES= devel/gettext
2003-08-18 19:00: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
PERMIT_DISTFILES_CDROM= no fee
2000-03-23 03:43:40 +00:00
PERMIT_DISTFILES_FTP= Yes
2010-07-24 17:43:17 +00:00
WANTLIB= c>=58.2 ncurses pcre idn
2000-03-23 03:43:40 +00:00
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.
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 \
--with-spooldir=/var/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"
2010-11-20 09:48:38 +00:00
LIB_DEPENDS+= devel/pcre \
devel/libidn
ALL_TARGET= build
1997-11-18 11:05:01 +00:00
2010-10-18 21:25:07 +00:00
USE_GROFF = Yes
2002-10-28 01:50:16 +00:00
NO_REGRESS= Yes
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>