From 617f037dbebbfd44d83cc6e6fce774f64366fc67 Mon Sep 17 00:00:00 2001 From: Max Brazhnikov Date: Tue, 18 Feb 2014 14:26:07 +0000 Subject: net-im/ktp-accounts-kcm: - Convert to options helpers - Chase library version shift (the port uses KDE SC version scheme) --- net-im/ktp-accounts-kcm/Makefile | 24 +++++++----------------- net-im/ktp-accounts-kcm/pkg-plist | 4 ++-- 2 files changed, 9 insertions(+), 19 deletions(-) (limited to 'net-im') diff --git a/net-im/ktp-accounts-kcm/Makefile b/net-im/ktp-accounts-kcm/Makefile index 396cda3f4972..bb58e585ebfb 100644 --- a/net-im/ktp-accounts-kcm/Makefile +++ b/net-im/ktp-accounts-kcm/Makefile @@ -2,6 +2,7 @@ PORTNAME= ktp-accounts-kcm PORTVERSION= ${KTP_VERSION} +PORTREVISION= 1 CATEGORIES= net-im kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= ${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src @@ -24,25 +25,14 @@ OPTIONS_DEFINE= HAZE IRC JABBER SALUT OPTIONS_DEFAULT=JABBER HAZE_DESC= libpurple protocols support -IRC_DESC= Internet Relay Chat support -SALUT_DESC= Link-local (serverless) XMPP support - -.include +HAZE_RUN_DEPENDS= ${LOCALBASE}/libexec/telepathy-haze:${PORTSDIR}/net-im/telepathy-haze -.if ${PORT_OPTIONS:MHAZE} -RUN_DEPENDS+= ${LOCALBASE}/libexec/telepathy-haze:${PORTSDIR}/net-im/telepathy-haze -.endif - -.if ${PORT_OPTIONS:MIRC} -RUN_DEPENDS+= ${LOCALBASE}/libexec/telepathy-idle:${PORTSDIR}/net-im/telepathy-idle -.endif +IRC_DESC= Internet Relay Chat support +IRC_RUN_DEPENDS= ${LOCALBASE}/libexec/telepathy-idle:${PORTSDIR}/net-im/telepathy-idle -.if ${PORT_OPTIONS:MJABBER} -RUN_DEPENDS+= ${LOCALBASE}/libexec/telepathy-gabble:${PORTSDIR}/net-im/telepathy-gabble -.endif +JABBER_RUN_DEPENDS= ${LOCALBASE}/libexec/telepathy-gabble:${PORTSDIR}/net-im/telepathy-gabble -.if ${PORT_OPTIONS:MSALUT} -RUN_DEPENDS+= ${LOCALBASE}/libexec/telepathy-salut:${PORTSDIR}/net-im/telepathy-salut -.endif +SALUT_DESC= Link-local (serverless) XMPP support +SALUT_RUN_DEPENDS= ${LOCALBASE}/libexec/telepathy-salut:${PORTSDIR}/net-im/telepathy-salut .include diff --git a/net-im/ktp-accounts-kcm/pkg-plist b/net-im/ktp-accounts-kcm/pkg-plist index 81932d0a4121..bada48ed2a87 100644 --- a/net-im/ktp-accounts-kcm/pkg-plist +++ b/net-im/ktp-accounts-kcm/pkg-plist @@ -7,8 +7,8 @@ lib/kde4/ktpaccountskcm_plugin_rakia.so lib/kde4/ktpaccountskcm_plugin_salut.so lib/kde4/ktpaccountskcm_plugin_sunshine.so lib/libktpaccountskcminternal.so -lib/libktpaccountskcminternal.so.5 -lib/libktpaccountskcminternal.so.5.0.1 +lib/libktpaccountskcminternal.so.4 +lib/libktpaccountskcminternal.so.%%KDE4_GENERIC_LIB_VERSION%% share/kde4/services/kcm_ktp_accounts.desktop share/kde4/services/ktpaccountskcm_plugin_butterfly.desktop share/kde4/services/ktpaccountskcm_plugin_gabble.desktop -- cgit v1.2.3