From 1866de0b9ca681021d12cd35ddb1d8817fccc8f0 Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Mon, 1 Oct 2012 11:15:27 +0000 Subject: [PATCH] - Convert to OptionsNG Notified by: http://wiki.freebsd.org/Ports/Options/ConvertingToOptionsNG --- cad/mars/Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/cad/mars/Makefile b/cad/mars/Makefile index 405d8d91ae1c..cc9d9947696f 100644 --- a/cad/mars/Makefile +++ b/cad/mars/Makefile @@ -19,14 +19,15 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= gahr@FreeBSD.org COMMENT= Maryland Routing Simulator +OPTIONS_DEFINE= X11 +OPTIONS_DEFAULT=X11 + MAKE_JOBS_UNSAFE= yes - -OPTIONS= X11 "Build with X11 support via Motif" on - -.include - NO_WRKSUBDIR= yes -.if defined(WITH_X11) + +.include + +.if ${PORT_OPTIONS:MX11} USE_MOTIF= yes MAKEFILE= Makefile.XMotif .else @@ -56,4 +57,4 @@ do-install: ${MV} doc mars ) .endif -.include +.include