56 lines
1.3 KiB
Makefile
Raw Normal View History

2003-08-18 19:00:05 +00:00
# $OpenBSD: Makefile,v 1.22 2003/08/18 19:00:05 fgsch Exp $
1997-11-18 11:05:01 +00:00
2003-08-18 19:00:05 +00:00
COMMENT= 'threaded NNTP and spool based UseNet newsreader'
2003-08-18 19:00:05 +00:00
DISTNAME= tin-1.6.1
CATEGORIES= news
2002-10-28 01:50:16 +00:00
2003-08-18 19:00:05 +00: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 11:05:01 +00:00
HOMEPAGE= http://www.tin.org/
1998-08-16 23:36:05 +00:00
MAINTAINER= Federico G. Schwindt <fgsch@openbsd.org>
1998-08-16 23:36:05 +00:00
2003-08-18 19:00:05 +00:00
MODULES= gettext
2000-03-23 03:43:40 +00:00
PERMIT_PACKAGE_CDROM= "no fee"
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= "no fee"
PERMIT_DISTFILES_FTP= Yes
2003-08-18 19:00:05 +00:00
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-ispell=${LOCALBASE}/bin/ispell \
--without-metamail \
--with-gpg=${LOCALBASE}/bin/gpg \
--with-screen=ncurses \
--enable-break-long-lines \
--enable-ipv6
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
FLAVORS= nntp_only
FLAVOR?=
2003-08-18 19:00:05 +00:00
.if ${FLAVOR:L:Mnntp_only}
1997-11-18 11:05:01 +00:00
CONFIGURE_ARGS+= --enable-nntp-only
2003-08-18 19:00:05 +00:00
.else
CONFIGURE_ARGS+= --with-libdir=${PREFIX}/lib/news \
--with-spooldir=/var/news
1997-11-18 11:05:01 +00:00
.endif
1998-08-16 23:36:05 +00:00
ALL_TARGET= build
1997-11-18 11:05:01 +00:00
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>