1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

install documents with ${INSTALL_DATA} instead of ${CP}.

${CP} makes some files unreadable other than root.
This commit is contained in:
FUJISHIMA Satsuki 2001-05-27 19:05:43 +00:00
parent de90d93ab1
commit ac3bb953d4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43165

View File

@ -8,6 +8,7 @@
PORTNAME= flac
PORTVERSION= 0.9
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -34,9 +35,9 @@ post-install:
.if !defined(NO_PORTDOCS)
${MKDIR} ${PREFIX}/share/doc/flac
${MKDIR} ${PREFIX}/share/doc/flac/images
${CP} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/flac
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/flac
.for file in logo.jpg 1x1.gif
${CP} ${WRKSRC}/doc/images/${file} ${PREFIX}/share/doc/flac/images
${INSTALL_DATA} ${WRKSRC}/doc/images/${file} ${PREFIX}/share/doc/flac/images
.endfor
.endif