2020-01-30 15:45:47 +01:00
|
|
|
PORTNAME= openseachest
|
2021-08-30 22:07:02 +02:00
|
|
|
PORTVERSION= 21.06.21
|
2020-01-30 15:45:47 +01:00
|
|
|
DISTVERSIONPREFIX= v
|
|
|
|
CATEGORIES= sysutils
|
|
|
|
|
|
|
|
MAINTAINER= swills@FreeBSD.org
|
|
|
|
COMMENT= Utilities for managing storage devices
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://github.com/Seagate/openSeaChest
|
2020-01-30 15:45:47 +01:00
|
|
|
|
|
|
|
LICENSE= MPL20
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
|
2021-08-30 22:07:02 +02:00
|
|
|
USES= dos2unix gmake
|
2020-01-30 15:45:47 +01:00
|
|
|
ALL_TARGET= release
|
|
|
|
|
2021-08-30 22:07:02 +02:00
|
|
|
DOS2UNIX_FILES= src/openseachest_util_options.c
|
|
|
|
|
2020-01-30 15:45:47 +01:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= Seagate
|
|
|
|
GH_PROJECT= openSeaChest
|
2021-08-30 22:07:02 +02:00
|
|
|
GH_TUPLE= Seagate:opensea-common:dc89150:common/opensea-common \
|
|
|
|
Seagate:opensea-operations:cfd7678:operations/opensea-operations \
|
|
|
|
Seagate:opensea-transport:a2ea73c:transport/opensea-transport \
|
2020-01-30 15:45:47 +01:00
|
|
|
Seagate:wingetopt:1b5b5ad:wingetopt/wingetopt
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/Make/gcc
|
|
|
|
INSTALL_WRKSRC= ${WRKSRC}/Make/gcc
|
|
|
|
CFLAGS+= -Wall -c -std=gnu99
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
EXES= openSeaChest_Basics openSeaChest_Configure openSeaChest_Erase \
|
|
|
|
openSeaChest_Firmware openSeaChest_FormatUnit \
|
|
|
|
openSeaChest_GenericTests openSeaChest_Info openSeaChest_Logs \
|
|
|
|
openSeaChest_NVMe openSeaChest_PassthroughTest \
|
|
|
|
openSeaChest_PowerControl openSeaChest_Security \
|
|
|
|
openSeaChest_SMART openSeaChest_ZBD
|
|
|
|
.for file in ${EXES}
|
|
|
|
PLIST_FILES+= bin/${file}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
.for exefile in ${EXES}
|
|
|
|
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/openseachest_exes/${exefile} ${STAGEDIR}${PREFIX}/bin/
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|