aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2005-08-01 08:08:27 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2005-08-01 08:08:27 +0000
commiteb764110b9ef6b266286d6219ec879b074970147 (patch)
tree6189fc25dc636ef5b082858221f1c9e6f601ac82 /japanese
parente54b98fb163a4e0dd0df6440276202fc5baca97f (diff)
downloadports-eb764110b9ef6b266286d6219ec879b074970147.tar.gz
ports-eb764110b9ef6b266286d6219ec879b074970147.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/scim-skk/Makefile10
-rw-r--r--japanese/scim-skk/distinfo4
-rw-r--r--japanese/scim-skk/files/patch-src-scim_skk_prefs.h11
3 files changed, 20 insertions, 5 deletions
diff --git a/japanese/scim-skk/Makefile b/japanese/scim-skk/Makefile
index 16be09482c96..2e63ea4b7cff 100644
--- a/japanese/scim-skk/Makefile
+++ b/japanese/scim-skk/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= scim-skk
-PORTVERSION= 0.2.1
-PORTREVISION= 1
+PORTVERSION= 0.3.0
+PORTREVISION= 0
CATEGORIES= japanese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= scim-imengine/14947
+MASTER_SITE_SUBDIR= scim-imengine/15351
MAINTAINER= mukai@jmuk.org
COMMENT= SCIM IMEngine module like SKK
@@ -21,6 +21,7 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
USE_X_PREFIX= yes
USE_ICONV= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
USE_LIBTOOL_VER=15
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
@@ -38,6 +39,9 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
LDFLAGS="-L${LOCALBASE}/lib"
.endif
+post-patch:
+ @${REINPLACE_CMD} "s|LOCALBASE|${LOCALBASE}|" ${WRKSRC}/src/scim_skk_prefs.h
+
post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO}
diff --git a/japanese/scim-skk/distinfo b/japanese/scim-skk/distinfo
index 95462dfecd21..5557331ea92e 100644
--- a/japanese/scim-skk/distinfo
+++ b/japanese/scim-skk/distinfo
@@ -1,2 +1,2 @@
-MD5 (scim-skk-0.2.1.tar.gz) = ed9c1d720844710c28bb64772edad1b0
-SIZE (scim-skk-0.2.1.tar.gz) = 524123
+MD5 (scim-skk-0.3.0.tar.gz) = 8ff1eebd49f62a5d19d21513d884402c
+SIZE (scim-skk-0.3.0.tar.gz) = 531688
diff --git a/japanese/scim-skk/files/patch-src-scim_skk_prefs.h b/japanese/scim-skk/files/patch-src-scim_skk_prefs.h
new file mode 100644
index 000000000000..6e062b7a38bd
--- /dev/null
+++ b/japanese/scim-skk/files/patch-src-scim_skk_prefs.h
@@ -0,0 +1,11 @@
+--- src/scim_skk_prefs.h.orig Wed Jun 29 14:31:26 2005
++++ src/scim_skk_prefs.h Sat Jul 30 19:26:45 2005
+@@ -73,7 +73,7 @@
+ #define SCIM_SKK_CONFIG_UPCASE_KEY_DEFAULT "Control+u"
+ #define SCIM_SKK_CONFIG_SELECTION_STYLE_DEFAULT "Qwerty"
+
+-#define SCIM_SKK_CONFIG_SYSDICT_DEFAULT "/usr/share/skk/SKK-JISYO.L"
++#define SCIM_SKK_CONFIG_SYSDICT_DEFAULT "LOCALBASE/share/skk/SKK-JISYO.L"
+ #define SCIM_SKK_CONFIG_USERDICT_DEFAULT ".skk-scim-jisyo"
+ #define SCIM_SKK_CONFIG_CANDVEC_SIZE_DEFAULT 4
+ #define SCIM_SKK_CONFIG_ANNOT_VIEW_DEFAULT true