aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/py-xmpppy-yahoo
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-05-24 00:10:43 +0800
committerjgh <jgh@FreeBSD.org>2013-05-24 00:10:43 +0800
commit3e076eda9c9558cae971fc26704d307c15af43ff (patch)
tree7a07ddc1957746cdaa2cb3a8d489a8fd12cf2d40 /net-im/py-xmpppy-yahoo
parent3f6381641e43bbc5f25a46951661cfa837026e21 (diff)
downloadfreebsd-ports-gnome-3e076eda9c9558cae971fc26704d307c15af43ff.tar.gz
freebsd-ports-gnome-3e076eda9c9558cae971fc26704d307c15af43ff.tar.zst
freebsd-ports-gnome-3e076eda9c9558cae971fc26704d307c15af43ff.zip
- adoption of optionsNG framework
Approved by: portmgr (bapt)
Diffstat (limited to 'net-im/py-xmpppy-yahoo')
-rw-r--r--net-im/py-xmpppy-yahoo/Makefile15
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>