aboutsummaryrefslogtreecommitdiff
path: root/mail/dma
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2022-03-02 13:23:29 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2022-03-02 13:28:57 +0000
commitbfacd10e33090f9b779ec7333d981aac0d70dc15 (patch)
treeddf4d0e1b7e91880e7578e418cc06eb078c922fc /mail/dma
parent93ee6b32d950635e6cc136e346abeaed7cf1696f (diff)
downloadports-bfacd10e33090f9b779ec7333d981aac0d70dc15.tar.gz
ports-bfacd10e33090f9b779ec7333d981aac0d70dc15.zip
Diffstat (limited to 'mail/dma')
-rw-r--r--mail/dma/Makefile6
-rw-r--r--mail/dma/pkg-plist6
2 files changed, 7 insertions, 5 deletions
diff --git a/mail/dma/Makefile b/mail/dma/Makefile
index 7697ad23e985..097f66fbdded 100644
--- a/mail/dma/Makefile
+++ b/mail/dma/Makefile
@@ -1,6 +1,7 @@
# Created by: Daniel Roethlisberger <daniel@roe.ch>
PORTNAME= dma
+PORTREVISION= 1
DISTVERSIONPREFIX= v
DISTVERSION= 0.13.20220128
PORTEPOCH= 1
@@ -43,13 +44,14 @@ post-patch:
${WRKSRC}/bsd/dma-mbox-create/Makefile
post-install:
- ${MKDIR} ${STAGEDIR}${ETCDIR}/cron.d
+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/cron.d
+ ${MKDIR} ${STAGEDIR}${ETCDIR}
${MKDIR} ${STAGEDIR}/var/spool/dma
${INSTALL_DATA} ${WRKSRC}/dma.conf \
${STAGEDIR}${ETCDIR}/dma.conf.sample
${INSTALL_DATA} ${WRKSRC}/auth.conf \
${STAGEDIR}${ETCDIR}/auth.conf.sample
${INSTALL_DATA} ${WRKDIR}/dma_cron \
- ${STAGEDIR}${ETCDIR}/cron.d/dma
+ ${STAGEDIR}${PREFIX}/etc/cron.d/dma
.include <bsd.port.mk>
diff --git a/mail/dma/pkg-plist b/mail/dma/pkg-plist
index 0f3dd105a0c8..d2078210b5b7 100644
--- a/mail/dma/pkg-plist
+++ b/mail/dma/pkg-plist
@@ -1,6 +1,6 @@
-%%ETCDIR%%/cron.d/dma
+etc/cron.d/dma
@(root,mail,2555) libexec/dma
@(root,mail,4554) libexec/dma-mbox-create
-@sample(root,mail,0644) etc/dma/dma.conf.sample
-@sample(root,mail,0640) etc/dma/auth.conf.sample
+@sample(root,mail,0644) %%ETCDIR%%/dma.conf.sample
+@sample(root,mail,0640) %%ETCDIR%%/auth.conf.sample
share/man/man8/dma.8.gz