summaryrefslogtreecommitdiff
path: root/inputmethod/uim
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2014-01-20 10:45:03 +0000
committerryoon <ryoon@pkgsrc.org>2014-01-20 10:45:03 +0000
commit2670e98496b80e3e603e8fb153ae5732354c5e4f (patch)
treedd39e33b4c926f50de2bc4c494059cd9ed75cca1 /inputmethod/uim
parent1f053f50fef0b90c325710add7f4e4fc2d8db5fa (diff)
downloadpkgsrc-2670e98496b80e3e603e8fb153ae5732354c5e4f.tar.gz
Bump PKGREVISION
* Treat loader.scm and installed-modules.scm as CONF_FILES. They are modified by uim-module-manager.
Diffstat (limited to 'inputmethod/uim')
-rw-r--r--inputmethod/uim/Makefile17
-rw-r--r--inputmethod/uim/PLIST6
2 files changed, 17 insertions, 6 deletions
diff --git a/inputmethod/uim/Makefile b/inputmethod/uim/Makefile
index 8a5dc23b931..4d3c461c564 100644
--- a/inputmethod/uim/Makefile
+++ b/inputmethod/uim/Makefile
@@ -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 @@ CFLAGS.SunOS+= -std=c99 -D__EXTENSIONS__
.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 @@ post-install:
${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 --git a/inputmethod/uim/PLIST b/inputmethod/uim/PLIST
index b77a2e3b4b8..a252b4f7826 100644
--- a/inputmethod/uim/PLIST
+++ b/inputmethod/uim/PLIST
@@ -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-switcher.scm
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/srfi-95.scm
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