blob: 4a3af69e859da32cc7a56d53b047db9ead93cb70 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# New ports collection makefile for: gajim
# Date created: 27 April 2005
# Whom: Vsevolod Stakhov <vsevolod@highsecure.ru>
#
# $FreeBSD$
#
PORTNAME= gajim
PORTVERSION= 0.8
CATEGORIES= net
MASTER_SITES= http://www.gajim.org/downloads/
MAINTAINER= vsevolod@FreeBSD.org
COMMENT= Gajim is a Jabber client based on a plugin system
LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell2
USE_X_PREFIX= yes
USE_PYTHON= 2.3+
USE_GMAKE= yes
USE_BZIP2= yes
USE_REINPLACE= 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>
|