aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOKAZAKI Tetsurou <okazaki@FreeBSD.org>2003-03-25 04:19:56 +0000
committerOKAZAKI Tetsurou <okazaki@FreeBSD.org>2003-03-25 04:19:56 +0000
commit7d0eb04eb89ae6f548f71ca3690322042aa9dedf (patch)
tree32aece5d07884cbda5eae9df31dd77d91ba0d107
parent9d484b6a7f3980f61b4349f3c6b21ef7056a5f1c (diff)
downloadports-7d0eb04eb89ae6f548f71ca3690322042aa9dedf.tar.gz
ports-7d0eb04eb89ae6f548f71ca3690322042aa9dedf.zip
Notes
-rw-r--r--japanese/groff/Makefile7
-rw-r--r--japanese/groff/files/patch-src:roff:nroff:nroff.sh20
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