1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Follow the Japanese EUC locale change: ja_JP.EUC -> ja_JP.eucJP.

Bump PORTREVISION.

PR:		ports/37997
Submitted by:	Yoshihiko Sarumaru <mistral@imasy.or.jp> (MAINTAINER)
This commit is contained in:
Akinori MUSHA 2002-05-16 10:27:53 +00:00
parent 833c9d2beb
commit 89f3a11253
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59252
3 changed files with 38 additions and 19 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= xcalendar
PORTVERSION= 4.0.2002
PORTREVISION= 1
CATEGORIES= deskutils
MASTER_SITES= ftp://daemon.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/
DISTNAME= ${PORTNAME}-4.0+i18n

View File

@ -1,12 +1,15 @@
--- Imakefile.orig Sun Oct 1 12:19:17 1995
+++ Imakefile Mon Mar 12 20:54:39 2001
@@ -1,4 +1,5 @@
--- /usr/ports/deskutils/xcalendar.orig/work/xcalendar/Imakefile Sun Oct 1 12:19:17 1995
+++ Imakefile Mon May 13 00:55:07 2002
@@ -1,4 +1,8 @@
XCALENDAR_LIBDIR = $(LIBDIR)/xcalendar
+XCALENDAR_JP_LIBDIR = $(LIBDIR)/ja_JP.EUC/xcalendar
+XCALENDAR_JP_LIBDIR_EUCJP = $(LIBDIR)/ja_JP.eucJP/xcalendar
+XCALENDAR_JP_LIBDIR_EUC = $(LIBDIR)/ja_JP.EUC/xcalendar
+XCALENDAR_JP_APPDEFAULTS_EUCJP = $(LIBDIR)/ja_JP.eucJP/app-defaults
+XCALENDAR_JP_APPDEFAULTS_EUC = $(LIBDIR)/ja_JP.EUC/app-defaults
LIBFILES = larrow.xbm qmark.xbm quit.xbm rarrow.xbm xcalendar.hlp
# Comment out the following two lines for the Motif version
LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
@@ -12,7 +13,7 @@
@@ -12,7 +16,7 @@
#
# for Internationalization
#
@ -15,29 +18,41 @@
##if !SharedLibXwchar
# _UseCat($(USRLIBDIR),$(CONTRIBSRC)/lib/Xwchar,/libXwchar.a)
# XWCHARLIB = LoaderLibPrefix _Use(-lXwchar,$(DEPXWCHARLIB))
@@ -40,12 +41,26 @@
@@ -40,12 +44,36 @@
# for Internationalization
#
XCal-uj.ad: XCal-uj.sed
- sed 's;%%XCALENDAR_LIBDIR%%;$(XCALENDAR_LIBDIR);'\
+ sed 's;%%XCALENDAR_LIBDIR%%;$(XCALENDAR_JP_LIBDIR);'\
+ sed 's;%%XCALENDAR_LIBDIR%%;$(XCALENDAR_JP_LIBDIR_EUCJP);'\
+ < $? \
+ > $@
+xcalendar-uj.hlp: $(FILESDIR)/xcalendar-uj.hlp.sed
+ sed 's;%%XCALENDAR_LIBDIR%%;$(XCALENDAR_JP_LIBDIR);'\
+ sed 's;%%XCALENDAR_LIBDIR%%;$(XCALENDAR_JP_LIBDIR_EUCJP);'\
+ < $? \
+ > $@
+xcalendar-uj.man: $(FILESDIR)/xcalendar-uj.man.sed
+ sed 's;%%XCALENDAR_LIBDIR%%;$(XCALENDAR_JP_LIBDIR);'\
+ sed 's;%%XCALENDAR_LIBDIR%%;$(XCALENDAR_JP_LIBDIR_EUCJP);'\
< $? \
> $@
-install:: XCal-uj.ad
- MakeDir($(LIBDIR)/ja_JP.EUC/app-defaults)
- $(INSTALL) -c $(INSTAPPFLAGS) XCal-uj.ad $(LIBDIR)/ja_JP.EUC/app-defaults/XCalendar
+install::
MakeDir($(LIBDIR)/ja_JP.EUC/app-defaults)
$(INSTALL) -c $(INSTAPPFLAGS) XCal-uj.ad $(LIBDIR)/ja_JP.EUC/app-defaults/XCalendar
+ MakeDir($(XCALENDAR_JP_LIBDIR))
+ $(INSTALL) -c $(INSTAPPFLAGS) $(FILESDIR)/xcalendar-uj.hol $(XCALENDAR_JP_LIBDIR)/xcalendar.hol
+ $(INSTALL) -c $(INSTAPPFLAGS) xcalendar-uj.hlp $(XCALENDAR_JP_LIBDIR)/xcalendar.hlp
+ MakeDir($(XCALENDAR_JP_APPDEFAULTS_EUCJP))
+ $(INSTALL) -c $(INSTAPPFLAGS) XCal-uj.ad \
+ $(XCALENDAR_JP_APPDEFAULTS_EUCJP)/XCalendar
+ MakeDir($(XCALENDAR_JP_APPDEFAULTS_EUC))
+ $(LN) $(XCALENDAR_JP_APPDEFAULTS_EUCJP)/XCalendar \
+ $(XCALENDAR_JP_APPDEFAULTS_EUC)/
+
+ MakeDir($(XCALENDAR_JP_LIBDIR_EUCJP))
+ $(INSTALL) -c $(INSTAPPFLAGS) $(FILESDIR)/xcalendar-uj.hol \
+ $(XCALENDAR_JP_LIBDIR_EUCJP)/xcalendar.hol
+ $(INSTALL) -c $(INSTAPPFLAGS) xcalendar-uj.hlp \
+ $(XCALENDAR_JP_LIBDIR_EUCJP)/xcalendar.hlp
+ $(LN) $(XCALENDAR_JP_LIBDIR_EUCJP) \
+ $(XCALENDAR_JP_LIBDIR_EUC)
+
+ $(INSTALL) -c $(INSTMANFLAGS) xcalendar-uj.man \
+ $(MANPATH)/ja/man1/xcalendar.1
+ $(COMPRESSMANCMD) $(MANPATH)/ja/man1/xcalendar.1

View File

@ -1,14 +1,17 @@
bin/xcalendar
lib/X11/app-defaults/XCalendar
lib/X11/ja_JP.eucJP/app-defaults/XCalendar
lib/X11/ja_JP.eucJP/xcalendar/xcalendar.hol
lib/X11/ja_JP.eucJP/xcalendar/xcalendar.hlp
lib/X11/ja_JP.EUC/app-defaults/XCalendar
lib/X11/ja_JP.EUC/xcalendar/xcalendar.hol
lib/X11/ja_JP.EUC/xcalendar/xcalendar.hlp
lib/X11/ja_JP.EUC/xcalendar
lib/X11/xcalendar/larrow.xbm
lib/X11/xcalendar/qmark.xbm
lib/X11/xcalendar/quit.xbm
lib/X11/xcalendar/rarrow.xbm
lib/X11/xcalendar/xcalendar.hlp
@dirrm lib/X11/xcalendar
@dirrm lib/X11/ja_JP.EUC/xcalendar
@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
@dirrm lib/X11/ja_JP.eucJP/xcalendar
@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
@unexec rm %D/lib/X11/ja_JP.EUC 2>/dev/null || true