Index: head/japanese/less/files/patch-charset.c =================================================================== --- head/japanese/less/files/patch-charset.c (revision 429986) +++ head/japanese/less/files/patch-charset.c (nonexistent) @@ -1,41 +0,0 @@ ---- charset.c.orig 2013-01-20 04:32:52.491037000 +0900 -+++ charset.c 2013-01-20 05:05:01.106026675 +0900 -@@ -872,6 +872,18 @@ - return; - } - -+#if HAVE_LOCALE -+ /* -+ * Use setlocale. -+ */ -+ ilocale(); -+#else -+#if MSDOS_COMPILER -+ /* -+ * Default to "dos". -+ */ -+ (void) icharset("dos"); -+#else - #if HAVE_STRSTR - /* - * Check whether LC_ALL, LC_CTYPE or LANG look like UTF-8 is used. -@@ -888,19 +900,6 @@ - return; - } - #endif -- --#if HAVE_LOCALE -- /* -- * Use setlocale. -- */ -- ilocale(); --#else --#if MSDOS_COMPILER -- /* -- * Default to "dos". -- */ -- (void) icharset("dos"); --#else - /* - * All variables are not defined either, default to DEFCHARSET. - * DEFCHARSET is defined in defines.h. Property changes on: head/japanese/less/files/patch-charset.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/japanese/less/files/patch-version.c =================================================================== --- head/japanese/less/files/patch-version.c (revision 429986) +++ head/japanese/less/files/patch-version.c (nonexistent) @@ -1,8 +0,0 @@ ---- version.c.orig Sun Apr 16 00:26:13 2006 -+++ version.c Sun Apr 16 00:27:48 2006 -@@ -768,4 +768,4 @@ - This modification make regex_cs-lwp9k be able to compile. - */ - --char version[] = "382+iso262+ext3"; -+char version[] = "382+iso262+ext3+regex_cs-lwp9k"; Property changes on: head/japanese/less/files/patch-version.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/japanese/less/files/patch-Makefile.in =================================================================== --- head/japanese/less/files/patch-Makefile.in (revision 429986) +++ head/japanese/less/files/patch-Makefile.in (nonexistent) @@ -1,18 +0,0 @@ ---- Makefile.in.orig Wed Feb 4 13:52:26 2004 -+++ Makefile.in Fri Dec 9 22:42:45 2005 -@@ -22,13 +22,13 @@ - - # Where the installed binary goes. - bindir = @bindir@ --binprefix = -+binprefix = j - - sysconfdir = @sysconfdir@ - - mandir = @mandir@ - manext = 1 --manprefix = -+manprefix = j - - #### End of system configuration section. #### - Property changes on: head/japanese/less/files/patch-Makefile.in ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/japanese/less/files/patch-regex_cs.c =================================================================== --- head/japanese/less/files/patch-regex_cs.c (revision 429986) +++ head/japanese/less/files/patch-regex_cs.c (nonexistent) @@ -1,11 +0,0 @@ ---- regex_cs.c.orig Tue Feb 7 12:08:50 2006 -+++ regex_cs.c Tue Feb 7 12:10:03 2006 -@@ -39,7 +39,7 @@ - #include "config.h" - #endif - #include "defines.h" --#include "multi.h" -+#include "less.h" - #define ISCSDMY(c,cs) (CSISASCII(cs) && (c == PADCH)) - - #define SWITCH_ENUM_BUG Property changes on: head/japanese/less/files/patch-regex_cs.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/japanese/less/files/patch-filename.c =================================================================== --- head/japanese/less/files/patch-filename.c (revision 429986) +++ head/japanese/less/files/patch-filename.c (nonexistent) @@ -1,12 +0,0 @@ ---- filename.c.orig 2010-05-10 23:08:16.800855000 +0900 -+++ filename.c 2013-01-19 08:38:15.691025968 +0900 -@@ -817,6 +817,9 @@ - else if (strcmp(".xz", &filename[length - 3]) == 0 || - strcmp(".XZ", &filename[length - 3]) == 0) - return ("| xz -cd %s"); -+ else if (strcmp(".lzma", &filename[length - 5]) == 0 || -+ strcmp(".LZMA", &filename[length - 5]) == 0) -+ return ("| lzma -cd %s"); - else - return (NULL); - } Property changes on: head/japanese/less/files/patch-filename.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/japanese/less/Makefile =================================================================== --- head/japanese/less/Makefile (revision 429986) +++ head/japanese/less/Makefile (revision 429987) @@ -1,51 +1,30 @@ # Created by: Nobuhiro Yasutomi # $FreeBSD$ PORTNAME= less -PORTVERSION= 382.262 -PORTREVISION= 3 +PORTVERSION= 382.262.03.01 +DISTVERSIONPREFIX= v CATEGORIES= japanese -MASTER_SITES= LOCAL/nork -PKGNAMESUFFIX= +iso -DISTNAME= less-${PORTVERSION:R} -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ - regex_cs-lwp9k.shar.gz -EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} -PATCH_SITES= LOCAL/nork -PATCHFILES= ${DISTNAME}-iso258.patch.gz \ - ${DISTNAME}-iso258-259.patch.gz \ - ${DISTNAME}-iso259-260.patch.gz \ - ${DISTNAME}-iso260-261.patch.gz \ - ${DISTNAME}-iso261-${PORTVERSION:E}.patch.gz \ - ${DISTNAME}-iso${PORTVERSION:E}.ext03.patch.gz -PATCH_DIST_STRIP= -p1 - MAINTAINER= hrs@FreeBSD.org -COMMENT= Less + zcat + ISO-2022 + UTF-8 - a pager similar to more and pg +COMMENT= Enhanced less(1) supporting iso-2022-jp and UTF-8 LICENSE= GPLv2 USES= desthack ncurses +USE_GITHUB= yes +GH_ACCOUNT= hrs-allbsd GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-cs-regex PORTDOCS= README.iso README.iso.jp README.lesw.euc \ README.regex README.regex.jp README.ext.jp PLIST_FILES= bin/jless bin/jlesskey bin/jlessecho \ man/man1/jless.1.gz man/man1/jlesskey.1.gz OPTIONS_DEFINE= DOCS -.include - -post-extract: - cd ${WRKDIR} && \ - ${GZCAT} ${DISTDIR}/regex_cs-lwp9k.shar.gz | ${SH} && \ - ${MV} regex_cs.[ch] README.regex README.regex.jp \ - README.lesw.euc ${WRKSRC} - -post-install: - ${MKDIR} ${STAGEDIR}${DOCSDIR} +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/japanese/less/distinfo =================================================================== --- head/japanese/less/distinfo (revision 429986) +++ head/japanese/less/distinfo (revision 429987) @@ -1,16 +1,3 @@ -SHA256 (less-382.tar.gz) = d33cc51f220647d015fd526b3782cde03c5d8b18c5233e6388a0047a70446fe7 -SIZE (less-382.tar.gz) = 264414 -SHA256 (regex_cs-lwp9k.shar.gz) = 9657fc989e4935ebe3e71ee515573013d69eb2afe01ead985ed56b85e41c8462 -SIZE (regex_cs-lwp9k.shar.gz) = 60569 -SHA256 (less-382-iso258.patch.gz) = 0681485f47237aeee42a34bbf0ab55215933c7713d1be80ac202a31c7a6fdc31 -SIZE (less-382-iso258.patch.gz) = 87859 -SHA256 (less-382-iso258-259.patch.gz) = 845bb97f407727febd4ee4014618715884bf393d1531089e18faf4e895e19cec -SIZE (less-382-iso258-259.patch.gz) = 9466 -SHA256 (less-382-iso259-260.patch.gz) = e81a5de1fdc276cf0f189c674f37459cf1a7314ac1b804c077e23c519df87ec8 -SIZE (less-382-iso259-260.patch.gz) = 19014 -SHA256 (less-382-iso260-261.patch.gz) = b595378ae65a5a7256df3b6279d755d6fdce66ab6ea0bba4f51eeb9ee0307c03 -SIZE (less-382-iso260-261.patch.gz) = 841 -SHA256 (less-382-iso261-262.patch.gz) = e7249de419acc3b8c4a11bed376d778711fd031887d0df0624d62a6d07356842 -SIZE (less-382-iso261-262.patch.gz) = 2215 -SHA256 (less-382-iso262.ext03.patch.gz) = 82fb77f21ea1f3281224fcbfad073aeab12fb40d6623c9b40698be952401f821 -SIZE (less-382-iso262.ext03.patch.gz) = 138951 +TIMESTAMP = 1483105437 +SHA256 (hrs-allbsd-less-v382.262.03.01_GH0.tar.gz) = b19c562fc4327cfe783be074cca030252dd31ec22c29829aabc103849b6aca4a +SIZE (hrs-allbsd-less-v382.262.03.01_GH0.tar.gz) = 471513 Index: head/japanese/less/pkg-descr =================================================================== --- head/japanese/less/pkg-descr (revision 429986) +++ head/japanese/less/pkg-descr (revision 429987) @@ -1,13 +1,12 @@ Less is a program similar to more(1), but which allows backward movement in the file as well as forward movement. Also, less does not have to read the entire input file before starting, so with large input files it starts up faster than text editors like vi(1). This enhanced less support ISO 2022 code extension techniqes and Japanese codes(EUC Japanese, SJIS) and compressed(or gzipped) file viewing. The author of the patch is jam@pobox.com, and the UTF-8 support patch is written by bogytech. -WWW: http://www25.big.jp/~jam/less/ (broken link) WWW: http://web.archive.org/web/20070220213232/http://www25.big.or.jp/~jam/less WWW: http://bogytech.blogspot.jp/search/label/jless