- Allow staging as a regular user
- Bump portrevision as a directory didn't have intended owner
This commit is contained in:
parent
d3649e3087
commit
27c849768f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369195
2 changed files with 3 additions and 36 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= mailzu
|
||||
DISTVERSION= 0.8rc3
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/MailZu%200.8RC3
|
||||
DISTNAME= MailZu_${DISTVERSION:S/rc/RC/}
|
||||
|
@ -18,6 +18,7 @@ RUN_DEPENDS= ${LOCALBASE}/sbin/amavisd:${PORTSDIR}/security/amavisd-new \
|
|||
${PEARDIR}/Mail/mimeDecode.php:${PORTSDIR}/mail/pear-Mail_mimeDecode
|
||||
|
||||
PEARDIR?= ${LOCALBASE}/share/pear
|
||||
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
|
||||
SUB_LIST+= PKGNAME=${PKGNAME}
|
||||
SUB_FILES= pkg-message
|
||||
NO_BUILD= yes
|
||||
|
@ -43,13 +44,10 @@ PORTDOCS= *
|
|||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${WWWDIR}
|
||||
${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/*.php* ${WRKSRC}/*.js* ${WRKSRC}/*.css* ${STAGEDIR}${WWWDIR}
|
||||
(cd ${WRKSRC} && ${COPYTREE_SHARE} "config contrib img lang lib templates" \
|
||||
${STAGEDIR}${WWWDIR} "! -name *.orig")
|
||||
(cd ${WRKSRC} && ${COPYTREE_BIN} scripts ${STAGEDIR}${WWWDIR})
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
|
||||
|
|
|
@ -171,35 +171,4 @@
|
|||
%%WWWDIR%%/templates/sendmail.template.php
|
||||
%%WWWDIR%%/templates/summary.template.php
|
||||
%%WWWDIR%%/templates/viewmail.template.php
|
||||
@dirrm %%WWWDIR%%/lib/pear/PEAR/Validator
|
||||
@dirrm %%WWWDIR%%/lib/pear/PEAR/Task/Windowseol
|
||||
@dirrm %%WWWDIR%%/lib/pear/PEAR/Task/Unixeol
|
||||
@dirrm %%WWWDIR%%/lib/pear/PEAR/Task/Replace
|
||||
@dirrm %%WWWDIR%%/lib/pear/PEAR/Task/Postinstallscript
|
||||
@dirrm %%WWWDIR%%/lib/pear/PEAR/Task
|
||||
@dirrm %%WWWDIR%%/lib/pear/PEAR/REST
|
||||
@dirrm %%WWWDIR%%/lib/pear/PEAR/PackageFile/v2
|
||||
@dirrm %%WWWDIR%%/lib/pear/PEAR/PackageFile/Parser
|
||||
@dirrm %%WWWDIR%%/lib/pear/PEAR/PackageFile/Generator
|
||||
@dirrm %%WWWDIR%%/lib/pear/PEAR/PackageFile
|
||||
@dirrm %%WWWDIR%%/lib/pear/PEAR/Installer/Role
|
||||
@dirrm %%WWWDIR%%/lib/pear/PEAR/Installer
|
||||
@dirrm %%WWWDIR%%/lib/pear/PEAR/Frontend
|
||||
@dirrm %%WWWDIR%%/lib/pear/PEAR/Downloader
|
||||
@dirrm %%WWWDIR%%/lib/pear/PEAR/Command
|
||||
@dirrm %%WWWDIR%%/lib/pear/PEAR/ChannelFile
|
||||
@dirrm %%WWWDIR%%/lib/pear/PEAR
|
||||
@dirrm %%WWWDIR%%/lib/pear/OS
|
||||
@dirrm %%WWWDIR%%/lib/pear/Net
|
||||
@dirrm %%WWWDIR%%/lib/pear/Mail
|
||||
@dirrm %%WWWDIR%%/lib/pear/DB
|
||||
@dirrm %%WWWDIR%%/lib/pear
|
||||
@dirrm %%WWWDIR%%/lib
|
||||
@dirrm %%WWWDIR%%/contrib/mysql
|
||||
@dirrm %%WWWDIR%%/contrib
|
||||
@dirrmtry %%WWWDIR%%/config
|
||||
@dirrm %%WWWDIR%%/img
|
||||
@dirrm %%WWWDIR%%/lang
|
||||
@dirrm %%WWWDIR%%/scripts
|
||||
@dirrm %%WWWDIR%%/templates
|
||||
@dirrmtry %%WWWDIR%%
|
||||
@dir(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%
|
||||
|
|
Loading…
Reference in a new issue