aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2007-04-09 06:17:39 +0800
committerbsam <bsam@FreeBSD.org>2007-04-09 06:17:39 +0800
commitd22c1ca57b99dffdac5e06963b9886a008ee04c4 (patch)
treec970f665ea870e0fb101a6033f20c1f43d8bd91b /sysutils
parentc1b791d0508500374868e0f8ba607f7cf3637c2f (diff)
downloadfreebsd-ports-gnome-d22c1ca57b99dffdac5e06963b9886a008ee04c4.tar.gz
freebsd-ports-gnome-d22c1ca57b99dffdac5e06963b9886a008ee04c4.tar.zst
freebsd-ports-gnome-d22c1ca57b99dffdac5e06963b9886a008ee04c4.zip
Here is the port of Seagate's SeaTools Enterprise Edition for Linux
Disc Diagnostic Software (cli version). WWW: http://www.seagate.com
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/seatools/Makefile56
-rw-r--r--sysutils/seatools/distinfo3
-rw-r--r--sysutils/seatools/pkg-descr4
-rw-r--r--sysutils/seatools/pkg-plist3
5 files changed, 67 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index abc9d4ae9182..b8179303ee55 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -553,6 +553,7 @@
SUBDIR += screenie
SUBDIR += sdd
SUBDIR += searchmonkey
+ SUBDIR += seatools
SUBDIR += sec
SUBDIR += sensors-applet
SUBDIR += serpentine
diff --git a/sysutils/seatools/Makefile b/sysutils/seatools/Makefile
new file mode 100644
index 000000000000..56647d86f9f3
--- /dev/null
+++ b/sysutils/seatools/Makefile
@@ -0,0 +1,56 @@
+# Ports collection makefile for: linux-seatools
+# Date created: 08 Apr 2007
+# Whom: 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://download.seagate.com/seatools/registration.nsf/linux_cli?openform
+NO_WRKSUBDIR= yes
+RESTRICTED= The distfile should be downloaded by hand
+ONLY_FOR_ARCHS= i386 amd64
+USE_LINUX= yes
+
+do-build:
+ @${BRANDELF} -t Linux ${WRKSRC}/st
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/st ${PREFIX}/sbin/st
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/sthelp.txt ${DOCSDIR}/sthelp.txt
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if defined(NOPORTDOCS)
+PLIST_SUB+= PORTDOCS="@comment "
+.else
+PLIST_SUB+= PORTDOCS=
+.endif
+
+.if (!exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}))
+ECHO_MSG=/usr/bin/printf
+IGNORE= :\n\
+Please access\n\
+\n\
+ ${DOWNLOAD_URL}\n\
+\n\
+with a web browser, fill the web form. Please place the downloaded\n\
+${DISTNAME}${EXTRACT_SUFX} in ${DISTDIR}\n\n
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/seatools/distinfo b/sysutils/seatools/distinfo
new file mode 100644
index 000000000000..a357dd098e7c
--- /dev/null
+++ b/sysutils/seatools/distinfo
@@ -0,0 +1,3 @@
+MD5 (seatools_cli.tar) = f712bfdfa37b854a5fc933e1ab1426af
+SHA256 (seatools_cli.tar) = b7f8eab4cc80828ec18aeab34ea5e298dbf0f4360adbc03402c5f5c9fafae3b6
+SIZE (seatools_cli.tar) = 235520
diff --git a/sysutils/seatools/pkg-descr b/sysutils/seatools/pkg-descr
new file mode 100644
index 000000000000..7e56ba2082e9
--- /dev/null
+++ b/sysutils/seatools/pkg-descr
@@ -0,0 +1,4 @@
+Here is the port of Seagate's SeaTools Enterprise Edition for Linux
+Disc Diagnostic Software (cli version).
+
+WWW: http://www.seagate.com
diff --git a/sysutils/seatools/pkg-plist b/sysutils/seatools/pkg-plist
new file mode 100644
index 000000000000..7eaaf632bd1c
--- /dev/null
+++ b/sysutils/seatools/pkg-plist
@@ -0,0 +1,3 @@
+sbin/st
+%%PORTDOCS%%%%DOCSDIR%%/sthelp.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%