aboutsummaryrefslogtreecommitdiffstats
path: root/mail/quickml
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-10-12 07:02:00 +0800
committerpav <pav@FreeBSD.org>2004-10-12 07:02:00 +0800
commit59caeda6f3602f5d13f707531b4df461d287e4f5 (patch)
tree63029b4a71e8c5d7cfc4be126d5f086ae6161c65 /mail/quickml
parenta7b99d3031761d274ef387ec4caa6c773ec4c797 (diff)
downloadfreebsd-ports-gnome-59caeda6f3602f5d13f707531b4df461d287e4f5.tar.gz
freebsd-ports-gnome-59caeda6f3602f5d13f707531b4df461d287e4f5.tar.zst
freebsd-ports-gnome-59caeda6f3602f5d13f707531b4df461d287e4f5.zip
- Install japanese translation
PR: ports/72244 Submitted by: Yuichiro AIZAWA <yaizawa@mdbl.sfc.keio.ac.jp> (maintainer)
Diffstat (limited to 'mail/quickml')
-rw-r--r--mail/quickml/Makefile4
-rw-r--r--mail/quickml/pkg-plist2
2 files changed, 6 insertions, 0 deletions
diff --git a/mail/quickml/Makefile b/mail/quickml/Makefile
index 933b043836f7..b7d4ef3fabb4 100644
--- a/mail/quickml/Makefile
+++ b/mail/quickml/Makefile
@@ -7,6 +7,7 @@
PORTNAME= quickml
PORTVERSION= 0.7
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://namazu.org/%7esatoru/quickml/
@@ -29,6 +30,7 @@ USE_RC_SUBR= yes
FILES_SUB= USER=${QUICKML_USER} GROUP=${QUICKML_GROUP} \
PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} RUBY=${RUBY}
+CONFIGURE_ARGS+= --datadir="${PREFIX}/share/quickml"
CONFIGURE_ARGS+= --with-ruby="${RUBY}"
CONFIGURE_ARGS+= --with-user="${QUICKML_USER}"
CONFIGURE_ARGS+= --with-group="${QUICKML_GROUP}"
@@ -55,6 +57,8 @@ pre-install:
@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
post-install:
+ ${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/messages.ja ${DATADIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ml-usage.en.rd ${DOCSDIR}
diff --git a/mail/quickml/pkg-plist b/mail/quickml/pkg-plist
index 693aade1237f..af0c6af1d49a 100644
--- a/mail/quickml/pkg-plist
+++ b/mail/quickml/pkg-plist
@@ -14,6 +14,8 @@ sbin/quickml-ctl
@unexec if cmp -s %D/etc/quickmlrc %D/etc/quickmlrc.sample; then rm -f %D/etc/quickmlrc; fi
etc/quickmlrc.sample
etc/rc.d/quickml.sh
+%%DATADIR%%/messages.ja
+@dirrm %%DATADIR%%
@dirrm %%RUBY_LIBDIR%%/quickml
%%PORTDOCS%%%%DOCSDIR%%/ml-usage.en.rd
%%PORTDOCS%%%%DOCSDIR%%/quickml.en.rd