aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2016-12-30 21:54:35 +0800
committerhrs <hrs@FreeBSD.org>2016-12-30 21:54:35 +0800
commit9bab8801b97af006e6fcc338860f900eabe356a4 (patch)
tree83e7a82f08978b85f10382d964440bad5eafe271 /japanese
parent7d012d80ddf6dd99e6e4a18d0a2a12a17a66634e (diff)
downloadfreebsd-ports-gnome-9bab8801b97af006e6fcc338860f900eabe356a4.tar.gz
freebsd-ports-gnome-9bab8801b97af006e6fcc338860f900eabe356a4.tar.zst
freebsd-ports-gnome-9bab8801b97af006e6fcc338860f900eabe356a4.zip
- Switch to use a GH repo to simplify maintenance of the patches.
- Remove outdated information.
Diffstat (limited to 'japanese')
-rw-r--r--japanese/less/Makefile35
-rw-r--r--japanese/less/distinfo19
-rw-r--r--japanese/less/files/patch-Makefile.in18
-rw-r--r--japanese/less/files/patch-charset.c41
-rw-r--r--japanese/less/files/patch-filename.c12
-rw-r--r--japanese/less/files/patch-regex_cs.c11
-rw-r--r--japanese/less/files/patch-version.c8
-rw-r--r--japanese/less/pkg-descr1
8 files changed, 10 insertions, 135 deletions
diff --git a/japanese/less/Makefile b/japanese/less/Makefile
index 9bae19f3abc8..579efd744fb8 100644
--- a/japanese/less/Makefile
+++ b/japanese/less/Makefile
@@ -2,31 +2,18 @@
# $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 \
@@ -36,16 +23,8 @@ PLIST_FILES= bin/jless bin/jlesskey bin/jlessecho \
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
-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 <bsd.port.mk>
diff --git a/japanese/less/distinfo b/japanese/less/distinfo
index 7c9dd8f3a82b..327334160f07 100644
--- a/japanese/less/distinfo
+++ b/japanese/less/distinfo
@@ -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
diff --git a/japanese/less/files/patch-Makefile.in b/japanese/less/files/patch-Makefile.in
deleted file mode 100644
index d34c5e31e612..000000000000
--- a/japanese/less/files/patch-Makefile.in
+++ /dev/null
@@ -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. ####
-
diff --git a/japanese/less/files/patch-charset.c b/japanese/less/files/patch-charset.c
deleted file mode 100644
index 2e208e62aca5..000000000000
--- a/japanese/less/files/patch-charset.c
+++ /dev/null
@@ -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.
diff --git a/japanese/less/files/patch-filename.c b/japanese/less/files/patch-filename.c
deleted file mode 100644
index deb54789d380..000000000000
--- a/japanese/less/files/patch-filename.c
+++ /dev/null
@@ -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);
- }
diff --git a/japanese/less/files/patch-regex_cs.c b/japanese/less/files/patch-regex_cs.c
deleted file mode 100644
index 54e8fb0de136..000000000000
--- a/japanese/less/files/patch-regex_cs.c
+++ /dev/null
@@ -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
diff --git a/japanese/less/files/patch-version.c b/japanese/less/files/patch-version.c
deleted file mode 100644
index e2362debfa3f..000000000000
--- a/japanese/less/files/patch-version.c
+++ /dev/null
@@ -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";
diff --git a/japanese/less/pkg-descr b/japanese/less/pkg-descr
index fa5d1ed2c659..cc2bad95dc35 100644
--- a/japanese/less/pkg-descr
+++ b/japanese/less/pkg-descr
@@ -8,6 +8,5 @@ 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