summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2014-02-18 14:26:07 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2014-02-18 14:26:07 +0000
commit617f037dbebbfd44d83cc6e6fce774f64366fc67 (patch)
tree17140d1a6fd37475d923e5d206ef4bd946bbc37b /net-im
parentdevel/kdevelop-kde4: (diff)
net-im/ktp-accounts-kcm:
- Convert to options helpers - Chase library version shift (the port uses KDE SC version scheme)
Notes
Notes: svn path=/head/; revision=344896
Diffstat (limited to 'net-im')
-rw-r--r--net-im/ktp-accounts-kcm/Makefile24
-rw-r--r--net-im/ktp-accounts-kcm/pkg-plist4
2 files changed, 9 insertions, 19 deletions
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 <bsd.port.options.mk>
+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 <bsd.port.mk>
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