git: 4d0fefaa531b - main - sysutils/xxd: Install man page
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 11 Dec 2023 20:42:31 UTC
The branch main has been updated by madpilot: URL: https://cgit.FreeBSD.org/ports/commit/?id=4d0fefaa531b74795d6e65e1f194f3cbde87d907 commit 4d0fefaa531b74795d6e65e1f194f3cbde87d907 Author: Vidar Karlsen <vidar@karlsen.tech> AuthorDate: 2023-12-11 20:37:22 +0000 Commit: Guido Falsi <madpilot@FreeBSD.org> CommitDate: 2023-12-11 20:41:24 +0000 sysutils/xxd: Install man page While here per portclippy and portfmt. Intentionally not bumping PORTREVISION, since this port version depends on the vim port.. PR: 275672 Approved by: Gianmarco Giovannelli <gmarco@giovannelli.it> (maintainer) --- sysutils/xxd/Makefile | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/sysutils/xxd/Makefile b/sysutils/xxd/Makefile index 38993ffdb45c..81630988b953 100644 --- a/sysutils/xxd/Makefile +++ b/sysutils/xxd/Makefile @@ -12,17 +12,22 @@ LICENSE_NAME= VIM License LICENSE_FILE= ${WRKSRC}/../../runtime/doc/uganda.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -DISTINFO_FILE= ${VIM_PORT}/distinfo +USE_GITHUB= yes +GH_ACCOUNT= vim +GH_PROJECT= vim + ALL_TARGET= ${PORTNAME} +EXTRACT_AFTER_ARGS= --include='*/src/xxd*' \ + --include='*/runtime/doc/uganda.txt' \ + --include='*/runtime/doc/xxd.1' PORTSCOUT= ignore:1 -EXTRACT_AFTER_ARGS= --include='*/src/xxd*' --include='*/runtime/doc/uganda.txt' -WRKSRC_SUBDIR= src/xxd -PLIST_FILES= bin/xxd +WRKSRC_SUBDIR= src/xxd +WRKDOCS= ${WRKSRC}/../../runtime/doc -USE_GITHUB= yes -GH_ACCOUNT= vim -GH_PROJECT= vim +DISTINFO_FILE= ${VIM_PORT}/distinfo +PLIST_FILES= bin/xxd \ + man/man1/xxd.1.gz .include <bsd.port.pre.mk> @@ -31,5 +36,6 @@ VIM_DISTVERSION!= ${BSDMAKE} -f ${VIM_PORT}/Makefile -V DISTVERSION do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xxd ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKDOCS}/xxd.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include <bsd.port.post.mk>