aboutsummaryrefslogtreecommitdiff
path: root/cad/netgen/Makefile
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
commitbb271f0bf7b513a23a31da4ec8819b113ebf4587 (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /cad/netgen/Makefile
parent29879aded766da253313579a3503ff5e15026355 (diff)
downloadports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.tar.gz
ports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.zip
Notes
Diffstat (limited to 'cad/netgen/Makefile')
-rw-r--r--cad/netgen/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/cad/netgen/Makefile b/cad/netgen/Makefile
index ce40258af5a7..8bf4ca304a11 100644
--- a/cad/netgen/Makefile
+++ b/cad/netgen/Makefile
@@ -31,18 +31,13 @@ FFMPEG_DESC= video recording with FFmpeg
OPTIONS_DEFAULT= OCC
BROKEN_sparc64= internal gcc error (Bug 23159)
-.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MOCC}
-LIB_DEPENDS+= libTKernel.so:${PORTSDIR}/cad/opencascade
-CXXFLAGS+= -DOCCGEOMETRY -DHAVE_CONFIG_H -D${ARCH} -I${LOCALBASE}/include/OpenCASCADE
-CONFIGURE_ARGS+= --enable-occ
-.endif
+OCC_LIB_DEPENDS= libTKernel.so:${PORTSDIR}/cad/opencascade
+OCC_CXXFLAGS= -DOCCGEOMETRY -DHAVE_CONFIG_H -D${ARCH} -I${LOCALBASE}/include/OpenCASCADE
+OCC_CONFIGURE_ENABLE= occ
-.if ${PORT_OPTIONS:MFFMPEG}
-LIB_DEPENDS+= libavcodec0.so:${PORTSDIR}/multimedia/ffmpeg0
-CONFIGURE_ARGS+= --enable-ffmpeg
-.endif
+FFMPEG_LIB_DEPENDS= libavcodec0.so:${PORTSDIR}/multimedia/ffmpeg0
+FFMPEG_CONFIGURE_ENABLE=ffmpeg
MACHINE= ${OPSYS:tu}