aboutsummaryrefslogtreecommitdiff
path: root/graphics/geomview
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-06-12 21:42:32 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-06-12 21:42:32 +0000
commit9010280b855a8f663dc0899ba61ab950e6b515da (patch)
treeade0e2be591e771231576c7a69bfc8a5cf0bc252 /graphics/geomview
parent06a3e062ca8655d412fd71bf237d2cbcb5d17726 (diff)
downloadports-9010280b855a8f663dc0899ba61ab950e6b515da.tar.gz
ports-9010280b855a8f663dc0899ba61ab950e6b515da.zip
Notes
Diffstat (limited to 'graphics/geomview')
-rw-r--r--graphics/geomview/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/graphics/geomview/Makefile b/graphics/geomview/Makefile
index 1f3c022b0623..69c98d707cc2 100644
--- a/graphics/geomview/Makefile
+++ b/graphics/geomview/Makefile
@@ -17,7 +17,8 @@ COMMENT= An interactive viewer for 3- and 4-D geometric objects
NOT_FOR_ARCHS= amd64
NOT_FOR_ARCHS_REASON= Segfaults on amd64
-OPTIONS= MOTION_AVG "Use experimental motion averaging code" off
+OPTIONS_DEFINE= MOTION_AVG DOCS EXAMPLES
+MOTION_AVG_DESC= Use experimental motion averaging code
USE_BZIP2= yes
USE_MOTIF= yes
@@ -41,9 +42,9 @@ INFO= geomview
# Allow user to specify "make install MAPLE_LIB=foo" as geomview wants
MAKE_ENV= CPU=FreeBSD MAPLE_LIB=${MAPLE_LIB}
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_MOTION_AVG)
+.if ${PORT_OPTIONS:MMOTION_AVG}
CONFIGURE_ARGS+= --enable-motion-averaging
.endif
@@ -63,7 +64,7 @@ post-install:
cd ${WRKSRC}/doc && ${INSTALL_MAN} *.3gv ${MAN3PREFIX}/man/man3
cd ${WRKSRC}/doc && ${INSTALL_MAN} *.5gv ${MAN5PREFIX}/man/man5
cd ${WRKSRC}/doc && ${INSTALL_DATA} *.info ${PREFIX}/${INFO_PATH}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for i in OOGL.m.txt README README.gvplot geomview.pdf geomview-pt_BR.pdf \
oogltour oogltour-pt_BR
@@ -80,10 +81,10 @@ post-install:
&& ${INSTALL_DATA} *.html ${DOCSDIR}/html/pt_BR
cd ${DOCSDIR}/html/pt_BR && ${LN} -sf ../figs .
.endif
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/doc && ${INSTALL_DATA} *.c ${EXAMPLESDIR}
cd ${WRKSRC}/doc && ${INSTALL_DATA} *.tcl ${EXAMPLESDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>