1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

biology/linux-foldingathome: Fix WRKSRC paths

After the recent changes to DISTNAME, the paths to files in WRKSRC were
no longer correct. Use DISTNAME:T to use the part of DISTNAME that we
actually need.

Reported by:	pkg-fallout
Fixes:	6086ff0b32 biology/linux-foldingathome: Add support for aarch64
This commit is contained in:
Mateusz Piotrowski
2025-09-03 14:30:55 +02:00
parent 2f2f70538e
commit dbc2aba1b9
+3 -3
View File
@@ -12,7 +12,7 @@ WWW= https://foldingathome.org/
# Distribution without permission is prohibited
LICENSE= FAHSL
LICENSE_NAME= Folding@home Software License
LICENSE_FILE= ${WRKSRC}/${DISTNAME}/LICENSE
LICENSE_FILE= ${WRKSRC}/${DISTNAME:T}/LICENSE
LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell \
auto-accept
@@ -55,7 +55,7 @@ DISTFILES= ${ONLY_FOR_ARCHS:@.ARCH.@${_DISTNAME_${.ARCH.}}${EXTRACT_SUFX}@}
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME}/fah-client ${STAGEDIR}${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME:T}/fah-client ${STAGEDIR}${PREFIX}/bin/
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${FILESDIR}/config.xml.sample \
${STAGEDIR}${_FAHCLIENT_CONFIG_XML}.sample
@@ -63,7 +63,7 @@ do-install:
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/${DISTNAME}/|} \
${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/${DISTNAME:T}/|} \
${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>