aboutsummaryrefslogtreecommitdiff
path: root/textproc/kmfl-varamozhi-malayalam
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-11-04 10:28:43 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-11-04 10:28:43 +0000
commit621547fb62ea54c69581a77475baddcd4ba0099d (patch)
tree1f9cb2d9477d197865f843e74290c2204d1a211a /textproc/kmfl-varamozhi-malayalam
parent5ee1648e91451b1bba6d7a2510df3d0b6195b9cb (diff)
downloadports-621547fb62ea54c69581a77475baddcd4ba0099d.tar.gz
ports-621547fb62ea54c69581a77475baddcd4ba0099d.zip
- Add correct language code
PR: 140264 140265 140266 Submitted by: Nikola Lecic <nikola.lecic@anthesphoria.net> (maintainer)
Notes
Notes: svn path=/head/; revision=243751
Diffstat (limited to 'textproc/kmfl-varamozhi-malayalam')
-rw-r--r--textproc/kmfl-varamozhi-malayalam/Makefile7
-rw-r--r--textproc/kmfl-varamozhi-malayalam/files/patch-mozhi_1.1.0.kmn24
2 files changed, 26 insertions, 5 deletions
diff --git a/textproc/kmfl-varamozhi-malayalam/Makefile b/textproc/kmfl-varamozhi-malayalam/Makefile
index 30cc8014dee7..319abc951bcd 100644
--- a/textproc/kmfl-varamozhi-malayalam/Makefile
+++ b/textproc/kmfl-varamozhi-malayalam/Makefile
@@ -7,6 +7,7 @@
PORTNAME= scim-kmfl-varamozhi-malayalam
PORTVERSION= 1.1.1
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= SF/varamozhi/2%20Mozhi%20Keyman%20-%20Input%20Method/${PORTVERSION} \
http://anthesphoria.net/FreeBSD/ports/distfiles/kmfl/
@@ -29,10 +30,6 @@ SCIM_KMFL_ICONS_DIR= share/scim/kmfl/icons
PLIST_FILES= ${SCIM_KMFL_DIR}/mozhi_1.1.0.kmn \
${SCIM_KMFL_ICONS_DIR}/mozhi.bmp
-post-patch:
- @${REINPLACE_CMD} -E 's|(Mozhi Keymap 1\.1\.1)|Varamozhi \1|' \
- ${WRKSRC}/mozhi_1.1.0.kmn
-
do-install:
${INSTALL_DATA} ${WRKSRC}/*.kmn ${LOCALBASE}/${SCIM_KMFL_DIR}
${INSTALL_DATA} ${WRKSRC}/*.bmp ${LOCALBASE}/${SCIM_KMFL_ICONS_DIR}
@@ -40,7 +37,7 @@ do-install:
post-install:
@${ECHO_MSG} "--------------------------------------------------------"
@${ECHO_MSG} " You should now have the new keyboard in the section"
- @${ECHO_MSG} " \"Others\" in your SCIM menu. If you don't see it,"
+ @${ECHO_MSG} " \"Malayalam\" in your SCIM menu. If you don't see it,"
@${ECHO_MSG} " restart X."
@${ECHO_MSG}
@${ECHO_MSG} " At the moment, this keyboard has no downloadable"
diff --git a/textproc/kmfl-varamozhi-malayalam/files/patch-mozhi_1.1.0.kmn b/textproc/kmfl-varamozhi-malayalam/files/patch-mozhi_1.1.0.kmn
new file mode 100644
index 000000000000..4cd940c19a3e
--- /dev/null
+++ b/textproc/kmfl-varamozhi-malayalam/files/patch-mozhi_1.1.0.kmn
@@ -0,0 +1,24 @@
+--- mozhi_1.1.0.kmn.orig 2009-11-04 09:05:06.000000000 +0100
++++ mozhi_1.1.0.kmn 2009-11-04 09:06:50.000000000 +0100
+@@ -6,12 +6,13 @@
+ c License along with this library; if not, write to the Free Software
+ c Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+-NAME "Mozhi Keymap 1.1.1"
++NAME "Varamozhi Mozhi Keymap 1.1.1"
+ COPYRIGHT "2006 © Raj Nair (peringz at gmail dot com)"
+ MESSAGE "Mozhi Keymap is a varamozhi based Tavultesoft keyboard available for Windows & Linux OS. Mozhi Keymap is distributed under GNU LGPL."
+ VERSION 6.0
+ BITMAP mozhi.bmp
+ CAPS ALWAYS OFF
++store(&language) "ml_IN"
+
+ store(&MnemonicLayout) "1"
+ begin Unicode > use(main)
+@@ -436,4 +437,4 @@
+ U+0D46 + [K_I] > U+0D48
+ U+0D28 U+0D4D U+0D28 U+0D4D + [K_G] > U+0D19 U+0D4D U+0D19 U+0D4D
+
+-c EOF
+\ No newline at end of file
++c EOF