git: 643d06737c69 - main - games/qwfwd: Improve port - no functional changes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Sep 2025 13:06:42 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=643d06737c69d7ff48155421957e642e110c91ac
commit 643d06737c69d7ff48155421957e642e110c91ac
Author: Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2025-09-30 13:03:57 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-09-30 13:03:57 +0000
games/qwfwd: Improve port - no functional changes
- Add "--no-same-owner --no-same-permissions" to EXTRACT_AFTER_ARGS.
- Use ${PORTNAME} instead of qwfwd in USERS and GROUPS.
---
games/qwfwd/Makefile | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/games/qwfwd/Makefile b/games/qwfwd/Makefile
index 27ad3fefb456..7feecbdd43b0 100644
--- a/games/qwfwd/Makefile
+++ b/games/qwfwd/Makefile
@@ -17,11 +17,12 @@ USE_RC_SUBR= ${PORTNAME}
EXTRACT_AFTER_ARGS= --exclude .git* \
--exclude */.git* \
--exclude build_cmake.sh \
- --exclude tools*
+ --exclude tools* \
+ --no-same-owner --no-same-permissions
SUB_LIST= QWUSER=${USERS}
-USERS= qwfwd
-GROUPS= qwfwd
+USERS= ${PORTNAME}
+GROUPS= ${PORTNAME}
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
@@ -34,6 +35,6 @@ do-install:
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>