aboutsummaryrefslogtreecommitdiff
path: root/deskutils/xcalendar
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-05-16 10:27:53 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-05-16 10:27:53 +0000
commit89f3a1125384ba8914321e9b4337fbe44267ced2 (patch)
tree60cc31096e3d15b5ac099b12b2f7843a734a5311 /deskutils/xcalendar
parent833c9d2bebd8cee334b9665349418d96db166a40 (diff)
downloadports-89f3a1125384ba8914321e9b4337fbe44267ced2.tar.gz
ports-89f3a1125384ba8914321e9b4337fbe44267ced2.zip
Notes
Diffstat (limited to 'deskutils/xcalendar')
-rw-r--r--deskutils/xcalendar/Makefile1
-rw-r--r--deskutils/xcalendar/files/patch-ad43
-rw-r--r--deskutils/xcalendar/pkg-plist13
3 files changed, 38 insertions, 19 deletions
diff --git a/deskutils/xcalendar/Makefile b/deskutils/xcalendar/Makefile
index f1dc746264b5..5300af8e1092 100644
--- a/deskutils/xcalendar/Makefile
+++ b/deskutils/xcalendar/Makefile
@@ -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
diff --git a/deskutils/xcalendar/files/patch-ad b/deskutils/xcalendar/files/patch-ad
index 1122f1b87e09..60f55a3801f5 100644
--- a/deskutils/xcalendar/files/patch-ad
+++ b/deskutils/xcalendar/files/patch-ad
@@ -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
diff --git a/deskutils/xcalendar/pkg-plist b/deskutils/xcalendar/pkg-plist
index dd3dff00f810..95897520eba9 100644
--- a/deskutils/xcalendar/pkg-plist
+++ b/deskutils/xcalendar/pkg-plist
@@ -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