2007-09-15 17:41:50 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.32 2007/09/15 21:41:50 merdely Exp $
|
1997-11-18 06:05:01 -05:00
|
|
|
|
2007-09-15 17:41:50 -04:00
|
|
|
COMMENT= threaded NNTP and spool based UseNet newsreader
|
2001-04-13 16:43:30 -04:00
|
|
|
|
2007-01-26 18:19:32 -05:00
|
|
|
DISTNAME= tin-${VERSION}.${PATCHLEVEL}
|
2007-03-21 13:28:50 -04:00
|
|
|
PKGNAME= ${DISTNAME}
|
2007-01-26 18:19:32 -05:00
|
|
|
VERSION= 1.8
|
2007-03-21 13:28:50 -04:00
|
|
|
PATCHLEVEL= 3
|
2000-07-02 07:05:46 -04:00
|
|
|
CATEGORIES= news
|
2002-10-27 20:50:16 -05:00
|
|
|
|
2007-01-26 18:19:32 -05:00
|
|
|
MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/v${VERSION}/ \
|
|
|
|
ftp://ftp.akk.uni-karlsruhe.de/pub/news/clients/tin/v${VERSION}/ \
|
|
|
|
ftp://ftp.cuhk.edu.hk/pub/packages/news/tin/v${VERSION}/ \
|
|
|
|
ftp://ftp.sunet.se/pub/news/readers/tin/v${VERSION}/ \
|
|
|
|
ftp://ftp.funet.fi/pub/unix/news/tin-unoff/
|
1997-11-18 06:05:01 -05:00
|
|
|
|
2000-07-02 07:05:46 -04:00
|
|
|
HOMEPAGE= http://www.tin.org/
|
1998-08-16 19:36:05 -04:00
|
|
|
|
2007-01-26 18:19:32 -05:00
|
|
|
MAINTAINER= Joachim Schipper <j.schipper@math.uu.nl>
|
1998-08-16 19:36:05 -04:00
|
|
|
|
2004-08-10 05:26:13 -04:00
|
|
|
MODULES= devel/gettext
|
2003-08-18 15:00:05 -04:00
|
|
|
|
2007-01-26 18:19:32 -05: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 17:41:50 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= no fee
|
2000-03-22 22:43:40 -05:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2007-09-15 17:41:50 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= no fee
|
2000-03-22 22:43:40 -05:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-02 14:19:58 -05:00
|
|
|
WANTLIB= c ncurses
|
2000-03-22 22:43:40 -05:00
|
|
|
|
2003-08-18 15:00:05 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2007-01-26 18:19:32 -05:00
|
|
|
# --with-x does not affect the build, but let's be safe.
|
2003-08-18 15:00:05 -04:00
|
|
|
CONFIGURE_ARGS+= --with-ispell=${LOCALBASE}/bin/ispell \
|
|
|
|
--without-metamail \
|
2003-08-19 00:08:53 -04:00
|
|
|
--without-pgp \
|
|
|
|
--without-pgpk \
|
2003-08-18 15:00:05 -04:00
|
|
|
--with-gpg=${LOCALBASE}/bin/gpg \
|
|
|
|
--with-screen=ncurses \
|
2004-03-01 15:10:52 -05:00
|
|
|
--with-pcre=${LOCALBASE} \
|
2007-01-26 18:19:32 -05:00
|
|
|
--with-libdir=${PREFIX}/lib/news \
|
|
|
|
--with-spooldir=/var/news \
|
2003-08-18 15:00:05 -04:00
|
|
|
--enable-break-long-lines \
|
2007-01-26 18:19:32 -05:00
|
|
|
--enable-ipv6 \
|
|
|
|
--without-x
|
2003-08-18 15:00:05 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2000-07-02 07:05:46 -04:00
|
|
|
|
2004-03-09 00:31:04 -05:00
|
|
|
LIB_DEPENDS+= pcre::devel/pcre \
|
2007-02-15 02:11:17 -05:00
|
|
|
utf8::misc/libutf8 \
|
|
|
|
idn::devel/libidn
|
2004-03-01 15:10:52 -05:00
|
|
|
|
2001-04-13 16:43:30 -04:00
|
|
|
ALL_TARGET= build
|
1997-11-18 06:05:01 -05:00
|
|
|
|
2002-10-27 20:50:16 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2003-08-18 15:00:05 -04: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 06:05:01 -05:00
|
|
|
.include <bsd.port.mk>
|