aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-10-11 23:02:00 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-10-11 23:02:00 +0000
commit804d8149f22852a7447fc0a48d558e761b8a0f3e (patch)
treeef665462d7ff561b7a4ed0cd27a18dd1d80b1cab /mail
parent26da1d1fcef8edbb4225a67da9f7f2fccfc0b518 (diff)
downloadports-804d8149f22852a7447fc0a48d558e761b8a0f3e.tar.gz
ports-804d8149f22852a7447fc0a48d558e761b8a0f3e.zip
Notes
Diffstat (limited to 'mail')
-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