diff options
author | bapt <bapt@FreeBSD.org> | 2014-09-02 21:09:11 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-09-02 21:09:11 +0800 |
commit | bcf2e87a00eec6b4bd98eea0d8b61d083acac4ad (patch) | |
tree | 3106ea7a65b3ffc78e0687a013cedcaf34f8b9ca /mail | |
parent | f91c430ef48fe56c2e010aed62c409ac776f66bc (diff) | |
download | freebsd-ports-gnome-bcf2e87a00eec6b4bd98eea0d8b61d083acac4ad.tar.gz freebsd-ports-gnome-bcf2e87a00eec6b4bd98eea0d8b61d083acac4ad.tar.zst freebsd-ports-gnome-bcf2e87a00eec6b4bd98eea0d8b61d083acac4ad.zip |
Simplify the port and make sure the credential on files are ok
Using the new syntax offered for plist now that pkg_install support is done
Diffstat (limited to 'mail')
-rw-r--r-- | mail/dma/Makefile | 16 | ||||
-rw-r--r-- | mail/dma/pkg-plist | 12 |
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 |