git: c3f806d4faee - main - science/gpaw-setups: Improve install target

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 06 Jul 2026 19:36:01 UTC
The branch main has been updated by yuri:

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

commit c3f806d4faeeeb58c876e388a6db8ab07ee71c1f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-07-06 19:18:39 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-07-06 19:35:58 +0000

    science/gpaw-setups: Improve install target
---
 science/gpaw-setups/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/science/gpaw-setups/Makefile b/science/gpaw-setups/Makefile
index 866edc89b0ad..603edb4f1206 100644
--- a/science/gpaw-setups/Makefile
+++ b/science/gpaw-setups/Makefile
@@ -14,8 +14,9 @@ NO_BUILD=	yes
 NO_ARCH=	yes
 
 do-install:
+	# install files
 	@${MKDIR} ${STAGEDIR}${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/* ${STAGEDIR}${DATADIR}
+	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
 	# autoplist for potentials: 500+ files in DATADIR
 	@cd ${STAGEDIR}${PREFIX} && \
 		${FIND} ${DATADIR:S/^${PREFIX}\///} -type f >> ${TMPPLIST}