openbsd-ports/news/tin/Makefile

63 lines
1.5 KiB
Makefile
Raw Normal View History

2004-12-02 14:19:58 -05:00
# $OpenBSD: Makefile,v 1.28 2004/12/02 19:19:59 alek Exp $
1997-11-18 06:05:01 -05:00
2003-08-18 15:00:05 -04:00
COMMENT= 'threaded NNTP and spool based UseNet newsreader'
2003-09-23 02:34:17 -04:00
DISTNAME= tin-1.6.2
CATEGORIES= news
2002-10-27 20:50:16 -05:00
2003-08-18 15:00:05 -04:00
MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/stable/ \
ftp://ftp.funet.fi/pub/unix/news/tin-unoff/stable/ \
ftp://ftp.akk.uni-karlsruhe.de/pub/news/clients/tin/stable/ \
ftp://ftp.cuhk.edu.hk/pub/packages/news/tin/stable/ \
ftp://ftp.sunet.se/pub/news/readers/tin/stable/
1997-11-18 06:05:01 -05:00
HOMEPAGE= http://www.tin.org/
1998-08-16 19:36:05 -04:00
MAINTAINER= Federico G. Schwindt <fgsch@openbsd.org>
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
2000-03-22 22:43:40 -05:00
PERMIT_PACKAGE_CDROM= "no fee"
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= "no fee"
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
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} \
2003-08-18 15:00:05 -04:00
--enable-break-long-lines \
--enable-ipv6
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
LIB_DEPENDS+= pcre::devel/pcre \
utf8::misc/libutf8
FLAVORS= nntp_only
FLAVOR?=
2003-08-18 15:00:05 -04:00
.if ${FLAVOR:L:Mnntp_only}
1997-11-18 06:05:01 -05:00
CONFIGURE_ARGS+= --enable-nntp-only
2003-08-18 15:00:05 -04:00
.else
CONFIGURE_ARGS+= --with-libdir=${PREFIX}/lib/news \
--with-spooldir=/var/news
1997-11-18 06:05:01 -05:00
.endif
1998-08-16 19:36:05 -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>