--- Scripts/Suspend.orig Sat Jan 8 18:57:32 2005 +++ Scripts/Suspend Sat Jan 8 20:45:56 2005 @@ -4,8 +4,17 @@ # Suspend the system, can be handy if you are # using a laptop computer. # -if [ apm_available -a -x /usr/bin/apm ]; then - /usr/bin/apm --suspend + +apm_out=` /usr/sbin/apm -s 2> /dev/null ` +sysctl_out=` /sbin/sysctl hw.acpi.suspend_state 2> /dev/null ` +suspend_state=` expr "//$sysctl_out" : '.*hw.acpi.suspend_state:.*\(S.*\)' ` + +if [ -n "$suspend_state" ] ; then + /usr/sbin/acpiconf -s $suspend_state +elif [ -e "/dev/apm" -a -n "$apm_out" ] ; then + if [ $apm_out -eq 1 ] ; then + /usr/sbin/apm -z + fi fi # End of file >
aboutsummaryrefslogtreecommitdiffstats
path: root/biology/iqtree
Commit message (Expand)AuthorAgeFilesLines
* biology/iqtree: switch to outsource cmake buildjrm2018-12-281-2/+2
* Update math/eigen3 to 3.3.7tcberner2018-12-261-0/+1
* Change cmake default behaviour to outsource.tcberner2018-12-261-1/+1
* biology/iqtree: Update to version 1.6.9jrm2018-12-232-5/+4
* Bump PORTREVISION for ports depending on the canonical version of GCCgerald2018-12-121-0/+1
* biology/iqtree: Update to version 1.6.8jrm2018-10-292-4/+4
* biology/iqtree: Update to version 1.6.7.1jrm2018-10-162-4/+4
* biology/iqtree: Update to version 1.6.7jrm2018-08-272-5/+4
* Bump PORTREVISION for ports depending on the canonical version of GCCgerald2018-07-301-0/+1
* biology/iqtree: Update to version 1.6.6jrm2018-07-092-4/+4
* Mark ports broken on powerpc64, categories a-c.linimon2018-06-181-3/+4
* biology/iqtree: Update to version 1.6.5jrm2018-05-122-4/+4
* biology/iqtree: Update to version 1.6.4jrm2018-05-012-4/+4
* biology/iqtree: Update to version 1.6.3jrm2018-03-232-5/+4
* Bump PORTREVISIONs of all users of math/mpc that we just updated togerald2018-03-111-0/+1
* biology/iqtree: Update to version 1.6.2jrm2018-03-032-5/+4
* New USES=eigentcberner2018-01-031-5/+2
* biology/iqtree: Fix distinfo after upstream re-released v1.6.1jrm2017-12-302-3/+4
* biology/iqtree: Update to version 1.6.1jrm2017-12-292-9/+8
* Mark several ports newly broken on arm.linimon2017-12-111-0/+4
* Fix USE_GITHUB usage.mat2017-11-062-5/+4
* biology/iqtree: Add EXAMPLES option and fix mess with installation ofjrm2017-10-221-1/+13
* New port, biology/iqtree: Efficient phylogenomic softwarejrm2017-10-22