mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
f324225441
server providing gateway to GaduGadu instant messaging services. jGGtrans is known to work well together with ejabberd, jabberd 1.4 and jabberd 2, but most other Jabber server implementations should work too. WWW: http://jggtrans.jajcus.net/ PR: ports/102183 Submitted by: Bartlomiej Rutkowski <r@robakdesign.com>
56 lines
1.4 KiB
Makefile
56 lines
1.4 KiB
Makefile
# Ports collection makefile for: jggtrans
|
|
# Date created: 13 September 2006
|
|
# Whom: Bartek Rutkowski <r@robakdesign.com>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jggtrans
|
|
PORTVERSION= 2.2.2
|
|
CATEGORIES= net-im polish
|
|
MASTER_SITES= http://jggtrans.jajcus.net/downloads/ \
|
|
http://freebsd.e.pl/distfiles/
|
|
|
|
MAINTAINER= r@robakdesign.com
|
|
COMMENT= Jabberd XMPP to GG instant messaging service gateway
|
|
|
|
LIB_DEPENDS= idn.16:${PORTSDIR}/dns/libidn \
|
|
expat.6:${PORTSDIR}/textproc/expat2
|
|
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GETTEXT= yes
|
|
USE_GNOME= glib20 pkgconfig
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
|
MAKE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
|
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
|
|
|
USE_RC_SUBR= jggtrans.sh
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
OPTIONS= NODEBUG "Turn off debugging code" off \
|
|
EJABBERD "Use transport with ejabberd" off
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_NODEBUG)
|
|
CONFIGURE_ARGS+= --disable-debug
|
|
.endif
|
|
|
|
.if defined(WITH_EJABBERD)
|
|
JABBER_USER?= ejabberd
|
|
SUB_LIST+= JABBER_REQUIRE=ejabberd
|
|
.else
|
|
JABBER_USER?= jabber
|
|
SUB_LIST+= JABBER_REQUIRE=jabberd
|
|
.endif
|
|
|
|
SUB_LIST+= JABBER_USER=${JABBER_USER}
|
|
|
|
post-install:
|
|
@if [ ! -f ${PREFIX}/etc/jggtrans.xml ]; then ${CP} -p ${WRKSRC}/jggtrans.xml ${PREFIX}/etc/jggtrans.xml.sample ; fi
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|