blob: d5ea5da9fe5959d04dc180017ddd0bd407011199 (
plain) (
blame)
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
|
PORTNAME= ufs-utils
DISTVERSIONPREFIX= v
DISTVERSION= 8.14.12
CATEGORIES= sysutils
MAINTAINER= jaeyoon@FreeBSD.org
COMMENT= Tool for UFS (Universal Flash Storage) devices
WWW= https://github.com/SanDisk-Open-Source/ufs-utils
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
ONLY_FOR_ARCHS= aarch64 amd64
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= SanDisk-Open-Source
# The upstream Makefile has no "all" or "install" target.
ALL_TARGET= ufs-utils
PLIST_FILES= bin/ufs-utils
# Base installs this header only when it has the ufshci(4) passthrough
# ioctl, so the check works on main and stable branches alike.
.if !exists(/usr/include/dev/ufshci/ufshci_ioctl.h)
IGNORE= needs the ufshci(4) passthrough ioctl, which this system lacks
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ufs-utils ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>
|