aboutsummaryrefslogtreecommitdiffstats
path: root/irc/riece-emacs21
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-04-11 02:36:23 +0800
committerknu <knu@FreeBSD.org>2001-04-11 02:36:23 +0800
commit482f0637bc5d479159c5367398c2e5bfca84f244 (patch)
treefba0953eb82fe78ad2061536b86757725396f97d /irc/riece-emacs21
parent876e93d1aa16e28aeafde5e0a43c5a43ced043af (diff)
downloadfreebsd-ports-gnome-482f0637bc5d479159c5367398c2e5bfca84f244.tar.gz
freebsd-ports-gnome-482f0637bc5d479159c5367398c2e5bfca84f244.tar.zst
freebsd-ports-gnome-482f0637bc5d479159c5367398c2e5bfca84f244.zip
Install Japanese message catalogue.
Submitted by: MAINTAINER
Diffstat (limited to 'irc/riece-emacs21')
-rw-r--r--irc/riece-emacs21/Makefile7
-rw-r--r--irc/riece-emacs21/pkg-plist4
2 files changed, 10 insertions, 1 deletions
diff --git a/irc/riece-emacs21/Makefile b/irc/riece-emacs21/Makefile
index 0db63da45428..e736793a188c 100644
--- a/irc/riece-emacs21/Makefile
+++ b/irc/riece-emacs21/Makefile
@@ -7,13 +7,15 @@
PORTNAME= liece
PORTVERSION= 1.4.4
+PORTREVISION= 1
CATEGORIES= irc elisp
MASTER_SITES= http://www.unixuser.org/~ueno/liece/dist/
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= yoichi@eken.phys.nagoya-u.ac.jp
-BUILD_DEPENDS+= ${LOCALBASE}/share/flim/${FLIM_COOKIE}:${PORTSDIR}/editors/flim-${EMACS_PORT_NAME}-current
+BUILD_DEPENDS+= ${LOCALBASE}/share/flim/${FLIM_COOKIE}:${PORTSDIR}/editors/flim-${EMACS_PORT_NAME}-current \
+ ${LOCALBASE}/bin/msgfmt:${PORTSDIR}/devel/gettext
RUN_DEPENDS+= ${LOCALBASE}/share/flim/${FLIM_COOKIE}:${PORTSDIR}/editors/flim-${EMACS_PORT_NAME}-current
EMACS_PORT_NAME?= emacs20
@@ -55,6 +57,9 @@ EMACS_ONLY?= ""
.endif
post-install:
+ ${MKDIR} ${PREFIX}/${ETCDIR}/po/ja_JP.EUC/LC_MESSAGES
+ ${LN} -sf ja_JP.EUC ${PREFIX}/${ETCDIR}/po/ja
+ msgfmt -o ${PREFIX}/${ETCDIR}/po/ja_JP.EUC/LC_MESSAGES/liece.mo ${WRKSRC}/etc/po/ja.po
.if !defined(NOPORTDOCS)
${INSTALL_DATA} ${WRKSRC}/sample.dot.emacs ${PREFIX}/${ETCDIR}/
${MKDIR} ${PREFIX}/${ETCDIR}/doc
diff --git a/irc/riece-emacs21/pkg-plist b/irc/riece-emacs21/pkg-plist
index 6ad5b792d73e..805e393a08be 100644
--- a/irc/riece-emacs21/pkg-plist
+++ b/irc/riece-emacs21/pkg-plist
@@ -24,7 +24,9 @@ bin/ltcp
%%ETCDIR%%/icons/reload.xpm
%%ETCDIR%%/icons/search.xpm
%%ETCDIR%%/icons/stop.xpm
+%%ETCDIR%%/po/ja_JP.EUC/LC_MESSAGES/liece.mo
%%ETCDIR%%/po/ja.po
+%%ETCDIR%%/po/ja
%%ETCDIR%%/styles/bottom
%%ETCDIR%%/styles/middle
%%ETCDIR%%/styles/top
@@ -36,6 +38,8 @@ bin/ltcp
%%PORTDOCS%%@dirrm %%ETCDIR%%/doc
%%PORTDOCS%%%%ETCDIR%%/sample.dot.emacs
@dirrm %%ETCDIR%%/icons
+@dirrm %%ETCDIR%%/po/ja_JP.EUC/LC_MESSAGES
+@dirrm %%ETCDIR%%/po/ja_JP.EUC
@dirrm %%ETCDIR%%/po
@dirrm %%ETCDIR%%/styles
@dirrm %%ETCDIR%%