From 8d0c316838451ac9593e4d99f9ca1bf45b590696 Mon Sep 17 00:00:00 2001 From: vanilla Date: Thu, 3 Mar 2005 05:10:04 +0000 Subject: Add a patch for gcin-setup "Help" button. Submitted by: chinsan --- chinese/gcin-devel/Makefile | 1 + chinese/gcin-devel/files/patch-Makefile | 17 +++++++++++++++++ chinese/gcin-devel/files/patch-configure | 11 ++++++++++- chinese/gcin-devel/pkg-plist | 2 ++ chinese/gcin/Makefile | 1 + chinese/gcin/files/patch-Makefile | 17 +++++++++++++++++ chinese/gcin/files/patch-configure | 11 ++++++++++- chinese/gcin/pkg-plist | 2 ++ 8 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 chinese/gcin-devel/files/patch-Makefile create mode 100644 chinese/gcin/files/patch-Makefile (limited to 'chinese') diff --git a/chinese/gcin-devel/Makefile b/chinese/gcin-devel/Makefile index fd5191c5d06a..371c689f3483 100644 --- a/chinese/gcin-devel/Makefile +++ b/chinese/gcin-devel/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-devel/files/patch-Makefile b/chinese/gcin-devel/files/patch-Makefile new file mode 100644 index 000000000000..f8d6f0887a94 --- /dev/null +++ b/chinese/gcin-devel/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-devel/files/patch-configure b/chinese/gcin-devel/files/patch-configure index 9ceb4e8650ed..936902ddf08e 100644 --- a/chinese/gcin-devel/files/patch-configure +++ b/chinese/gcin-devel/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-devel/pkg-plist b/chinese/gcin-devel/pkg-plist index d268d94f8183..5494ad7f0b0c 100644 --- a/chinese/gcin-devel/pkg-plist +++ b/chinese/gcin-devel/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 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 -- cgit