1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

net-im/ktp-accounts-kcm:

- Convert to options helpers
- Chase library version shift (the port uses KDE SC version scheme)
This commit is contained in:
Max Brazhnikov 2014-02-18 14:26:07 +00:00
parent 7a138d2983
commit 617f037dbe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344896
2 changed files with 10 additions and 20 deletions

View File

@ -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
HAZE_RUN_DEPENDS= ${LOCALBASE}/libexec/telepathy-haze:${PORTSDIR}/net-im/telepathy-haze
IRC_DESC= Internet Relay Chat support
IRC_RUN_DEPENDS= ${LOCALBASE}/libexec/telepathy-idle:${PORTSDIR}/net-im/telepathy-idle
JABBER_RUN_DEPENDS= ${LOCALBASE}/libexec/telepathy-gabble:${PORTSDIR}/net-im/telepathy-gabble
SALUT_DESC= Link-local (serverless) XMPP support
.include <bsd.port.options.mk>
.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
.if ${PORT_OPTIONS:MJABBER}
RUN_DEPENDS+= ${LOCALBASE}/libexec/telepathy-gabble:${PORTSDIR}/net-im/telepathy-gabble
.endif
.if ${PORT_OPTIONS:MSALUT}
RUN_DEPENDS+= ${LOCALBASE}/libexec/telepathy-salut:${PORTSDIR}/net-im/telepathy-salut
.endif
SALUT_RUN_DEPENDS= ${LOCALBASE}/libexec/telepathy-salut:${PORTSDIR}/net-im/telepathy-salut
.include <bsd.port.mk>

View File

@ -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