From 8c70165c3c97d96868fdb0ec150d913b133e2fb5 Mon Sep 17 00:00:00 2001 From: Jean-Yves Lefort Date: Sun, 30 Oct 2005 14:35:52 +0000 Subject: [PATCH] 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 Approved by: maintainer --- graphics/xmms-vumeter/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/graphics/xmms-vumeter/Makefile b/graphics/xmms-vumeter/Makefile index c91c356fdddb..0a57ae19c0a0 100644 --- a/graphics/xmms-vumeter/Makefile +++ b/graphics/xmms-vumeter/Makefile @@ -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