diff options
Diffstat (limited to 'sysutils/gkrellm')
-rw-r--r-- | sysutils/gkrellm/Makefile | 7 | ||||
-rw-r--r-- | sysutils/gkrellm/pkg-message | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/sysutils/gkrellm/Makefile b/sysutils/gkrellm/Makefile index 565efb2..4bd8f8e 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 diff --git a/sysutils/gkrellm/pkg-message b/sysutils/gkrellm/pkg-message index 72124ea..70c1f56 100644 --- a/sysutils/gkrellm/pkg-message +++ b/sysutils/gkrellm/pkg-message @@ -3,7 +3,7 @@ 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. You can disable it by typing - `make install USE_SENSOR=NO' at the "${PORTSDIR}/sysutils/gkrellm" + `make install WITHOUT_SENSOR=yes' at the "${PORTSDIR}/sysutils/gkrellm" directory to re-make this package. **************************************************************************** |