aboutsummaryrefslogtreecommitdiff
path: root/cad/mars
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2012-10-01 11:15:27 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2012-10-01 11:15:27 +0000
commit1866de0b9ca681021d12cd35ddb1d8817fccc8f0 (patch)
tree0347d982b91efb98c25a9374eccf49acc8b5da77 /cad/mars
parent35f8232ad2beb896e2a858b76c5f5de97d938ac6 (diff)
downloadports-1866de0b9ca681021d12cd35ddb1d8817fccc8f0.tar.gz
ports-1866de0b9ca681021d12cd35ddb1d8817fccc8f0.zip
Notes
Diffstat (limited to 'cad/mars')
-rw-r--r--cad/mars/Makefile13
1 files changed, 7 insertions, 6 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
-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>