summaryrefslogtreecommitdiff
path: root/sysutils/ataidle
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2004-01-14 14:22:29 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2004-01-14 14:22:29 +0000
commit2cb02163124f0fcae5f2308db687abbf64716666 (patch)
tree5ddc915362fe6199f9dbdf125a145f84152aca77 /sysutils/ataidle
parentAdd the manually generated gconf file thingies to the plist. (diff)
Add ataidle 0.3, utility to set spindown timeout for ATA drives.
ATAidle is a utility to set the power management features of ata hard drives. This includes idle and standby timeouts, APM and acoustic level settings, and it can show details about the installed devices. PR: 61217 Submitted by: Bruce Cran <bruce@cran.org.uk>
Diffstat (limited to 'sysutils/ataidle')
-rw-r--r--sysutils/ataidle/Makefile33
-rw-r--r--sysutils/ataidle/distinfo1
-rw-r--r--sysutils/ataidle/pkg-descr8
-rw-r--r--sysutils/ataidle/pkg-plist6
4 files changed, 48 insertions, 0 deletions
diff --git a/sysutils/ataidle/Makefile b/sysutils/ataidle/Makefile
new file mode 100644
index 000000000000..2c3d9bf906f5
--- /dev/null
+++ b/sysutils/ataidle/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: ataidle
+# Date created: 2004-01-11
+# Whom: Bruce Cran <bruce@cran.org.uk>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ataidle
+PORTVERSION= 0.3
+CATEGORIES= sysutils
+MASTER_SITES= ftp://ftp.brucec.homeunix.org/pub/users/brucec/
+
+MAINTAINER= bruce@cran.org.uk
+COMMENT= Utility to set spindown timeout for ATA drives
+
+MAN8= ataidle.8
+DOCS= COPYING ChangeLog README
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ataidle ${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/ataidle.8 ${MAN8PREFIX}/man/man8
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 501105
+IGNORE= "requires ATAng, available in 5.1-CURRENT or newer"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/ataidle/distinfo b/sysutils/ataidle/distinfo
new file mode 100644
index 000000000000..1a4339e8f3b5
--- /dev/null
+++ b/sysutils/ataidle/distinfo
@@ -0,0 +1 @@
+MD5 (ataidle-0.3.tar.gz) = f8096d7a2de3a73bd62811da3dd9281e
diff --git a/sysutils/ataidle/pkg-descr b/sysutils/ataidle/pkg-descr
new file mode 100644
index 000000000000..c5da942c49f2
--- /dev/null
+++ b/sysutils/ataidle/pkg-descr
@@ -0,0 +1,8 @@
+ATAidle is a utility to set the power management features
+of ata hard drives. This includes idle and standby timeouts,
+APM and acoustic level settings, and it can show details about
+the installed devices.
+
+Author: Bruce Cran <bruce@cran.org.uk>
+WWW: http://www.cran.org.uk/bruce/software.php
+
diff --git a/sysutils/ataidle/pkg-plist b/sysutils/ataidle/pkg-plist
new file mode 100644
index 000000000000..0d19d4758120
--- /dev/null
+++ b/sysutils/ataidle/pkg-plist
@@ -0,0 +1,6 @@
+@comment $FreeBSD$
+sbin/ataidle
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%