1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/sysutils/seatools/Makefile
Mathieu Arnold 3505159e72
Deorbit RESTRICTED && NO_CDROM, part two.
Move ports to the licenses framework.

RESTRICTED → auto-accept (unless expressly stated otherwise)
NO_CDROM → dist-mirror pkg-mirror auto-accept

Differential Revision:  https://reviews.freebsd.org/D30010
2021-05-06 13:47:48 +02:00

45 lines
1.1 KiB
Makefile

# Created by: Boris Samorodov <bsam@FreeBSD.org>
PORTNAME= seatools
PORTVERSION= 2.54
CATEGORIES= sysutils linux
MASTER_SITES= ${DOWNLOAD_URL}
PKGNAMEPREFIX= linux-
DISTNAME= seatools_cli
EXTRACT_SUFX= .tar
MAINTAINER= bsam@FreeBSD.org
COMMENT= Seagate's SeaTools for Linux
# Converted from RESTRICTED
LICENSE= seatools
LICENSE_NAME= seatools
LICENSE_TEXT= Redistribution is not permitted
LICENSE_PERMS= auto-accept
DOWNLOAD_URL= http://www.seagate.com/files/www-content/support-content/downloads/seatools/_shared/downloads/seatools_cli.tar
NO_WRKSUBDIR= yes
ONLY_FOR_ARCHS= i386 amd64
USES= linux
PLIST_FILES= sbin/st
PORTDOCS= sthelp.txt
OPTIONS_DEFINE= DOCS
do-build:
@${BRANDELF} -t Linux ${WRKSRC}/st
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/st ${STAGEDIR}${PREFIX}/sbin/st
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/sthelp.txt ${STAGEDIR}${DOCSDIR}/sthelp.txt
.include <bsd.port.pre.mk>
.if (!exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}))
IGNORE= please fetch the distfile: ${DOWNLOAD_URL} by hand and place it in ${DISTDIR}
.endif
.include <bsd.port.post.mk>