source: trunk/dports/aqua/SleepTight/Portfile

Last change on this file was 124956, checked in by jmr@…, 3 years ago

SleepTight: license

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