diff options
author | reg <reg@FreeBSD.org> | 2000-04-17 08:19:02 +0800 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-04-17 08:19:02 +0800 |
commit | d22cbcc0186bfcde72d3058c3d06d1032bb7157e (patch) | |
tree | efb5227e2fc359da16edf2ca8a5ca4744a25bc3e /sysutils/gkrellm/Makefile | |
parent | 8b766534122d71052c9f8e5a0752944edf0450f8 (diff) | |
download | freebsd-ports-gnome-d22cbcc0186bfcde72d3058c3d06d1032bb7157e.tar.gz freebsd-ports-gnome-d22cbcc0186bfcde72d3058c3d06d1032bb7157e.tar.zst freebsd-ports-gnome-d22cbcc0186bfcde72d3058c3d06d1032bb7157e.zip |
Standardize all user defined options to the booleans WITH_FOO and
WITHOUT_FOO. Begin the process of reserving these prefixes for user defined
options.
No comment by: ports
Diffstat (limited to 'sysutils/gkrellm/Makefile')
-rw-r--r-- | sysutils/gkrellm/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sysutils/gkrellm/Makefile b/sysutils/gkrellm/Makefile index 565efb227d19..4bd8f8ebc066 100644 --- a/sysutils/gkrellm/Makefile +++ b/sysutils/gkrellm/Makefile @@ -26,8 +26,7 @@ DOCS= COPYRIGHT README Themes # You should aware that GKrellM must be setuid root to obtain # temperatures. If your motherboard doesn't support LM78/79 feature, -# you may not want this. -USE_SENSOR?= YES +# you may not want this build WITHOUT_SENSOR=yes .include <bsd.port.pre.mk> @@ -38,7 +37,7 @@ ALL_TARGET= freebsd3 .endif BINGRP= kmem -.if defined(USE_SENSOR) && ${USE_SENSOR} == YES +.if !defined(WITHOUT_SENSOR) BINOWN= root BINMODE= 4111 .else @@ -62,7 +61,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/gkrellm .endfor .endif -.if defined(USE_SENSOR) && ${USE_SENSOR} == YES +.if !defined(WITHOUT_SENSOR) @${CAT} ${PKGDIR}/MESSAGE .endif |