blob: ee22022365075f72782d9d05d14dde68964896ec (
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
33
34
35
36
37
38
39
40
|
# Created by: Boris Samorodov <bsam@FreeBSD.org>
# $FreeBSD$
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
DOWNLOAD_URL= http://www.seagate.com/files/www-content/support-content/downloads/seatools/_shared/downloads/seatools_cli.tar
NO_WRKSUBDIR= yes
RESTRICTED= Redistribution is not permitted
ONLY_FOR_ARCHS= i386 amd64
USE_LINUX= yes
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>
|