aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2012-07-27 19:03:38 +0800
committermakc <makc@FreeBSD.org>2012-07-27 19:03:38 +0800
commit7e9888a561c1f2a53cfeca5bf54f5278294df386 (patch)
tree167ee4bd8c4cd737246cf4e2c40f36e42042084e /editors
parent7c887ca2a204b4cd88ce46806edb8ea718e69d9e (diff)
downloadfreebsd-ports-gnome-7e9888a561c1f2a53cfeca5bf54f5278294df386.tar.gz
freebsd-ports-gnome-7e9888a561c1f2a53cfeca5bf54f5278294df386.tar.zst
freebsd-ports-gnome-7e9888a561c1f2a53cfeca5bf54f5278294df386.zip
- Convert my ports to new options framework
- use CONFLICTS_INSTALL - other minor changes
Diffstat (limited to 'editors')
-rw-r--r--editors/kile-kde4/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/editors/kile-kde4/Makefile b/editors/kile-kde4/Makefile
index 123fe5ca110c..214177b21d73 100644
--- a/editors/kile-kde4/Makefile
+++ b/editors/kile-kde4/Makefile
@@ -15,23 +15,23 @@ MAINTAINER= makc@FreeBSD.org
COMMENT= A LaTeX source editor for KDE
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- identify:${PORTSDIR}/graphics/ImageMagick \
- ${KDE4_PREFIX}/lib/kde4/katepart.so:${PORTSDIR}/editors/kate
+ identify:${PORTSDIR}/graphics/ImageMagick
USE_BZIP2= yes
USE_CMAKE= yes
USE_QT4= qmake_build moc_build rcc_build uic_build
-USE_KDE4= kdeprefix kdelibs automoc4 sharedmime
+USE_KDE4= kdeprefix kdelibs automoc4 sharedmime kate_run
MAKE_JOBS_SAFE= yes
LATEST_LINK= ${PORTNAME}-kde4
-OPTIONS= OKULAR "Use Okular for viewing" off
+OPTIONS_DEFINE= OKULAR
+OKULAR_DESC= Use Okular for viewing
.include <bsd.port.options.mk>
-.if defined(WITH_OKULAR)
-RUN_DEPENDS+= ${KDE4_PREFIX}/bin/okular:${PORTSDIR}/graphics/okular
+.if ${PORT_OPTIONS:MOKULAR)
+USE_KDE4+= okular_run
.endif
.include <bsd.port.mk>