diff options
author | vanilla <vanilla@FreeBSD.org> | 2005-03-03 13:10:04 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2005-03-03 13:10:04 +0800 |
commit | 8d0c316838451ac9593e4d99f9ca1bf45b590696 (patch) | |
tree | b574e7b03c068d8f33b4b8b42c88fbddc094c8bb /chinese/gcin | |
parent | d069963ad3d83dd37be01f7456cf96c2ddf2fa83 (diff) | |
download | freebsd-ports-gnome-8d0c316838451ac9593e4d99f9ca1bf45b590696.tar.gz freebsd-ports-gnome-8d0c316838451ac9593e4d99f9ca1bf45b590696.tar.zst freebsd-ports-gnome-8d0c316838451ac9593e4d99f9ca1bf45b590696.zip |
Add a patch for gcin-setup "Help" button.
Submitted by: chinsan <chinsan@mail2000.com.tw>
Diffstat (limited to 'chinese/gcin')
-rw-r--r-- | chinese/gcin/Makefile | 1 | ||||
-rw-r--r-- | chinese/gcin/files/patch-Makefile | 17 | ||||
-rw-r--r-- | chinese/gcin/files/patch-configure | 11 | ||||
-rw-r--r-- | chinese/gcin/pkg-plist | 2 |
4 files changed, 30 insertions, 1 deletions
diff --git a/chinese/gcin/Makefile b/chinese/gcin/Makefile index fd5191c5d06a..371c689f3483 100644 --- a/chinese/gcin/Makefile +++ b/chinese/gcin/Makefile @@ -7,6 +7,7 @@ PORTNAME= gcin PORTVERSION= 0.8.4 +PORTREVISION= 1 CATEGORIES= chinese MASTER_SITES= http://www.csie.nctu.edu.tw/~cp76/gcin/download/ diff --git a/chinese/gcin/files/patch-Makefile b/chinese/gcin/files/patch-Makefile new file mode 100644 index 000000000000..f8d6f0887a94 --- /dev/null +++ b/chinese/gcin/files/patch-Makefile @@ -0,0 +1,17 @@ +--- Makefile.orig Fri Feb 25 21:40:34 2005 ++++ Makefile Wed Mar 2 18:27:45 2005 +@@ -85,12 +85,12 @@ + $(MAKE) -C gtk-im install + if [ $(prefix) = /usr/local ]; then \ + install -m 644 gcin.png /usr/share/icons; \ +- install -d $(DOC_DIR); \ +- install -m 644 README $(DOC_DIR); \ + install $(PROGS) $(bindir); \ + else \ + install -s $(PROGS) $(bindir); \ + fi ++ install -d $(DOC_DIR); \ ++ install -m 644 README $(DOC_DIR); \ + $(MAKE) -C scripts install + $(MAKE) -C menu install + clean: diff --git a/chinese/gcin/files/patch-configure b/chinese/gcin/files/patch-configure index 9ceb4e8650ed..936902ddf08e 100644 --- a/chinese/gcin/files/patch-configure +++ b/chinese/gcin/files/patch-configure @@ -1,5 +1,5 @@ --- configure.orig Sat Feb 26 10:40:57 2005 -+++ configure Wed Mar 2 02:51:00 2005 ++++ configure Wed Mar 2 18:26:06 2005 @@ -1,12 +1,12 @@ -#!/bin/bash +#!/bin/sh @@ -16,3 +16,12 @@ if [ $? = 0 ]; then FREEBSD=1 else +@@ -78,7 +78,7 @@ + echo "GCIN_SCRIPT_DIR=\$(datadir_r)/gcin/script" >> config.mak + echo "GCIN_SCRIPT_DIR_i=\$(datadir)/gcin/script" >> config.mak + echo "OPTFLAGS=$OPTFLAGS" >> config.mak +-echo "DOC_DIR=\$(datadir_r)/doc/gcin-$GCIN_VERSION" >> config.mak ++echo "DOC_DIR=\$(datadir_r)/doc/gcin" >> config.mak + echo "GCIN_ICON_DIR=\$(datadir_r)/icons/gcin" >> config.mak + echo "SYS_ICON_DIR=\$(datadir_r)/icons" >> config.mak + echo "GCIN_ICON_DIR_i=\$(datadir)/icons/gcin" >> config.mak diff --git a/chinese/gcin/pkg-plist b/chinese/gcin/pkg-plist index d268d94f8183..5494ad7f0b0c 100644 --- a/chinese/gcin/pkg-plist +++ b/chinese/gcin/pkg-plist @@ -31,10 +31,12 @@ lib/menu/gcin-setup %%DATADIR%%/table/tsin.idx %%DATADIR%%/table/zo.kbm %%DATADIR%%/table/zo-asdf.kbm +%%DOCSDIR%%/README 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 @dirrm %%DATADIR%%/table |