1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/net-im/gajim/Makefile
Pav Lucistnik 684edebf91 - Update to 0.10.1
PR:		ports/98770
Submitted by:	Stephan Maka <stephan@spaceboyz.net> (maintainer)
2006-06-11 09:19:36 +00:00

42 lines
1.0 KiB
Makefile

# New ports collection makefile for: gajim
# Date created: 27 April 2005
# Whom: Vsevolod Stakhov <vsevolod@highsecure.ru>
#
# $FreeBSD$
#
PORTNAME= gajim
PORTVERSION= 0.10.1
CATEGORIES= net-im
MASTER_SITES= http://www.gajim.org/downloads/
MAINTAINER= stephan@spaceboyz.net
COMMENT= Gajim is a Jabber client based on a plugin system
LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite21
USE_X_PREFIX= yes
USE_PYTHON= 2.3+
USE_GMAKE= yes
USE_BZIP2= yes
USE_GNOME= pygtk2
MAKE_ENV+= PY_CFLAGS=-I${PYTHON_INCLUDEDIR} \
PY_PREFIX=${LOCALBASE} \
CC=${CC} LDFLAGS=-L${LOCALBASE}/lib
MAN1= gajim.1 \
gajim-remote.1
post-patch:
@${REINPLACE_CMD} -e \
's|^PREFIX.*=.*||; s|^DESTDIR.*=.*||; s|share/man|man|' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e \
's|CFLAGS =|CFLAGS +=|; s|LDFLAGS =|LDFLAGS +=|; \
s|-I/usr/include/python\$$(PYTHONVER)|$$(PY_CFLAGS)|' \
${WRKSRC}/src/Makefile ${WRKSRC}/src/common/Makefile
.include <bsd.port.mk>