aboutsummaryrefslogtreecommitdiff
path: root/mail/dma
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-09-02 13:09:11 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-09-02 13:09:11 +0000
commit366dc2eeab4b227dee0e86994f5ed4b9a4207834 (patch)
tree3106ea7a65b3ffc78e0687a013cedcaf34f8b9ca /mail/dma
parent0da9442b09882d8700e0fd04422dabc22e2d1016 (diff)
downloadports-366dc2eeab4b227dee0e86994f5ed4b9a4207834.tar.gz
ports-366dc2eeab4b227dee0e86994f5ed4b9a4207834.zip
Notes
Diffstat (limited to 'mail/dma')
-rw-r--r--mail/dma/Makefile16
-rw-r--r--mail/dma/pkg-plist12
2 files changed, 13 insertions, 15 deletions
diff --git a/mail/dma/Makefile b/mail/dma/Makefile
index d5a6b3ff3307..e64972184dcb 100644
--- a/mail/dma/Makefile
+++ b/mail/dma/Makefile
@@ -1,10 +1,11 @@
# Created by: Daniel Roethlisberger <daniel@roe.ch>
# $FreeBSD$
-PORTNAME= dma
-PORTVERSION= v0.9
-PORTEPOCH= 1
-CATEGORIES= mail ipv6
+PORTNAME= dma
+PORTVERSION= v0.9
+PORTREVISION= 1
+PORTEPOCH= 1
+CATEGORIES= mail ipv6
EXTRACT_SUFX=
MAINTAINER= bapt@FreeBSD.org
@@ -53,15 +54,14 @@ post-patch:
.endif
do-install:
- ${INSTALL} -o root -g mail -m 2555 ${WRKSRC}/dma/dma ${STAGEDIR}/${PREFIX}/libexec
- ${INSTALL} -o root -g mail -m 4550 \
+ ${INSTALL_PROGRAM} ${WRKSRC}/dma/dma ${STAGEDIR}/${PREFIX}/libexec
+ ${INSTALL_PROGRAM} \
${WRKSRC}/dma-mbox-create/dma-mbox-create ${STAGEDIR}/${PREFIX}/libexec
${INSTALL_MAN} ${WRKSRC}/dma.8 ${STAGEDIR}/${PREFIX}/man/man8/
${MKDIR} ${STAGEDIR}/${PREFIX}/etc/dma
.for i in ${CONFFILES}
${INSTALL_DATA} -m 0644 ${WRKSRC}/${i} ${STAGEDIR}/${PREFIX}/etc/dma/${i}.sample
.endfor
- ${CHMOD} o-r ${STAGEDIR}/${PREFIX}/etc/dma/auth.conf.sample
- ${INSTALL} -d -o root -g mail -m 770 ${STAGEDIR}/var/spool/dma
+ ${MKDIR} ${STAGEDIR}/var/spool/dma
.include <bsd.port.post.mk>
diff --git a/mail/dma/pkg-plist b/mail/dma/pkg-plist
index a9093f0f8519..6ee046a242aa 100644
--- a/mail/dma/pkg-plist
+++ b/mail/dma/pkg-plist
@@ -1,9 +1,7 @@
-libexec/dma
-libexec/dma-mbox-create
-@sample etc/dma/dma.conf.sample
-@sample etc/dma/auth.conf.sample
+@(root,mail,2555) libexec/dma
+@(root,mail,4555) libexec/dma-mbox-create
+@sample(root,mail,0644) etc/dma/dma.conf.sample
+@sample(root,mail,0640) etc/dma/auth.conf.sample
man/man8/dma.8.gz
@dirrmtry etc/dma
-@cwd /
-@dirrmtry var/spool/dma
-@cwd %%RESETPREFIX%%
+@dirrmtry(root,mail,770) /var/spool/dma