1: upgrade to 0..1.

2: fix distinfo.

Submitted by:	chinsan <chinsan@mail2000.com.tw>
Approved by:	maintainer
This commit is contained in:
Vanilla I. Shu 2005-04-19 06:10:10 +00:00
parent 49f0f1511a
commit 6f19306a9a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133630
8 changed files with 158 additions and 12 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= gcin
PORTVERSION= 0.9.0
PORTVERSION= 0.9.1
CATEGORIES= chinese
MASTER_SITES= http://www.csie.nctu.edu.tw/~cp76/gcin/download/

View File

@ -1,2 +1,2 @@
MD5 (gcin-0.9.0.tar.bz2) = 285d724f7d9a07a01e21fc282c389c93
SIZE (gcin-0.8.9.tar.bz2) = 1096190
MD5 (gcin-0.9.1.tar.bz2) = b9b30dcd0e81b47666d3d608930c4082
SIZE (gcin-0.9.1.tar.bz2) = 1105801

View File

@ -0,0 +1,74 @@
diff -ruN menu.orig/Makefile menu/Makefile
--- menu.orig/Makefile Wed Feb 9 15:55:03 2005
+++ menu/Makefile Mon Apr 18 07:56:45 2005
@@ -1,4 +1,4 @@
-MENUS = gcin gcin-setup
+MENUS = gcin.desktop gcin-setup.desktop
include ../config.mak
@@ -10,8 +10,8 @@
install -m 644 $(MENUS) /usr/lib/menu; \
which update-menus >& /dev/null && update-menus || exit 0; \
else \
- install -d $(libdir)/menu; \
- install -m 644 $(MENUS) $(libdir)/menu; \
+ install -d $(prefix)/share/applications; \
+ install -m 644 $(MENUS) $(prefix)/share/applications; \
fi
clean:
rm -f $(MENUS) *~
diff -ruN menu.orig/gcin menu/gcin
--- menu.orig/gcin Fri Apr 15 09:12:37 2005
+++ menu/gcin Thu Jan 1 08:00:00 1970
@@ -1 +0,0 @@
-?package(gcin): icon="gcin.png" title="gcin" longtitle="gcin chinese input method" needs="x11" section="Chinese" command="/usr/local/bin/gcin"
diff -ruN menu.orig/gcin-setup menu/gcin-setup
--- menu.orig/gcin-setup Fri Apr 15 09:12:37 2005
+++ menu/gcin-setup Thu Jan 1 08:00:00 1970
@@ -1 +0,0 @@
-?package(gcin): icon="gcin.png" title="gcin-setup 設定" longtitle="gcin-setup 設定" needs="x11" section="Chinese" command="/usr/local/bin/gcin-setup"
diff -ruN menu.orig/gcin-setup.desktop.in menu/gcin-setup.desktop.in
--- menu.orig/gcin-setup.desktop.in Thu Jan 1 08:00:00 1970
+++ menu/gcin-setup.desktop.in Mon Apr 18 07:56:45 2005
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Categories=Application;Settings;
+Encoding=UTF-8
+Type=Application
+Name=gcin-setup
+Exec=gcin-setup -caption "%c" %i %m %u
+GenericName=gcin-setup
+GenericName[zh_CN]=gcin-setup 設定 gcin
+GenericName[zh_TW]=gcin-setup 設定 gcin
+Comment=gcin-setup 設定 gcin
+MimeTypes=
+Terminal=false
+Icon=/usr/X11R6/share/icons/gcin.png
diff -ruN menu.orig/gcin-setup.in menu/gcin-setup.in
--- menu.orig/gcin-setup.in Thu Nov 11 15:54:50 2004
+++ menu/gcin-setup.in Thu Jan 1 08:00:00 1970
@@ -1 +0,0 @@
-?package(gcin): icon="gcin.png" title="gcin-setup 設定" longtitle="gcin-setup 設定" needs="x11" section="Chinese" command="/usr/local/bin/gcin-setup"
diff -ruN menu.orig/gcin.desktop.in menu/gcin.desktop.in
--- menu.orig/gcin.desktop.in Thu Jan 1 08:00:00 1970
+++ menu/gcin.desktop.in Mon Apr 18 07:56:45 2005
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Categories=Application;System;Utility;
+Encoding=UTF-8
+Type=Application
+Name=gcin
+Exec=gcin -caption "%c" %i %m %u
+GenericName=gcin chinese input method
+GenericName[zh_CN]=gcin 輸入法
+GenericName[zh_TW]=gcin 輸入法
+Comment=A triditional chinese input utility in X
+MimeTypes=
+Terminal=false
+Icon=/usr/X11R6/share/icons/gcin.png
diff -ruN menu.orig/gcin.in menu/gcin.in
--- menu.orig/gcin.in Thu Nov 11 15:53:01 2004
+++ menu/gcin.in Thu Jan 1 08:00:00 1970
@@ -1 +0,0 @@
-?package(gcin): icon="gcin.png" title="gcin" longtitle="gcin chinese input method" needs="x11" section="Chinese" command="/usr/local/bin/gcin"

View File

@ -9,8 +9,6 @@ bin/tslearn
include/gcin-im-client.h
lib/gtk-2.0/immodules/im-gcin.so
lib/libgcin-im-client.so
lib/menu/gcin
lib/menu/gcin-setup
%%DATADIR%%/script/gcin-user-setup
%%DATADIR%%/script/gcin-utf8-setup
%%DATADIR%%/script/modify-XIM
@ -38,10 +36,11 @@ lib/menu/gcin-setup
%%DATADIR%%/table/zo-asdf.kbm
%%DOCSDIR%%/README
%%DOCSDIR%%/Changelog
share/applications/gcin.desktop
share/applications/gcin-setup.desktop
share/icons/gcin.png
share/icons/gcin/pin-fixed24.png
share/icons/gcin/pin-float16.png
@dirrm lib/menu
@dirrm %%DOCSDIR%%
@dirrm share/icons/gcin
@unexec rmdir %D/share/icons 2>/dev/null || true

View File

@ -6,7 +6,7 @@
#
PORTNAME= gcin
PORTVERSION= 0.9.0
PORTVERSION= 0.9.1
CATEGORIES= chinese
MASTER_SITES= http://www.csie.nctu.edu.tw/~cp76/gcin/download/

View File

@ -1,2 +1,2 @@
MD5 (gcin-0.9.0.tar.bz2) = 285d724f7d9a07a01e21fc282c389c93
SIZE (gcin-0.8.9.tar.bz2) = 1096190
MD5 (gcin-0.9.1.tar.bz2) = b9b30dcd0e81b47666d3d608930c4082
SIZE (gcin-0.9.1.tar.bz2) = 1105801

View File

@ -0,0 +1,74 @@
diff -ruN menu.orig/Makefile menu/Makefile
--- menu.orig/Makefile Wed Feb 9 15:55:03 2005
+++ menu/Makefile Mon Apr 18 07:56:45 2005
@@ -1,4 +1,4 @@
-MENUS = gcin gcin-setup
+MENUS = gcin.desktop gcin-setup.desktop
include ../config.mak
@@ -10,8 +10,8 @@
install -m 644 $(MENUS) /usr/lib/menu; \
which update-menus >& /dev/null && update-menus || exit 0; \
else \
- install -d $(libdir)/menu; \
- install -m 644 $(MENUS) $(libdir)/menu; \
+ install -d $(prefix)/share/applications; \
+ install -m 644 $(MENUS) $(prefix)/share/applications; \
fi
clean:
rm -f $(MENUS) *~
diff -ruN menu.orig/gcin menu/gcin
--- menu.orig/gcin Fri Apr 15 09:12:37 2005
+++ menu/gcin Thu Jan 1 08:00:00 1970
@@ -1 +0,0 @@
-?package(gcin): icon="gcin.png" title="gcin" longtitle="gcin chinese input method" needs="x11" section="Chinese" command="/usr/local/bin/gcin"
diff -ruN menu.orig/gcin-setup menu/gcin-setup
--- menu.orig/gcin-setup Fri Apr 15 09:12:37 2005
+++ menu/gcin-setup Thu Jan 1 08:00:00 1970
@@ -1 +0,0 @@
-?package(gcin): icon="gcin.png" title="gcin-setup 設定" longtitle="gcin-setup 設定" needs="x11" section="Chinese" command="/usr/local/bin/gcin-setup"
diff -ruN menu.orig/gcin-setup.desktop.in menu/gcin-setup.desktop.in
--- menu.orig/gcin-setup.desktop.in Thu Jan 1 08:00:00 1970
+++ menu/gcin-setup.desktop.in Mon Apr 18 07:56:45 2005
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Categories=Application;Settings;
+Encoding=UTF-8
+Type=Application
+Name=gcin-setup
+Exec=gcin-setup -caption "%c" %i %m %u
+GenericName=gcin-setup
+GenericName[zh_CN]=gcin-setup 設定 gcin
+GenericName[zh_TW]=gcin-setup 設定 gcin
+Comment=gcin-setup 設定 gcin
+MimeTypes=
+Terminal=false
+Icon=/usr/X11R6/share/icons/gcin.png
diff -ruN menu.orig/gcin-setup.in menu/gcin-setup.in
--- menu.orig/gcin-setup.in Thu Nov 11 15:54:50 2004
+++ menu/gcin-setup.in Thu Jan 1 08:00:00 1970
@@ -1 +0,0 @@
-?package(gcin): icon="gcin.png" title="gcin-setup 設定" longtitle="gcin-setup 設定" needs="x11" section="Chinese" command="/usr/local/bin/gcin-setup"
diff -ruN menu.orig/gcin.desktop.in menu/gcin.desktop.in
--- menu.orig/gcin.desktop.in Thu Jan 1 08:00:00 1970
+++ menu/gcin.desktop.in Mon Apr 18 07:56:45 2005
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Categories=Application;System;Utility;
+Encoding=UTF-8
+Type=Application
+Name=gcin
+Exec=gcin -caption "%c" %i %m %u
+GenericName=gcin chinese input method
+GenericName[zh_CN]=gcin 輸入法
+GenericName[zh_TW]=gcin 輸入法
+Comment=A triditional chinese input utility in X
+MimeTypes=
+Terminal=false
+Icon=/usr/X11R6/share/icons/gcin.png
diff -ruN menu.orig/gcin.in menu/gcin.in
--- menu.orig/gcin.in Thu Nov 11 15:53:01 2004
+++ menu/gcin.in Thu Jan 1 08:00:00 1970
@@ -1 +0,0 @@
-?package(gcin): icon="gcin.png" title="gcin" longtitle="gcin chinese input method" needs="x11" section="Chinese" command="/usr/local/bin/gcin"

View File

@ -9,8 +9,6 @@ bin/tslearn
include/gcin-im-client.h
lib/gtk-2.0/immodules/im-gcin.so
lib/libgcin-im-client.so
lib/menu/gcin
lib/menu/gcin-setup
%%DATADIR%%/script/gcin-user-setup
%%DATADIR%%/script/gcin-utf8-setup
%%DATADIR%%/script/modify-XIM
@ -38,10 +36,11 @@ lib/menu/gcin-setup
%%DATADIR%%/table/zo-asdf.kbm
%%DOCSDIR%%/README
%%DOCSDIR%%/Changelog
share/applications/gcin.desktop
share/applications/gcin-setup.desktop
share/icons/gcin.png
share/icons/gcin/pin-fixed24.png
share/icons/gcin/pin-float16.png
@dirrm lib/menu
@dirrm %%DOCSDIR%%
@dirrm share/icons/gcin
@unexec rmdir %D/share/icons 2>/dev/null || true