git: d61b0dfce608 - main - net-p2p/namecoin: Replace CP with INSTALL_DATA

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Sat, 14 Sep 2024 00:15:39 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d61b0dfce60812a0bed188ede981439aae701b50

commit d61b0dfce60812a0bed188ede981439aae701b50
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-09-14 00:09:42 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-09-14 00:15:08 +0000

    net-p2p/namecoin: Replace CP with INSTALL_DATA
    
    PR:             281166
    Reported by:    makc (via email)
    Fixes:          253130fe8be0 (Remove dependency on expired graphics/svg2png)
---
 net-p2p/namecoin/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/namecoin/Makefile b/net-p2p/namecoin/Makefile
index 2e015ddb545b..9ccac7b6ad78 100644
--- a/net-p2p/namecoin/Makefile
+++ b/net-p2p/namecoin/Makefile
@@ -102,7 +102,7 @@ PLIST_FILES?=	bin/namecoin-qt share/applications/namecoin-qt.desktop \
 post-install:
 	${INSTALL_DATA} ${FILESDIR}/namecoin-qt.desktop \
 		${STAGEDIR}${PREFIX}/share/applications/
-	${CP} ${DISTDIR}/namecoin128.c99d628dd26b.png \
+	${INSTALL_DATA} ${DISTDIR}/namecoin128.c99d628dd26b.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/namecoin128.png
 
 .endif