Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jun 2016 05:43:06 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r416495 - in head/misc/lv: . files
Message-ID:  <201606070543.u575h6vL008405@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Tue Jun  7 05:43:06 2016
New Revision: 416495
URL: https://svnweb.freebsd.org/changeset/ports/416495

Log:
  misc/lv: new MASTER_SITES at github
  
  - Lv's master site was gone because ISP was terminated the service.
    Submittter contacted the lv's author, he says "I can't create a new
    site so busy". So submitter uploaded lv's source code to GitHub.
  - Attached diff that changes MAINTAINER address and MASTER_SITES point
    to GitHub, some related changes also included.
  - patches re-generated patch by "make makepatch".
  - submitter becomes maintainer
  
  PR:		210067
  Submitted by:	IWAMOTO Kouichi <sue@iwmt.org>

Modified:
  head/misc/lv/Makefile
  head/misc/lv/distinfo
  head/misc/lv/files/patch-src_Makefile.in
  head/misc/lv/files/patch-src_stream.c
  head/misc/lv/pkg-descr

Modified: head/misc/lv/Makefile
==============================================================================
--- head/misc/lv/Makefile	Tue Jun  7 04:23:14 2016	(r416494)
+++ head/misc/lv/Makefile	Tue Jun  7 05:43:06 2016	(r416495)
@@ -3,26 +3,28 @@
 
 PORTNAME=	lv
 PORTVERSION=	4.51
+DISTVERSIONPREFIX=	v
 PORTREVISION=	3
 CATEGORIES=	misc
-MASTER_SITES=	http://www.ff.iij4u.or.jp/~nrt/freeware/
-DISTNAME=	lv451
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sue@iwmt.org
 COMMENT=	Powerful Multilingual File Viewer
 
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/../GPL.txt
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	ttdoda
+
 USES=		ncurses
-WRKSRC=		${WRKDIR}/${DISTNAME}/src
+WRKSRC_SUBDIR=	src
 GNU_CONFIGURE=	yes
 
 OPTIONS_DEFINE=	DOCS
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	(cd ${WRKDIR}/${DISTNAME}; \
+	(cd ${WRKDIR}/${PORTNAME}-${PORTVERSION}; \
 		${INSTALL_DATA} *.html hello.sample* ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>

Modified: head/misc/lv/distinfo
==============================================================================
--- head/misc/lv/distinfo	Tue Jun  7 04:23:14 2016	(r416494)
+++ head/misc/lv/distinfo	Tue Jun  7 05:43:06 2016	(r416495)
@@ -1,2 +1,3 @@
-SHA256 (lv451.tar.gz) = e1cd2e27109fbdbc6d435f2c3a99c8a6ef2898941f5d2f7bacf0c1ad70158bcf
-SIZE (lv451.tar.gz) = 605082
+TIMESTAMP = 1464754259
+SHA256 (ttdoda-lv-v4.51_GH0.tar.gz) = 9ffe9a6f835cd65f6dc2b31ce1b9890aa4d9423b46e72e29a3762f5ad90a5960
+SIZE (ttdoda-lv-v4.51_GH0.tar.gz) = 616490

Modified: head/misc/lv/files/patch-src_Makefile.in
==============================================================================
--- head/misc/lv/files/patch-src_Makefile.in	Tue Jun  7 04:23:14 2016	(r416494)
+++ head/misc/lv/files/patch-src_Makefile.in	Tue Jun  7 05:43:06 2016	(r416495)
@@ -1,6 +1,6 @@
---- Makefile.in.orig	2004-01-06 16:22:17.000000000 +0900
-+++ Makefile.in	2014-06-16 21:40:34.440747700 +0900
-@@ -9,11 +9,11 @@
+--- Makefile.in.orig	2004-01-06 07:22:17 UTC
++++ Makefile.in
+@@ -9,11 +9,11 @@ VERSION= 451
  srcdir=	@srcdir@
  VPATH=	@srcdir@
  
@@ -14,7 +14,7 @@
  
  lvlibdir=	$(libdir)/lv
  distdir = lv$(VERSION)
-@@ -41,7 +41,7 @@
+@@ -41,7 +41,7 @@ UNIOBJS=	utf.o unimap.o unirev.o
  all:	lv
  
  lv:	$(OBJS) $(UNIOBJS)

Modified: head/misc/lv/files/patch-src_stream.c
==============================================================================
--- head/misc/lv/files/patch-src_stream.c	Tue Jun  7 04:23:14 2016	(r416494)
+++ head/misc/lv/files/patch-src_stream.c	Tue Jun  7 05:43:06 2016	(r416495)
@@ -1,5 +1,5 @@
---- stream.c.orig	2010-03-31 21:10:00.000000000 +0900
-+++ stream.c	2010-03-31 21:17:50.000000000 +0900
+--- stream.c.orig	2003-11-13 03:08:19 UTC
++++ stream.c
 @@ -43,6 +43,8 @@
  
  private byte *gz_filter = "zcat";
@@ -9,7 +9,7 @@
  
  private stream_t *StreamAlloc()
  {
-@@ -75,6 +77,10 @@
+@@ -75,6 +77,10 @@ public stream_t *StreamOpen( byte *file 
        filter = gz_filter;
      else if( !strcmp( "bz2", exts ) || !strcmp( "BZ2", exts ) )
        filter = bz2_filter;

Modified: head/misc/lv/pkg-descr
==============================================================================
--- head/misc/lv/pkg-descr	Tue Jun  7 04:23:14 2016	(r416494)
+++ head/misc/lv/pkg-descr	Tue Jun  7 05:43:06 2016	(r416495)
@@ -8,4 +8,4 @@ lv can recognize multi-bytes patterns as
 also provides multilingual grep (1) functionality by giving it another
 name, lgrep.
 
-WWW: http://www.ff.iij4u.or.jp/~nrt/lv/
+WWW: https://github.com/ttdoda/lv



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