summaryrefslogtreecommitdiffstats
path: root/net-im/gajim/Makefile
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-06-06 20:29:34 +0000
committerjylefort <jylefort@FreeBSD.org>2005-06-06 20:29:34 +0000
commitab4e5e9fb3905f8fc2297ede45111b6cd3996a34 (patch)
treee0e40a817c09f406620994617aba3d6559d3aa92 /net-im/gajim/Makefile
parent6b213e979ec2147051e49c6a76004cade625b4c5 (diff)
downloadFreeBSD-ports-ab4e5e9fb3905f8fc2297ede45111b6cd3996a34.zip
FreeBSD-ports-ab4e5e9fb3905f8fc2297ede45111b6cd3996a34.tar.gz
- Update to 0.7.1 [1]
- Respect ${CC} and ${CFLAGS} - Cleanups PR: ports/81942 [1] Submitted by: maintainer [1]
Diffstat (limited to 'net-im/gajim/Makefile')
-rw-r--r--net-im/gajim/Makefile19
1 files changed, 15 insertions, 4 deletions
diff --git a/net-im/gajim/Makefile b/net-im/gajim/Makefile
index 901ca28..c8f9a1d 100644
--- a/net-im/gajim/Makefile
+++ b/net-im/gajim/Makefile
@@ -6,24 +6,35 @@
#
PORTNAME= gajim
-PORTVERSION= 0.7
-PORTREVISION= 1
+PORTVERSION= 0.7.1
CATEGORIES= net
MASTER_SITES= http://www.gajim.org/downloads/
MAINTAINER= vsevolod@highsecure.ru
COMMENT= Gajim is a Jabber client based on a plugin system
-BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/pygtk.py:${PORTSDIR}/x11-toolkits/py-gtk2
+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}
+ PY_PREFIX=${LOCALBASE} \
+ CC=${CC} LDFLAGS=-L${LOCALBASE}/lib
MAN1= gajim.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>
OpenPOWER on IntegriCloud