diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2013-05-23 16:10:43 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2013-05-23 16:10:43 +0000 |
commit | 4c6703ce1d8866a83ce501003147b27e7b5f1c0d (patch) | |
tree | 7a07ddc1957746cdaa2cb3a8d489a8fd12cf2d40 /net-im/py-xmpppy-yahoo | |
parent | 768d962d4be6c9cb0c56c74afece1e9dbf93157e (diff) | |
download | ports-4c6703ce1d8866a83ce501003147b27e7b5f1c0d.tar.gz ports-4c6703ce1d8866a83ce501003147b27e7b5f1c0d.zip |
Notes
Diffstat (limited to 'net-im/py-xmpppy-yahoo')
-rw-r--r-- | net-im/py-xmpppy-yahoo/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/net-im/py-xmpppy-yahoo/Makefile b/net-im/py-xmpppy-yahoo/Makefile index 51bee0978b22..4434918dd3d6 100644 --- a/net-im/py-xmpppy-yahoo/Makefile +++ b/net-im/py-xmpppy-yahoo/Makefile @@ -1,9 +1,5 @@ -# Ports collection makefile for: xmpppy-yahoo -# Date created: Thu Jul 26 -# Whom: Michael Nottebrock <lofi@FreeBSD.org> -# +# Created by: Michael Nottebrock <lofi@FreeBSD.org> # $FreeBSD$ -# PORTNAME= yahoo PORTVERSION= 0.3.20070314 @@ -17,7 +13,8 @@ DISTNAME= yahoo-transport-${PORTVERSION} MAINTAINER= wenheping@gmail.com COMMENT= Yahoo! transport for Jabber -OPTIONS= EJABBERD "Use transport with ejabberd" off +OPTIONS_DEFINE= EJABBERD +EJABBERD_DESC= transport with ejabberd RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/xmpp/__init__.py:${PORTSDIR}/net-im/py-xmpppy \ ${PYTHON_SITELIBDIR}/DNS/__init__.py:${PORTSDIR}/dns/py-dns @@ -37,9 +34,9 @@ SUB_LIST+= PYTHON_CMD=${PYTHON_CMD} BINDIR=${PYTHON_SITELIBDIR}/xmpp/yahoo \ USE_RC_SUBR= ${UNIQUENAME:S/-/_/} DDIR= ${PYTHON_SITELIBDIR}/xmpp/yahoo -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_EJABBERD) +.if ${PORT_OPTIONS:MEJABBERD} JABBER_USER?= ejabberd SUB_LIST+= JABBER_REQUIRE=ejabberd .else @@ -81,4 +78,4 @@ post-install: @${ECHO_CMD} "****************************************************" @${ECHO_CMD} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |