pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/inputmethod/uim Bump PKGREVISION



details:   https://anonhg.NetBSD.org/pkgsrc/rev/30ea11072c3c
branches:  trunk
changeset: 629349:30ea11072c3c
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Jan 20 10:45:03 2014 +0000

description:
Bump PKGREVISION

* Treat loader.scm and installed-modules.scm as CONF_FILES.
  They are modified by uim-module-manager.

diffstat:

 inputmethod/uim/Makefile |  17 ++++++++++++++---
 inputmethod/uim/PLIST    |   6 +++---
 2 files changed, 17 insertions(+), 6 deletions(-)

diffs (69 lines):

diff -r babc3203cab2 -r 30ea11072c3c inputmethod/uim/Makefile
--- a/inputmethod/uim/Makefile  Mon Jan 20 10:42:07 2014 +0000
+++ b/inputmethod/uim/Makefile  Mon Jan 20 10:45:03 2014 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.88 2014/01/01 11:52:21 wiz Exp $
+# $NetBSD: Makefile,v 1.89 2014/01/20 10:45:03 ryoon Exp $
 #
 
 .include "../../inputmethod/uim/Makefile.common"
 
-PKGREVISION=           5
+PKGREVISION=           6
 COMMENT=               Multilingual input method library
 #LICENSE=              See ${WRKSRC}/COPYING
 
@@ -26,7 +26,13 @@
 
 .include "options.mk"
 
-INSTALLATION_DIRS+=    share/doc/uim
+INSTALLATION_DIRS+=    share/doc/uim share/examples/uim
+
+EGDIR=                 ${PREFIX}/share/examples/uim
+CONF_FILES=            ${EGDIR}/loader.scm.example \
+                       ${PREFIX}/share/uim/loader.scm
+CONF_FILES+=           ${EGDIR}/installed-modules.scm.example \
+                       ${PREFIX}/share/uim/installed-modules.scm
 
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/uim
@@ -39,6 +45,11 @@
        ${INSTALL_DATA} ${WRKSRC}/doc/PLUGIN ${DESTDIR}${PREFIX}/share/doc/uim
        ${INSTALL_DATA} ${WRKSRC}/doc/UIM-SCM ${DESTDIR}${PREFIX}/share/doc/uim
        ${INSTALL_DATA} ${WRKSRC}/doc/UIM-SH ${DESTDIR}${PREFIX}/share/doc/uim
+# loader.scm and installed-modules.scm is updated by uim-module-manager.
+       ${MV} ${DESTDIR}${PREFIX}/share/uim/loader.scm \
+               ${DESTDIR}${EGDIR}/loader.scm.example
+       ${MV} ${DESTDIR}${PREFIX}/share/uim/installed-modules.scm \
+               ${DESTDIR}${EGDIR}/installed-modules.scm.example
 
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
diff -r babc3203cab2 -r 30ea11072c3c inputmethod/uim/PLIST
--- a/inputmethod/uim/PLIST     Mon Jan 20 10:42:07 2014 +0000
+++ b/inputmethod/uim/PLIST     Mon Jan 20 10:45:03 2014 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.20 2012/07/22 06:15:22 obache Exp $
+@comment $NetBSD: PLIST,v 1.21 2014/01/20 10:45:03 ryoon Exp $
 ${PLIST.qt3}bin/uim-chardict-qt
 ${PLIST.qt}bin/uim-chardict-qt4
 ${PLIST.uim-dict-gtk}bin/uim-dict-gtk
@@ -158,7 +158,7 @@
 share/uim/im.scm
 share/uim/init.scm
 share/uim/input-parse.scm
-share/uim/installed-modules.scm
+share/examples/uim/installed-modules.scm.example
 share/uim/ipa-x-sampa.scm
 share/uim/iso-639-1.scm
 share/uim/japanese-act.scm
@@ -183,7 +183,7 @@
 share/uim/lib/unittest.scm
 share/uim/light-record.scm
 share/uim/load-action.scm
-share/uim/loader.scm
+share/examples/uim/loader.scm.example
 share/uim/lolevel.scm
 share/uim/look-custom.scm
 share/uim/look.scm



Home | Main Index | Thread Index | Old Index