Skip to content

Commit

Permalink
sysutils/xxd: Install man page
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
vkarlsen authored and madpilot78 committed Dec 11, 2023
1 parent 8b7c342 commit 4d0fefa
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions sysutils/xxd/Makefile
Expand Up @@ -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>

Expand All @@ -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>

0 comments on commit 4d0fefa

Please sign in to comment.