diff options
author | pi <pi@FreeBSD.org> | 2016-06-07 13:43:06 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2016-06-07 13:43:06 +0800 |
commit | b401f71531004234c1df890194926999d2d549a4 (patch) | |
tree | 4643cb7bb98404dff8bb3b2390389b9d7d2902f1 | |
parent | 587cb280a90e3b5d792fc36b1c56b70c2dd7ccae (diff) | |
download | freebsd-ports-graphics-b401f71531004234c1df890194926999d2d549a4.tar.gz freebsd-ports-graphics-b401f71531004234c1df890194926999d2d549a4.tar.zst freebsd-ports-graphics-b401f71531004234c1df890194926999d2d549a4.zip |
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>
-rw-r--r-- | misc/lv/Makefile | 12 | ||||
-rw-r--r-- | misc/lv/distinfo | 5 | ||||
-rw-r--r-- | misc/lv/files/patch-src_Makefile.in | 8 | ||||
-rw-r--r-- | misc/lv/files/patch-src_stream.c | 6 | ||||
-rw-r--r-- | misc/lv/pkg-descr | 2 |
5 files changed, 18 insertions, 15 deletions
diff --git a/misc/lv/Makefile b/misc/lv/Makefile index acc9631fbf7..ee6e763a3a8 100644 --- a/misc/lv/Makefile +++ b/misc/lv/Makefile @@ -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> diff --git a/misc/lv/distinfo b/misc/lv/distinfo index 95adb80968d..1f62683979a 100644 --- a/misc/lv/distinfo +++ b/misc/lv/distinfo @@ -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 diff --git a/misc/lv/files/patch-src_Makefile.in b/misc/lv/files/patch-src_Makefile.in index e7bf2f8ac5c..67aa4f87a2a 100644 --- a/misc/lv/files/patch-src_Makefile.in +++ b/misc/lv/files/patch-src_Makefile.in @@ -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) diff --git a/misc/lv/files/patch-src_stream.c b/misc/lv/files/patch-src_stream.c index c1d8f989b92..cbb2583167b 100644 --- a/misc/lv/files/patch-src_stream.c +++ b/misc/lv/files/patch-src_stream.c @@ -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; diff --git a/misc/lv/pkg-descr b/misc/lv/pkg-descr index e93872891e0..6772ec49158 100644 --- a/misc/lv/pkg-descr +++ b/misc/lv/pkg-descr @@ -8,4 +8,4 @@ lv can recognize multi-bytes patterns as regular expressions, and lv 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 |