Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 20:20:31 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337797 - head/news/tin
Message-ID:  <201312272020.rBRKKVQU004703@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: johans
Date: Fri Dec 27 20:20:30 2013
New Revision: 337797
URL: http://svnweb.freebsd.org/changeset/ports/337797

Log:
  - Update tin to 2.2.0
  - Enable STAGE support

Modified:
  head/news/tin/Makefile
  head/news/tin/distinfo
  head/news/tin/pkg-plist

Modified: head/news/tin/Makefile
==============================================================================
--- head/news/tin/Makefile	Fri Dec 27 20:07:00 2013	(r337796)
+++ head/news/tin/Makefile	Fri Dec 27 20:20:30 2013	(r337797)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	tin
-PORTVERSION=	2.0.1
-PORTREVISION?=	3
+PORTVERSION=	2.2.0
 CATEGORIES+=	news ipv6
 MASTER_SITES=	ftp://ftp.tin.org/pub/news/clients/tin/v${PORTVERSION:R}/ \
 		ftp://ftp.sunet.se/pub/news/readers/tin/v${PORTVERSION:R}/ \
@@ -21,14 +20,15 @@ MASTER_SITES=	ftp://ftp.tin.org/pub/news
 MAINTAINER?=	johans@FreeBSD.org
 COMMENT=	Easy-to-use threaded newsreader with NOV/NNTP support
 
-LIB_DEPENDS=	uu:${PORTSDIR}/converters/uulib \
-		pcre:${PORTSDIR}/devel/pcre
+LIB_DEPENDS=	libuu.so:${PORTSDIR}/converters/uulib \
+		libpcre.so:${PORTSDIR}/devel/pcre
 RUN_DEPENDS=	${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
 
 USE_BZIP2=	yes
-USE_GMAKE=	yes
-USES=		iconv
+USES=		gmake iconv shebangfix
 GNU_CONFIGURE=	yes
+SHEBANG_FILES=	tools/opt-case.pl tools/tinews.pl tools/url_handler.pl \
+		tools/w2r.pl
 TIN_EDITOR?=	/usr/bin/ee
 TIN_SCREEN?=	ncursesw
 
@@ -37,7 +37,6 @@ OPTIONS_DEFAULT=GNUPG ISPELL METAMAIL
 CANLOCK_DESC=	Enable Cancel-Lock key support via libcanlock
 NNTP_ONLY=	Only read news via NNTP (no spool dir support)
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 # --with-mime-default-charset=US-ASCII needed to build tin in the non-ascii
@@ -58,9 +57,6 @@ CFLAGS+=	-DNNTP_SERVER_FILE=\\\"${PREFIX
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 ALL_TARGET=	build
-MAN1=		tin.1 w2r.pl.1 opt-case.pl.1 tinews.pl.1 tinurl_handler.pl.1
-MAN5=		tin.5 tin_mbox.5 tin_mmdf.5
-MLINKS=		tin.1 rtin.1
 
 .if ${PORT_OPTIONS:MNNTP_ONLY}
 CONFIGURE_ARGS+=	--enable-nntp-only
@@ -121,9 +117,10 @@ post-build:
 .endif
 
 post-install:
-	cd ${WRKSRC}/doc; ${INSTALL_DATA} tin.defaults ${PREFIX}/etc/tin.defaults.dist
-	if [ ! -f ${PREFIX}/etc/tin.defaults ] ; then \
-		${CP} ${PREFIX}/etc/tin.defaults.dist ${PREFIX}/etc/tin.defaults; \
-	fi
+	cd ${STAGEDIR}${PREFIX}/etc;\
+		 ${INSTALL_DATA} ${WRKSRC}/doc/tin.defaults tin.defaults.dist;\
+		if [ ! -f tin.defaults ] ; then \
+			${CP} tin.defaults.dist tin.defaults; \
+		fi
 
 .include <bsd.port.mk>

Modified: head/news/tin/distinfo
==============================================================================
--- head/news/tin/distinfo	Fri Dec 27 20:07:00 2013	(r337796)
+++ head/news/tin/distinfo	Fri Dec 27 20:20:30 2013	(r337797)
@@ -1,2 +1,2 @@
-SHA256 (tin-2.0.1.tar.bz2) = eb4c1e46defb66f02eb64daa0929414c6363d9d4d74ec2458cfc6e781de89b1f
-SIZE (tin-2.0.1.tar.bz2) = 1758848
+SHA256 (tin-2.2.0.tar.bz2) = ba25cc3345675810c85cc0bddcce5474370ce91dce91d8433176f0de858b5b44
+SIZE (tin-2.2.0.tar.bz2) = 1836169

Modified: head/news/tin/pkg-plist
==============================================================================
--- head/news/tin/pkg-plist	Fri Dec 27 20:07:00 2013	(r337796)
+++ head/news/tin/pkg-plist	Fri Dec 27 20:20:30 2013	(r337797)
@@ -9,6 +9,15 @@ bin/w2r.pl
 @unexec if cmp -s %D/etc/tin.defaults %D/etc/tin.defaults.dist; then rm -f %D/etc/tin.defaults; fi
 etc/tin.defaults.dist
 @exec [ -f %B/tin.defaults ] || cp %B/%f %B/tin.defaults
+man/man1/opt-case.pl.1.gz
+man/man1/rtin.1.gz
+man/man1/tin.1.gz
+man/man1/tinews.pl.1.gz
+man/man1/tinurl_handler.pl.1.gz
+man/man1/w2r.pl.1.gz
+man/man5/tin.5.gz
+man/man5/tin_mbox.5.gz
+man/man5/tin_mmdf.5.gz
 %%NLS%%share/locale/da/LC_MESSAGES/tin.mo
 %%NLS%%share/locale/de/LC_MESSAGES/tin.mo
 %%NLS%%share/locale/en_GB/LC_MESSAGES/tin.mo
@@ -17,3 +26,4 @@ etc/tin.defaults.dist
 %%NLS%%share/locale/ru/LC_MESSAGES/tin.mo
 %%NLS%%share/locale/sv/LC_MESSAGES/tin.mo
 %%NLS%%share/locale/tr/LC_MESSAGES/tin.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/tin.mo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312272020.rBRKKVQU004703>