aboutsummaryrefslogtreecommitdiff
path: root/net-im/jggtrans
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-05-23 16:10:43 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-05-23 16:10:43 +0000
commit4c6703ce1d8866a83ce501003147b27e7b5f1c0d (patch)
tree7a07ddc1957746cdaa2cb3a8d489a8fd12cf2d40 /net-im/jggtrans
parent768d962d4be6c9cb0c56c74afece1e9dbf93157e (diff)
downloadports-4c6703ce1d8866a83ce501003147b27e7b5f1c0d.tar.gz
ports-4c6703ce1d8866a83ce501003147b27e7b5f1c0d.zip
Notes
Diffstat (limited to 'net-im/jggtrans')
-rw-r--r--net-im/jggtrans/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/net-im/jggtrans/Makefile b/net-im/jggtrans/Makefile
index 92d5385f771d..d32d3c2dbb5f 100644
--- a/net-im/jggtrans/Makefile
+++ b/net-im/jggtrans/Makefile
@@ -25,16 +25,16 @@ CFLAGS+= -I${LOCALBASE}/include
USE_RC_SUBR= jggtrans
-OPTIONS= NODEBUG "Turn off debugging code" off \
- EJABBERD "Use transport with ejabberd" off
+OPTIONS_DEFINE= DEBUG EJABBERD
+EJABBERD_DESC= transport with ejabberd
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_NODEBUG)
+.if ! ${PORT_OPTIONS:MDEBUG}
CONFIGURE_ARGS+= --disable-debug
.endif
-.if defined(WITH_EJABBERD)
+.if ${PORT_OPTIONS:MEJABBERD}
JABBER_USER?= ejabberd
SUB_LIST+= JABBER_REQUIRE=ejabberd
.else
@@ -49,4 +49,4 @@ post-install:
@${CP} -n ${WRKSRC}/jggtrans.xml ${PREFIX}/etc/jggtrans.xml || ${TRUE}
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>