Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

root/trunk/dports/aqua/SleepTight/Portfile

Revision 21856, 1.0 KB (checked in by rhwood@…, 2 years ago)

Change /Applications/DarwinPorts to /Applications/MacPorts everywhere

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1# $Id$
2
3PortSystem 1.0
4name            SleepTight
5version         1.0.1
6categories      aqua sysutils
7maintainers     waqar@macports.org
8description     provides a simple way to lock machine when it goes to sleep
9long_description        \
10        SleepTight provides a simple way to lock your machine when      \
11        it goes to sleep or lock from a keyboard hotkey. SleepTight     \
12        is only as secure as the Apple screensaver it launches.
13homepage        http://www.ragingmenace.com/software/sleeptight
14platforms       macosx
15master_sites    http://www.ragingmenace.com/software/download
16distname        ${name}_${version}
17checksums       md5 d3c41edcd613c2b0f07bda7990971a8f                    \
18                sha1 011513bb6794a8743469374f54a25aa0aa807094
19use_configure   no
20build.type      pbx
21build.target    -target ${name}
22build.args      build
23
24destroot        {
25        cd ${worksrcpath}
26        system "${build.cmd} install INSTALL_MODE_FLAG=go-w,a+rX        \
27                INSTALL_PATH=/Applications/MacPorts DSTROOT=${destroot}"
28        xinstall -m 755 -d ${destroot}/Library/PreferencePanes
29        file copy ${worksrcpath}/build/${name}.prefPane                 \
30                ${destroot}/Library/PreferencePanes
31}
Note: See TracBrowser for help on using the browser.