aboutsummaryrefslogtreecommitdiffstats
path: root/mail/ezmlm-idx/Makefile
diff options
context:
space:
mode:
authortom <tom@FreeBSD.org>2000-02-23 04:28:45 +0800
committertom <tom@FreeBSD.org>2000-02-23 04:28:45 +0800
commit8a19295623ea4646704d01a086adfb1f11094ff7 (patch)
treedc8b5fd493cb31032db352372fc0c9da10a1e193 /mail/ezmlm-idx/Makefile
parent36723f8daa5c814da39b5561c1b14961a04045da (diff)
downloadfreebsd-ports-gnome-8a19295623ea4646704d01a086adfb1f11094ff7.tar.gz
freebsd-ports-gnome-8a19295623ea4646704d01a086adfb1f11094ff7.tar.zst
freebsd-ports-gnome-8a19295623ea4646704d01a086adfb1f11094ff7.zip
Fix configuration directory location
PR: ports/16728 Submitted by: Jos Backus <Jos.Backus@nl.origin-it.com>
Diffstat (limited to 'mail/ezmlm-idx/Makefile')
-rw-r--r--mail/ezmlm-idx/Makefile5
1 files changed, 3 insertions, 2 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