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:
Jean-Yves Lefort 2005-10-30 14:35:52 +00:00
parent bf51c6f124
commit 8c70165c3c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146749

View file

@ -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>