summaryrefslogtreecommitdiff
path: root/graphics/okular/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/okular/Makefile')
-rw-r--r--graphics/okular/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/graphics/okular/Makefile b/graphics/okular/Makefile
index 681a00191391..da2a404376fb 100644
--- a/graphics/okular/Makefile
+++ b/graphics/okular/Makefile
@@ -1,9 +1,4 @@
-# New ports collection makefile for: okular
-# Date created: 1 September 2011
-# Whom: Alberto Villa <avilla@FreeBSD.org>
-#
# $FreeBSD$
-#
PORTNAME= okular
PORTVERSION= ${KDE4_VERSION}
@@ -33,11 +28,12 @@ USE_QT4= gui xml qmake_build moc_build uic_build rcc_build
USE_XZ= yes
MAKE_JOBS_SAFE= yes
-OPTIONS= DVI "Support DVI files (requires teTeX)" off
+OPTIONS_DEFINE= DVI
+DVI_DESC= Support DVI files (requires teTeX)
.include <bsd.port.options.mk>
-.ifdef(WITH_DVI)
+.if ${PORT_OPTIONS:MDVI}
RUN_DEPENDS+= kpsewhich:${PORTSDIR}/print/teTeX-base
.endif