Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2012 11:15:27 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305107 - head/cad/mars
Message-ID:  <201210011115.q91BFREi035542@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Mon Oct  1 11:15:27 2012
New Revision: 305107
URL: http://svn.freebsd.org/changeset/ports/305107

Log:
  - Convert to OptionsNG
  
  Notified by:	http://wiki.freebsd.org/Ports/Options/ConvertingToOptionsNG

Modified:
  head/cad/mars/Makefile   (contents, props changed)

Modified: head/cad/mars/Makefile
==============================================================================
--- head/cad/mars/Makefile	Mon Oct  1 11:07:53 2012	(r305106)
+++ head/cad/mars/Makefile	Mon Oct  1 11:15:27 2012	(r305107)
@@ -19,14 +19,15 @@ EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 MAINTAINER=	gahr@FreeBSD.org
 COMMENT=	Maryland Routing Simulator
 
-MAKE_JOBS_UNSAFE=	yes
+OPTIONS_DEFINE=	X11
+OPTIONS_DEFAULT=X11
 
-OPTIONS=	X11 "Build with X11 support via Motif" on
+MAKE_JOBS_UNSAFE=	yes
+NO_WRKSUBDIR=	yes
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-NO_WRKSUBDIR=	yes
-.if defined(WITH_X11)
+.if ${PORT_OPTIONS:MX11}
 USE_MOTIF=	yes
 MAKEFILE=	Makefile.XMotif
 .else
@@ -56,4 +57,4 @@ do-install:
 		${MV} doc mars )
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210011115.q91BFREi035542>