1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/sysutils/onefetch/Makefile
2023-09-08 16:50:20 +03:00

39 lines
855 B
Makefile

PORTNAME= onefetch
DISTVERSION= 2.18.1
PORTREVISION= 2
CATEGORIES= sysutils devel
MAINTAINER= lcook@FreeBSD.org
COMMENT= Git repository summary on your terminal
WWW= https://github.com/o2sh/onefetch
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
LIB_DEPENDS= libgit2.so:devel/libgit2
RUN_DEPENDS= git:devel/git
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= o2sh
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= CONTRIBUTING.md README.md
OPTIONS_DEFINE= DOCS MANPAGES
OPTIONS_DEFAULT= MANPAGES
MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
post-install-MANPAGES-on:
${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>