Skip to content
Browse files

Simple Mac OS X command-line tool to put a computer to sleep.

git-svn-id: d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Robert Shaw
Robert Shaw committed Jun 17, 2004
1 parent 887398f commit a47733f02806a0996a1bf7c29153f4dd63737481
Showing with 33 additions and 0 deletions.
  1. +33 −0 sysutils/sleepnow/Portfile
@@ -0,0 +1,33 @@
# $Id: Portfile,v 1.1 2004/06/17 02:59:57 rshaw Exp $
PortSystem 1.0

name sleepnow
version 20040616
categories sysutils
description command-line tool to put Mac OS X machine to sleep
long_description SleepNow is a Mac OS X command-line tool which puts \
the machine to sleep, just as though someone had \
used the Sleep menu command while sitting in front \
of the machine. The advantage is that SleepNow can \
be run while logged in to the machine from anywhere \
on the net.
master_sites ${homepage}
distname SleepNow
dist_subdir ${name}/${version}
checksums md5 d54f8a40999eb8020d600c782bbf0fcc
platforms darwin

use_configure no

build.dir ${worksrcpath}/Source
build.type pbx -buildstyle Deployment -target SleepNow

destroot {
cd ${worksrcpath}/Source
xinstall -d -m 0755 ${destroot}${prefix}/bin
xinstall -m 0755 build/SleepNow ${destroot}${prefix}/bin/sleepnow

0 comments on commit a47733f

Please sign in to comment.
You can’t perform that action at this time.