blob: a56a8e03129234fc969f4b6cea954d4b80b52c43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
PORTNAME= onefetch
DISTVERSION= 2.17.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>
|