a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 21856 2007-02-10 16:53:18Z rhwood@macports.org $
PortSystem 1.0
name SleepTight
version 1.0.1
categories aqua sysutils
maintainers waqar@macports.org
description provides a simple way to lock machine when it goes to sleep
long_description \
SleepTight provides a simple way to lock your machine when \
it goes to sleep or lock from a keyboard hotkey. SleepTight \
is only as secure as the Apple screensaver it launches.
homepage http://www.ragingmenace.com/software/sleeptight
platforms macosx
master_sites http://www.ragingmenace.com/software/download
distname ${name}_${version}
checksums md5 d3c41edcd613c2b0f07bda7990971a8f \
sha1 011513bb6794a8743469374f54a25aa0aa807094
use_configure no
build.type pbx
build.target -target ${name}
build.args build
destroot {
cd ${worksrcpath}
system "${build.cmd} install INSTALL_MODE_FLAG=go-w,a+rX \
INSTALL_PATH=/Applications/MacPorts DSTROOT=${destroot}"
xinstall -m 755 -d ${destroot}/Library/PreferencePanes
file copy ${worksrcpath}/build/${name}.prefPane \
${destroot}/Library/PreferencePanes
}