summaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-06-07 00:09:58 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-06-07 00:09:58 +0800
commit22ac137ba106297b5a5e33a59c9e33f5d7f01036 (patch)
tree016ffc877ad80886e1963990713f653c362e1a2c /net-im
parentafe6ebdf34fb4a51823a931978ce122f2033eada (diff)
downloadmarcuscom-ports-22ac137ba106297b5a5e33a59c9e33f5d7f01036.tar
marcuscom-ports-22ac137ba106297b5a5e33a59c9e33f5d7f01036.tar.gz
marcuscom-ports-22ac137ba106297b5a5e33a59c9e33f5d7f01036.tar.bz2
marcuscom-ports-22ac137ba106297b5a5e33a59c9e33f5d7f01036.tar.lz
marcuscom-ports-22ac137ba106297b5a5e33a59c9e33f5d7f01036.tar.xz
marcuscom-ports-22ac137ba106297b5a5e33a59c9e33f5d7f01036.tar.zst
marcuscom-ports-22ac137ba106297b5a5e33a59c9e33f5d7f01036.zip
Sync with ports, mostly OptionsNG conversion and some diff reductions.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18518 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net-im')
-rw-r--r--net-im/empathy/Makefile45
1 files changed, 23 insertions, 22 deletions
diff --git a/net-im/empathy/Makefile b/net-im/empathy/Makefile
index f386deeaf..4dd3d6cb0 100644
--- a/net-im/empathy/Makefile
+++ b/net-im/empathy/Makefile
@@ -50,39 +50,40 @@ GLIB_SCHEMAS= org.gnome.Empathy.gschema.xml
MAN1= empathy.1 empathy-accounts.1
-OPTIONS= JABBER "Enable jabber (XMPP) client support" on \
- MSN "Enable MSN client support" on \
- IRC "Enable IRC client support" on \
- SALUT "Enable link-local (serverless) XMPP support" off \
- HAZE "Enable libpurple protocol integration" off \
- WEBKIT "Enable Adium Message Style themes" on \
- NST "Enable Nautilus SendTo plugin" on \
- MAP "Enable graphical map support" on
-
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_JABBER)
+OPTIONS_DEFINE= JABBER MSN IRC SALUT HAZE WEBKIT NST MAP
+OPTIONS_DEFAULT=JABBER MSN IRC WEBKIT NST MAP
+MSN_DESC= MSN client support
+IRC_DESC= IRC client support
+SALUT_DESC= Link-local (serverless) XMPP support
+HAZE_DESC= Libpurple protocol integration
+WEBKIT_DESC= Adium Message Style themes
+NST_DESC= Nautilus SendTo plugin
+MAP_DESC= Graphical map support
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MJABBER}
RUN_DEPENDS+= ${LOCALBASE}/libexec/telepathy-gabble:${PORTSDIR}/net-im/telepathy-gabble
.endif
-.if defined(WITH_MSN)
+.if ${PORT_OPTIONS:MMSN}
RUN_DEPENDS+= ${LOCALBASE}/libexec/telepathy-butterfly:${PORTSDIR}/net-im/telepathy-butterfly
.endif
-.if defined(WITH_IRC)
+.if ${PORT_OPTIONS:MIRC}
RUN_DEPENDS+= ${LOCALBASE}/libexec/telepathy-idle:${PORTSDIR}/net-im/telepathy-idle
.endif
-.if !defined(WITHOUT_SALUT)
+.if ${PORT_OPTIONS:MSALUT
RUN_DEPENDS+= ${LOCALBASE}/libexec/telepathy-salut:${PORTSDIR}/net-im/telepathy-salut
.endif
-.if !defined(WITHOUT_HAZE)
+.if ${PORT_OPTIONS:MHAZE}
RUN_DEPENDS+= ${LOCALBASE}/libexec/telepathy-haze:${PORTSDIR}/net-im/telepathy-haze
.endif
-.if defined(WITH_WEBKIT)
-LIB_DEPENDS+= webkitgtk-1.0.0:${PORTSDIR}/www/webkit-gtk2
+.if ${PORT_OPTIONS:MWEBKIT}
+LIB_DEPENDS+= webkitgtk-1.0:${PORTSDIR}/www/webkit-gtk2
CONFIGURE_ARGS+=--enable-webkit
PLIST_SUB+= ADIUM=""
.else
@@ -90,7 +91,7 @@ CONFIGURE_ARGS+=--disable-webkit
PLIST_SUB+= ADIUM="@comment "
.endif
-.if defined(WITH_NST)
+.if ${PORT_OPTIONS:MNST}
BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/nautilus-sendto.pc:${PORTSDIR}/deskutils/nautilus-sendto
RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/nautilus-sendto.pc:${PORTSDIR}/deskutils/nautilus-sendto
CONFIGURE_ARGS+=--enable-nautilus-sendto=yes
@@ -100,9 +101,9 @@ CONFIGURE_ARGS+=--enable-nautilus-sendto=no
PLIST_SUB+= NST="@comment "
.endif
-.if !defined(WITHOUT_MAP)
+.if ${PORT_OPTIONS:MMAP}
USE_GL= gl
-LIB_DEPENDS+= champlain-0.8.1:${PORTSDIR}/graphics/libchamplain08
+LIB_DEPENDS+= champlain-0.8:${PORTSDIR}/graphics/libchamplain08
CONFIGURE_ARGS+=--enable-map
PLIST_SUB+= MAP=""
.else
@@ -110,4 +111,4 @@ CONFIGURE_ARGS+=--disable-map
PLIST_SUB+= MAP="@comment "
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>