diff options
author | reg <reg@FreeBSD.org> | 2000-04-17 08:18:05 +0800 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-04-17 08:18:05 +0800 |
commit | 8b766534122d71052c9f8e5a0752944edf0450f8 (patch) | |
tree | 255862bd3b0c32802317a9ddc3193fd714753916 /astro | |
parent | e0c8ef49d897de0719277097a1e6578f291f493e (diff) | |
download | freebsd-ports-gnome-8b766534122d71052c9f8e5a0752944edf0450f8.tar.gz freebsd-ports-gnome-8b766534122d71052c9f8e5a0752944edf0450f8.tar.zst freebsd-ports-gnome-8b766534122d71052c9f8e5a0752944edf0450f8.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 'astro')
-rw-r--r-- | astro/xplanet/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/astro/xplanet/Makefile b/astro/xplanet/Makefile index 9d0991f214c0..c2407a493b33 100644 --- a/astro/xplanet/Makefile +++ b/astro/xplanet/Makefile @@ -27,37 +27,37 @@ MAN1= xplanet.1 xplanetbg.1 .include <bsd.port.pre.mk> -.if (!defined(USE_TK80) && !defined(USE_TK81) && !defined(USE_TK82) && !defined(USE_TK83)) +.if (!defined(WITH_TK80) && !defined(WITH_TK81) && !defined(WITH_TK82) && !defined(WITH_TK83)) .if exists(${LOCALBASE}/bin/wish8.3) -USE_TK83= yes +WITH_TK83= yes .elif exists(${LOCALBASE}/bin/wish8.2) -USE_TK82= yes +WITH_TK82= yes .elif exists(${LOCALBASE}/bin/wish8.1) -USE_TK81= yes +WITH_TK81= yes .else -USE_TK80= yes +WITH_TK80= yes .endif .endif -.if defined(USE_TK80) +.if defined(WITH_TK80) RUN_DEPENDS= wish8.0:${PORTSDIR}/x11-toolkits/tk80 WISH= ${LOCALBASE}/bin/wish8.0 TKVERMSG= "Using Tk 8.0" .endif -.if defined(USE_TK81) +.if defined(WITH_TK81) RUN_DEPENDS= wish8.1:${PORTSDIR}/x11-toolkits/tk81 WISH= ${LOCALBASE}/bin/wish8.1 TKVERMSG= "Using Tk 8.1" .endif -.if defined(USE_TK82) +.if defined(WITH_TK82) RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82 WISH= ${LOCALBASE}/bin/wish8.2 TKVERMSG= "Using Tk 8.2" .endif -.if defined(USE_TK83) +.if defined(WITH_TK83) RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83 WISH= ${LOCALBASE}/bin/wish8.3 TKVERMSG= "Using Tk 8.3" @@ -67,7 +67,7 @@ CONFIGURE_ENV+= WISH=${WISH} pre-fetch: @${ECHO} ${TKVERMSG} - @${ECHO} "Define USE_TK80, USE_TK81, USE_TK82, or USE_Tk83" + @${ECHO} "Define WITH_TK80, WITH_TK81, WITH_TK82, or WITH_TK83" @${ECHO} "To use a different version of TK" pre-configure: |