aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hukins <tom@FreeBSD.org>2000-02-22 20:28:45 +0000
committerTom Hukins <tom@FreeBSD.org>2000-02-22 20:28:45 +0000
commit49a337a07a23a5543f93a22272469ed8d2f427e8 (patch)
tree029defbc005cd52f95584210a54094c71f1ebe73
parentef14fd654f1adea04d0c85a6d9e85589efe61409 (diff)
downloadports-49a337a07a23a5543f93a22272469ed8d2f427e8.tar.gz
ports-49a337a07a23a5543f93a22272469ed8d2f427e8.zip
Fix configuration directory location
PR: ports/16728 Submitted by: Jos Backus <Jos.Backus@nl.origin-it.com>
Notes
Notes: svn path=/head/; revision=26157
-rw-r--r--mail/ezmlm-idx/Makefile5
-rw-r--r--mail/ezmlm-idx/pkg-message2
-rw-r--r--mail/ezmlm-idx/pkg-plist7
3 files changed, 8 insertions, 6 deletions
diff --git a/mail/ezmlm-idx/Makefile b/mail/ezmlm-idx/Makefile
index a4d9c4ef26e1..96adfaeddffc 100644
--- a/mail/ezmlm-idx/Makefile
+++ b/mail/ezmlm-idx/Makefile
@@ -83,7 +83,7 @@ post-patch:
@${ECHO} ${QMAIL_DIR} >> ${WRKDIR}/.PPREFIX
@${ECHO} ${NOPORTDOCS} ${USE_MYSQL} >> ${WRKDIR}/.PPREFIX
@${MV} ${WRKSRC}/idx.h ${WRKSRC}/idx.h.orig
- @${SED} -e 's#TXT_ETC_EZMLMRC "/etc/ezmlmrc"#TXT_ETC_EZMLMRC "${PREFIX}/etc/ezmlmrc"#' \
+ @${SED} -e 's#/etc/ezmlm/#'${PREFIX}'/etc/ezmlm/#' \
< ${WRKSRC}/idx.h.orig > ${WRKSRC}/idx.h
@${CP} ${PKGDIR}/PLIST ${WRKDIR}
.if !defined(NOPORTDOCS)
@@ -103,8 +103,9 @@ do-install:
.for file in ${MY_SCRIPTS}
@${INSTALL_SCRIPT} ${WRKSRC}/ezmlm-${file} ${PREFIX}/bin
.endfor
+ @${MKDIR} ${PREFIX}/etc/ezmlm
.for file in ${MY_CONFIG}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/etc/${file}.sample
+ @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/etc/ezmlm/${file}.sample
.endfor
.for file in ${MAN1}
@${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/man/man1
diff --git a/mail/ezmlm-idx/pkg-message b/mail/ezmlm-idx/pkg-message
index 272832fc65fb..90a42f488c55 100644
--- a/mail/ezmlm-idx/pkg-message
+++ b/mail/ezmlm-idx/pkg-message
@@ -2,7 +2,7 @@ ezmlm-idx has been installed successfully.
However, before you can use the programs, you should copy the
"ezmlmglrc.sample", "ezmlmrc.sample" and "ezmlmsubrc.sample" files
-in ${PREFIX}/etc to "ezmlmglrc", "ezmlmrc" and "ezmlmsubrc"
+in ${PREFIX}/etc/ezmlm to "ezmlmglrc", "ezmlmrc" and "ezmlmsubrc"
respectively.
Usually, you do not need to edit these files, but be sure to check
diff --git a/mail/ezmlm-idx/pkg-plist b/mail/ezmlm-idx/pkg-plist
index e7ffe41f4537..509969dc4810 100644
--- a/mail/ezmlm-idx/pkg-plist
+++ b/mail/ezmlm-idx/pkg-plist
@@ -27,6 +27,7 @@ bin/ezmlm-tstdig
bin/ezmlm-unsub
bin/ezmlm-warn
bin/ezmlm-weed
-etc/ezmlmglrc.sample
-etc/ezmlmrc.sample
-etc/ezmlmsubrc.sample
+etc/ezmlm/ezmlmglrc.sample
+etc/ezmlm/ezmlmrc.sample
+etc/ezmlm/ezmlmsubrc.sample
+@dirrm etc/ezmlm