aboutsummaryrefslogtreecommitdiff
path: root/net-im/jggtrans
diff options
context:
space:
mode:
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>