Install skins using ${MKDIR} and ${INSTALL_DATA} rather than ${CP}:
- does not break if ${DATADIR} already exists - ensures proper permissions/ownerships PR: ports/88185 Submitted by: Stuart Barkley <stuartb@4gh.net> Approved by: maintainer
This commit is contained in:
parent
bf51c6f124
commit
8c70165c3c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146749
1 changed files with 4 additions and 1 deletions
|
@ -28,6 +28,9 @@ post-patch:
|
|||
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' ${WRKSRC}/src/vumeter.h
|
||||
|
||||
post-install:
|
||||
@${CP} -R ${WRKSRC}/skins ${DATADIR}
|
||||
.for s in default default.mirror default.oldxmms
|
||||
${MKDIR} ${DATADIR}/${s}
|
||||
${INSTALL_DATA} ${WRKSRC}/skins/${s}/* ${DATADIR}/${s}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue