diff options
author | okazaki <okazaki@FreeBSD.org> | 2003-03-25 12:19:56 +0800 |
---|---|---|
committer | okazaki <okazaki@FreeBSD.org> | 2003-03-25 12:19:56 +0800 |
commit | e526f58f7e2f52f7ad7bd5384cd720affb8cd78e (patch) | |
tree | 808e3ea1380ba29448c78b5555e9e1ff0ef4f4fa /japanese | |
parent | e7ea7d536d12ee9d45fa3c8cb086d24d0be0c56e (diff) | |
download | freebsd-ports-gnome-e526f58f7e2f52f7ad7bd5384cd720affb8cd78e.tar.gz freebsd-ports-gnome-e526f58f7e2f52f7ad7bd5384cd720affb8cd78e.tar.zst freebsd-ports-gnome-e526f58f7e2f52f7ad7bd5384cd720affb8cd78e.zip |
Grouping MASTER_SITES and DIST_FILES. [1]
Suppress warning "locale: not found" by nroff as /usr/bin/nroff does. [1]
Support ja_JP.EUC in nroff for backward compatibility.
PORTREVISION up.
Submitted by: kuriyama [1]
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/groff/Makefile | 7 | ||||
-rw-r--r-- | japanese/groff/files/patch-src:roff:nroff:nroff.sh | 20 |
2 files changed, 24 insertions, 3 deletions
diff --git a/japanese/groff/Makefile b/japanese/groff/Makefile index 74062dd3f6e4..d3ada18f6cac 100644 --- a/japanese/groff/Makefile +++ b/japanese/groff/Makefile @@ -7,11 +7,12 @@ PORTNAME= groff PORTVERSION= 1.18.1 +PORTREVISION= 1 CATEGORIES= japanese print MASTER_SITES= ${MASTER_SITE_LOCAL:S,%SUBDIR%,okazaki/&,} \ - ${MASTER_SITE_GNU} -MASTER_SITE_SUBDIR= groff -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${TMAC_DISTNAME}.tar.gz + ${MASTER_SITE_GNU:S,$,:gnu,} +MASTER_SITE_SUBDIR= groff/:DEFAULT,gnu +DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gnu ${TMAC_DISTNAME}.tar.gz PATCH_SITES= http://people.debian.org/~ukai/groff/ PATCHFILES= ${DISTNAME:S,-,_,}-7.diff.gz diff --git a/japanese/groff/files/patch-src:roff:nroff:nroff.sh b/japanese/groff/files/patch-src:roff:nroff:nroff.sh new file mode 100644 index 000000000000..2fcdf931ed73 --- /dev/null +++ b/japanese/groff/files/patch-src:roff:nroff:nroff.sh @@ -0,0 +1,20 @@ +--- src/roff/nroff/nroff.sh~ Mon Mar 17 18:25:52 2003 ++++ src/roff/nroff/nroff.sh Mon Mar 17 18:31:52 2003 +@@ -5,7 +5,7 @@ + # Default device. + # First try the "locale charmap" command, because it's most reliable. + # On systems where it doesn't exist, look at the environment variables. +-case "`locale charmap 2>/dev/null`" in ++case "`#locale charmap 2>/dev/null`" in + UTF-8) + T=-Tutf8 ;; + ISO-8859-1) +@@ -22,7 +22,7 @@ + T=-Tlatin1 ;; + *.IBM-1047) + T=-Tcp1047 ;; +- ja_JP.ujis | ja_JP.eucJP) ++ ja_JP.EUC | ja_JP.eucJP) + T=-Tnippon ;; + *) + case "$LESSCHARSET" in |