|
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 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | name SleepTight |
|---|
| 5 | version 1.0.1 |
|---|
| 6 | categories aqua sysutils |
|---|
| 7 | maintainers waqar@macports.org |
|---|
| 8 | description provides a simple way to lock machine when it goes to sleep |
|---|
| 9 | long_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. |
|---|
| 13 | homepage http://www.ragingmenace.com/software/sleeptight |
|---|
| 14 | platforms macosx |
|---|
| 15 | master_sites http://www.ragingmenace.com/software/download |
|---|
| 16 | distname ${name}_${version} |
|---|
| 17 | checksums md5 d3c41edcd613c2b0f07bda7990971a8f \ |
|---|
| 18 | sha1 011513bb6794a8743469374f54a25aa0aa807094 |
|---|
| 19 | use_configure no |
|---|
| 20 | build.type pbx |
|---|
| 21 | build.target -target ${name} |
|---|
| 22 | build.args build |
|---|
| 23 | |
|---|
| 24 | destroot { |
|---|
| 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 | } |
|---|