diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2012-09-14 18:54:33 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2012-09-14 18:54:33 +0000 |
commit | 2838551581d28cef08d7dde28bb3ad8bbf3ec477 (patch) | |
tree | a370df325b19e2adaebfc54bca96c793ff424a5d /net-im | |
parent | 71853b153d52de56edf97056240461988062d42d (diff) | |
download | ports-2838551581d28cef08d7dde28bb3ad8bbf3ec477.tar.gz ports-2838551581d28cef08d7dde28bb3ad8bbf3ec477.zip |
Notes
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/mu-conference/Makefile | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/net-im/mu-conference/Makefile b/net-im/mu-conference/Makefile index f7c29758e6cb..870370e7a831 100644 --- a/net-im/mu-conference/Makefile +++ b/net-im/mu-conference/Makefile @@ -14,19 +14,21 @@ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Multi-User Conferencing component for Jabber -LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 \ - idn.17:${PORTSDIR}/dns/libidn - LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2 \ + idn:${PORTSDIR}/dns/libidn USE_GNOME= glib20 pkgconfig USE_RC_SUBR= ${PORTNAME} -OPTIONS= MYSQL "Enable MySQL support" off \ - JABBER "Use with jabberd14 (net-im/jabber)" off \ - JABBERD "Use with jabberd 2.x (net-im/jabberd)" off \ - EJABBERD "Use with ejabberd (net-im/ejabberd)" off +OPTIONS_DEFINE= MYSQL +OPTIONS_SINGLE= SERVER +OPTIONS_SINGLE_SERVER= JABBER JABBERD EJABBERD + +JABBER_DESC= Use with jabberd14 (net-im/jabber) +JABBERD_DESC= Use with jabberd 2.x (net-im/jabberd) +EJABBERD_DESC= Use with ejabberd (net-im/ejabberd) SUB_FILES+= pkg-message README.FreeBSD.jabberd14 \ README.FreeBSD.jabberd2 README.FreeBSD.external @@ -40,7 +42,7 @@ MAKE_JOBS_UNSAFE= yes .include <bsd.port.pre.mk> -.if defined(WITH_MYSQL) +.if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes CFLAGS+= -DHAVE_MYSQL LIBS+= `${LOCALBASE}/bin/mysql_config --libs` @@ -50,19 +52,19 @@ DOCFILES+= README.sql mu-conference.sql MUC_LOGDIR?= /var/log/mu-conference -.if defined(WITH_JABBER) +.if ${PORT_OPTIONS:MJABBER} JABBER_REQUIRE?= jabber JABBER_USER?= jabber JABBER_PIDDIR?= /var/run/jabberd JABBER_SPOOLDIR?= /var/spool/jabberd RUN_DEPENDS+= jabberd14:${PORTSDIR}/net-im/jabber -.elif defined(WITH_JABBERD) +.elif ${PORT_OPTIONS:MJABBERD} JABBER_REQUIRE?= jabberd JABBER_USER?= jabber JABBER_PIDDIR?= /var/jabberd/pid JABBER_SPOOLDIR?= /var/spool/jabber RUN_DEPENDS+= jabberd:${PORTSDIR}/net-im/jabberd -.elif defined(WITH_EJABBERD) +.elif ${PORT_OPTIONS:MEJABBERD} JABBER_REQUIRE?= ejabberd JABBER_USER?= ejabberd JABBER_PIDDIR?= /var/jabberd/pid |