openbsd-ports/news/tin/Makefile

64 lines
1.7 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.32 2007/09/15 21:41:50 merdely Exp $
1997-11-18 06:05:01 -05:00
COMMENT= threaded NNTP and spool based UseNet newsreader
DISTNAME= tin-${VERSION}.${PATCHLEVEL}
PKGNAME= ${DISTNAME}
VERSION= 1.8
PATCHLEVEL= 3
CATEGORIES= news
2002-10-27 20:50:16 -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
HOMEPAGE= http://www.tin.org/
1998-08-16 19:36:05 -04: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
# 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-22 22:43:40 -05:00
PERMIT_PACKAGE_FTP= Yes
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
# --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 \
--with-pcre=${LOCALBASE} \
--with-libdir=${PREFIX}/lib/news \
--with-spooldir=/var/news \
2003-08-18 15:00:05 -04:00
--enable-break-long-lines \
--enable-ipv6 \
--without-x
2003-08-18 15:00:05 -04:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
LIB_DEPENDS+= pcre::devel/pcre \
utf8::misc/libutf8 \
idn::devel/libidn
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>