summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorMotoyuki Konno <motoyuki@FreeBSD.org>2002-06-08 02:51:02 +0000
committerMotoyuki Konno <motoyuki@FreeBSD.org>2002-06-08 02:51:02 +0000
commitecc79a13ab8d28557221b32b699e4f1b5e6ab178 (patch)
treebeea0168aabfb1057e20d7624cac2d6f61e2a926 /x11
parentFix build on -current with gcc 3.1. (diff)
Follow the Japanese EUC locale name change: ja_JP.EUC -> ja_JP.eucJP.
Bump PORTREVISION.
Notes
Notes: svn path=/head/; revision=60825
Diffstat (limited to 'x11')
-rw-r--r--x11/xmascot/Makefile5
-rw-r--r--x11/xmascot/files/patch-aa4
-rw-r--r--x11/xmascot/pkg-plist3
3 files changed, 10 insertions, 2 deletions
diff --git a/x11/xmascot/Makefile b/x11/xmascot/Makefile
index 1757bac0fccf..e62602791166 100644
--- a/x11/xmascot/Makefile
+++ b/x11/xmascot/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xmascot
PORTVERSION= 2.6a
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= ftp://cclub.tutcc.tut.ac.jp/pub/xmascot/ \
http://cclub-flying.dsl.gr.jp/products/xmascot/
@@ -17,4 +18,8 @@ MAINTAINER= nakai@FreeBSD.org
USE_IMAKE= yes
MAN1= xmascot.1
+post-install:
+ -@${MKDIR} ${PREFIX}/lib/X11/ja_JP.EUC/app-defaults
+ ${CP} ${PREFIX}/lib/X11/ja_JP.eucJP/app-defaults/XMascot ${PREFIX}/lib/X11/ja_JP.EUC/app-defaults/
+
.include <bsd.port.mk>
diff --git a/x11/xmascot/files/patch-aa b/x11/xmascot/files/patch-aa
index 81dd64266e5f..eafaddf1910e 100644
--- a/x11/xmascot/files/patch-aa
+++ b/x11/xmascot/files/patch-aa
@@ -1,10 +1,10 @@
--- config.tmpl.orig Fri Oct 24 01:41:01 1997
-+++ config.tmpl Sat Jan 15 00:00:00 2000
++++ config.tmpl Sat Jun 8 11:33:39 JST 2002
@@ -97,6 +97,7 @@
#ifdef USE_I18N
DEFINES_I18N = -DI18N
-+LANG = ja_JP.EUC
++LANG = ja_JP.eucJP
LOCALEDIR = $(LIBDIR)/$(LANG)/app-defaults
#else
DEFINES_I18N =
diff --git a/x11/xmascot/pkg-plist b/x11/xmascot/pkg-plist
index e1e616182661..6eede9e67f10 100644
--- a/x11/xmascot/pkg-plist
+++ b/x11/xmascot/pkg-plist
@@ -1,6 +1,7 @@
bin/xmascot
lib/X11/app-defaults/XMascot
lib/X11/ja_JP.EUC/app-defaults/XMascot
+lib/X11/ja_JP.eucJP/app-defaults/XMascot
lib/X11/xmascot/aquarius.gif
lib/X11/xmascot/aries.gif
lib/X11/xmascot/canser.gif
@@ -45,3 +46,5 @@ lib/X11/xmascot/yubi.xbmmsk
@dirrm lib/X11/xmascot
@unexec rmdir %D/lib/X11/ja_JP.EUC/app-defaults 2>/dev/null || true
@unexec rmdir %D/lib/X11/ja_JP.EUC 2>/dev/null || true
+@unexec rmdir %D/lib/X11/ja_JP.eucJP/app-defaults 2>/dev/null || true
+@unexec rmdir %D/lib/X11/ja_JP.eucJP 2>/dev/null || true