# New ports collection makefile for: gajim # Date created: Sun Nov 26 16:36:07 MSK 2006 # Whom: Denis Shaposhnikov # # $FreeBSD$ # PORTNAME= gajim PORTVERSION= 0.13.4 PORTREVISION= 1 CATEGORIES= net-im MASTER_SITES= http://www.gajim.org/downloads/0.13/ MAINTAINER= dsh@wizard.volgograd.ru COMMENT= Gajim is a Jabber client based on a plugin system BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.82.2:${PORTSDIR}/devel/py-dbus LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell RUN_DEPENDS= ${PYTHON_SITELIBDIR}/OpenSSL/SSL.so:${PORTSDIR}/security/py-openssl \ ${PYTHON_PKGNAMEPREFIX}dbus>=0.82.2:${PORTSDIR}/devel/py-dbus \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=${PYTHON_PORTVERSION}:${PORTSDIR}/databases/py-sqlite3 GNU_CONFIGURE= yes INSTALLS_ICONS= yes USE_BZIP2= yes USE_GMAKE= yes USE_GNOME= pygtk2 USE_PYTHON= 2.5+ USE_XORG= x11 xext xscrnsaver CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" PYTHON=${PYTHON_CMD} .if !defined(WITHOUT_NLS) USE_GETTEXT= yes PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif MAN1= gajim.1 gajim-remote.1 EMOTICONS= animated static static-big ICONSETS= dcraven gnome goojim gota jabberbulb sun transports wroop pre-build: ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/src ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/src post-install: ${MKDIR} ${DATADIR}/data/activities (cd ${WRKSRC}/data/activities && \ ${COPYTREE_SHARE} "default" ${DATADIR}/data/activities) ${MKDIR} ${DATADIR}/data/emoticons (cd ${WRKSRC}/data/emoticons && \ ${COPYTREE_SHARE} "${EMOTICONS}" ${DATADIR}/data/emoticons) ${MKDIR} ${DATADIR}/data/iconsets (cd ${WRKSRC}/data/iconsets && \ ${COPYTREE_SHARE} "${ICONSETS}" ${DATADIR}/data/iconsets) ${MKDIR} ${DATADIR}/data/moods (cd ${WRKSRC}/data/moods && \ ${COPYTREE_SHARE} "default" ${DATADIR}/data/moods) .include