diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2002-08-08 14:22:50 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2002-08-08 14:22:50 +0000 |
commit | cde3dbcf90667f219b2f03ee4db29f08f0ff4416 (patch) | |
tree | 159d6c1648ba3df5702e29efd3d86965e929068e /security | |
parent | Add cyrus-imapd-2.1.5 after repo. copy. (diff) |
Correct installation of docs.
Notes
Notes:
svn path=/head/; revision=64224
Diffstat (limited to 'security')
-rw-r--r-- | security/cyrus-sasl2/Makefile | 11 | ||||
-rw-r--r-- | security/cyrus-sasl2/pkg-plist | 4 |
2 files changed, 9 insertions, 6 deletions
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile index e812d37c448a..3938547f5562 100644 --- a/security/cyrus-sasl2/Makefile +++ b/security/cyrus-sasl2/Makefile @@ -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} diff --git a/security/cyrus-sasl2/pkg-plist b/security/cyrus-sasl2/pkg-plist index 74216f9896ab..a4f7b7087b0d 100644 --- a/security/cyrus-sasl2/pkg-plist +++ b/security/cyrus-sasl2/pkg-plist @@ -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%% |