freebsd-ports/net-im/qutim-plugin-jabber/Makefile
Dima Panov 8c062beddc - Update qutim-jabber-plugin to 0.2 release
PR:		142426
Submitted by:	Ilya Bakulin (maintainer)
Approved by:	miwi, tabthorpe (mentors implicit)
2010-01-12 14:05:25 +00:00

48 lines
1.1 KiB
Makefile

# New ports collection makefile for: qutim-plugin-jabber
# Date created: Sun Aug 2 23:37:39 MSD 2009
# Whom: webmaster@kibab.com
#
# $FreeBSD$
#
PORTNAME= jabber
PORTVERSION= 0.2
PORTEPOCH= 1
CATEGORIES= net-im
MASTER_SITES= http://qutim.org/download/ \
http://dl.kibab.com/distfiles/qutim/ \
ftp://ftp.inferra.ru/pub/qutim/
PKGNAMEPREFIX= qutim-plugin-
DISTNAME= qutim-jabber_${PORTVERSION}_svn431
MAINTAINER= webmaster@kibab.com
COMMENT= Jabber protocol plugin for qutIM
LIB_DEPENDS= idn.16:${PORTSDIR}/dns/libidn
BUILD_DEPENDS= ${LOCALBASE}/bin/qutim:${PORTSDIR}/net-im/qutim
RUN_DEPENDS= ${LOCALBASE}/bin/qutim:${PORTSDIR}/net-im/qutim
USE_QT_VER= 4
QT_COMPONENTS= gui network xml moc_build qmake_build rcc_build uic_build
CXXFLAGS+= -L${LOCALBASE}/lib
USE_CMAKE= yes
CMAKE_USE_PTHREAD= yes
WRKSRC= ${WRKDIR}/jabber
OPTIONS= GNUTLS "Use GNUTLS (required for GMail)" on
.include <bsd.port.options.mk>
.if defined(WITH_GNUTLS)
CMAKE_ARGS+= -DGNUTLS=1
LIB_DEPENDS+= gnutls.40:${PORTSDIR}/security/gnutls
.endif
do-install:
@${MKDIR} ${PREFIX}/lib/qutim
@${INSTALL_PROGRAM} ${WRKSRC}/libjabber.so ${PREFIX}/lib/qutim
.include <bsd.port.mk>