mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
53 lines
1.2 KiB
Makefile
53 lines
1.2 KiB
Makefile
# Created by: Bartek Rutkowski <r@robakdesign.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jggtrans
|
|
PORTVERSION= 2.2.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= net-im polish
|
|
MASTER_SITES= http://jggtrans.jajcus.net/downloads/ \
|
|
http://freebsd.e.pl/distfiles/
|
|
|
|
MAINTAINER= mg@fork.pl
|
|
COMMENT= Jabberd XMPP to GG instant messaging service gateway
|
|
|
|
LIB_DEPENDS= idn.17:${PORTSDIR}/dns/libidn \
|
|
expat.6:${PORTSDIR}/textproc/expat2 \
|
|
gadu.3:${PORTSDIR}/polish/libgadu
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= gettext gmake pkgconfig
|
|
USE_GNOME= glib20
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
USE_RC_SUBR= jggtrans
|
|
|
|
OPTIONS_DEFINE= DEBUG EJABBERD
|
|
EJABBERD_DESC= transport with ejabberd
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ! ${PORT_OPTIONS:MDEBUG}
|
|
CONFIGURE_ARGS+= --disable-debug
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MEJABBERD}
|
|
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:
|
|
@${INSTALL_DATA} ${WRKSRC}/jggtrans.xml ${PREFIX}/etc/jggtrans.xml.sample
|
|
@${CP} -n ${WRKSRC}/jggtrans.xml ${PREFIX}/etc/jggtrans.xml || ${TRUE}
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|