2005-05-01 12:17:51 +02:00
|
|
|
# New ports collection makefile for: gajim
|
2007-02-13 13:56:40 +01:00
|
|
|
# Date created: Sun Nov 26 16:36:07 MSK 2006
|
|
|
|
# Whom: Denis Shaposhnikov <dsh@vlink.ru>
|
2005-05-01 12:17:51 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gajim
|
2010-03-10 03:25:52 +01:00
|
|
|
PORTVERSION= 0.13.3
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 1
|
2005-11-09 08:48:19 +01:00
|
|
|
CATEGORIES= net-im
|
2010-01-28 00:22:32 +01:00
|
|
|
MASTER_SITES= http://www.gajim.org/downloads/0.13/
|
2005-05-01 12:17:51 +02:00
|
|
|
|
2008-12-26 23:32:50 +01:00
|
|
|
MAINTAINER= dsh@wizard.volgograd.ru
|
2007-02-13 13:56:40 +01:00
|
|
|
COMMENT= Gajim is a Jabber client based on a plugin system
|
2005-05-01 12:17:51 +02:00
|
|
|
|
2010-01-05 00:14:42 +01:00
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.82.2:${PORTSDIR}/devel/py-dbus
|
2007-02-13 13:56:40 +01:00
|
|
|
LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell
|
2010-01-05 00:14:42 +01:00
|
|
|
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
|
2005-05-01 12:17:51 +02:00
|
|
|
|
2007-02-13 13:56:40 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2010-01-05 00:14:42 +01:00
|
|
|
INSTALLS_ICONS= yes
|
2005-05-31 10:30:50 +02:00
|
|
|
USE_BZIP2= yes
|
2007-02-08 23:33:51 +01:00
|
|
|
USE_GMAKE= yes
|
2007-02-13 13:56:40 +01:00
|
|
|
USE_GNOME= pygtk2
|
2010-01-05 00:14:42 +01:00
|
|
|
USE_PYTHON= 2.5+
|
2008-04-20 19:49:34 +02:00
|
|
|
USE_XORG= x11 xext xscrnsaver
|
2005-05-31 10:30:50 +02:00
|
|
|
|
2009-06-14 00:47:46 +02:00
|
|
|
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" PYTHON=${PYTHON_CMD}
|
2007-02-08 23:33:51 +01:00
|
|
|
|
2007-02-13 13:56:40 +01:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
2007-02-08 23:33:51 +01:00
|
|
|
.else
|
2007-02-13 13:56:40 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
2007-02-08 23:33:51 +01:00
|
|
|
.endif
|
|
|
|
|
2010-01-05 00:14:42 +01:00
|
|
|
MAN1= gajim.1 gajim-remote.1
|
2008-02-18 02:23:24 +01:00
|
|
|
|
2008-12-26 23:32:50 +01:00
|
|
|
EMOTICONS= animated static static-big
|
2010-01-05 00:14:42 +01:00
|
|
|
ICONSETS= dcraven gnome goojim gota jabberbulb sun transports wroop
|
2007-02-13 13:56:40 +01:00
|
|
|
|
|
|
|
pre-build:
|
|
|
|
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/src
|
2008-12-26 23:32:50 +01:00
|
|
|
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/src
|
2007-02-08 23:33:51 +01:00
|
|
|
|
|
|
|
post-install:
|
2008-12-26 23:32:50 +01:00
|
|
|
${MKDIR} ${DATADIR}/data/activities
|
|
|
|
(cd ${WRKSRC}/data/activities && \
|
2010-01-05 00:14:42 +01:00
|
|
|
${COPYTREE_SHARE} "default" ${DATADIR}/data/activities)
|
2008-12-26 23:32:50 +01:00
|
|
|
|
2007-02-13 13:56:40 +01:00
|
|
|
${MKDIR} ${DATADIR}/data/emoticons
|
|
|
|
(cd ${WRKSRC}/data/emoticons && \
|
2007-10-10 01:03:37 +02:00
|
|
|
${COPYTREE_SHARE} "${EMOTICONS}" ${DATADIR}/data/emoticons)
|
2007-02-13 13:56:40 +01:00
|
|
|
|
|
|
|
${MKDIR} ${DATADIR}/data/iconsets
|
|
|
|
(cd ${WRKSRC}/data/iconsets && \
|
2007-10-10 01:03:37 +02:00
|
|
|
${COPYTREE_SHARE} "${ICONSETS}" ${DATADIR}/data/iconsets)
|
2007-02-13 13:56:40 +01:00
|
|
|
|
2008-12-26 23:32:50 +01:00
|
|
|
${MKDIR} ${DATADIR}/data/moods
|
|
|
|
(cd ${WRKSRC}/data/moods && \
|
2010-01-05 00:14:42 +01:00
|
|
|
${COPYTREE_SHARE} "default" ${DATADIR}/data/moods)
|
2005-06-06 22:29:34 +02:00
|
|
|
|
2010-01-05 00:14:42 +01:00
|
|
|
.include <bsd.port.mk>
|