diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-04-06 18:15:30 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-04-06 18:15:30 +0000 |
commit | 8914da5694b89db18396910889a4ab4c06de2269 (patch) | |
tree | d6bd0621320e02f0b963c6ea0836e378111ca181 /mail/openwebmail | |
parent | 034cbdb99818bc00b278a6f0e1a125090a3b35ce (diff) | |
download | ports-8914da5694b89db18396910889a4ab4c06de2269.tar.gz ports-8914da5694b89db18396910889a4ab4c06de2269.zip |
Notes
Diffstat (limited to 'mail/openwebmail')
-rw-r--r-- | mail/openwebmail/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/mail/openwebmail/Makefile b/mail/openwebmail/Makefile index 700d15befb4c..dedc171a99ef 100644 --- a/mail/openwebmail/Makefile +++ b/mail/openwebmail/Makefile @@ -80,11 +80,9 @@ post-patch: .endif do-install: - @${MKDIR} ${OWCGIDIR:S,${PORTNAME},,} - @cd ${WRKSRC}/cgi-bin && ${TAR} cf - ${PORTNAME} | (cd ${OWCGIDIR:S,${PORTNAME},,}; ${TAR} xf -) - @${MKDIR} ${OWDATADIR:S,${PORTNAME},,} - @cd ${WRKSRC}/data && ${TAR} cf - ${PORTNAME} | (cd ${OWDATADIR:S,${PORTNAME},,}; ${TAR} xf -) - @${CHOWN} -R root:mail ${OWCGIDIR} + @${MKDIR} ${OWCGIDIR} ${OWDATADIR} + @cd ${WRKSRC}/cgi-bin/openwebmail && ${FIND} . | cpio -dpum -R ${BINOWN}:mail ${OWCGIDIR} + @cd ${WRKSRC}/data/openwebmail && ${FIND} . | cpio -dpum -R ${SHAREOWN}:${SHAREGRP} ${OWDATADIR} @${CHMOD} 0770 ${OWCGIDIR}/etc/sessions ${OWCGIDIR}/etc/users @${CHMOD} 4755 ${OWCGIDIR}/openwebmail*pl @${PERL} ${OWCGIDIR}/uty/wrapsuid.pl ${OWCGIDIR} |