Correct installation of docs.
This commit is contained in:
parent
6a1ac43756
commit
cde3dbcf90
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64224
@ -135,13 +135,16 @@ post-install:
|
||||
${INSTALL} -d -m 770 -o cyrus -g cyrus /var/state/saslauthd
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${MKDIR} ${DOCSDIR}/html
|
||||
.for file in ${DOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
.endfor
|
||||
(cd ${WRKSRC}/doc ; \
|
||||
for file in `make -V EXTRA_DIST` ; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/$${file} ${DOCSDIR} ; \
|
||||
done)
|
||||
.for file in ${DOC2}
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
|
||||
.endfor
|
||||
.for file in ${HTDOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc/${file}.html ${DOCSDIR}/html
|
||||
.endfor
|
||||
.endif
|
||||
@PKG_PREFIX=${PREFIX} BATCH=${BATCH} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
@ -83,10 +83,10 @@ sbin/saslpasswd2
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@dirrm lib/sasl2
|
||||
@mode ug=rwx,o=
|
||||
@exec mkdir -p state/saslauthd
|
||||
@exec mkdir -p /var/state/saslauthd
|
||||
@exec chown -R cyrus:cyrus state
|
||||
@exec chmod -R o= state
|
||||
@comment This file gets created by the state/saslauthd program
|
||||
@unexec rm -fr /var/state/saslauthd
|
||||
@dirrm state
|
||||
@unexec rmdir /var/state
|
||||
@cwd %%PREFIX%%
|
||||
|
Loading…
Reference in New Issue
Block a user