49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.5 2006/06/05 07:55:19 alek Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= "jabber client written in pygtk"
|
|
DISTNAME= gajim-0.10
|
|
PKGNAME= ${DISTNAME}p0
|
|
EXTRACT_SUFX= .tar.bz2
|
|
CATEGORIES= net x11
|
|
MASTER_SITES= ${HOMEPAGE}downloads/
|
|
|
|
HOMEPAGE= http://www.gajim.org/
|
|
|
|
# GPL
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PYTHON_VER= 2.4
|
|
|
|
USE_X11= Yes
|
|
USE_GMAKE= Yes
|
|
|
|
MODULES= devel/gettext
|
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig \
|
|
::textproc/intltool \
|
|
${RUN_DEPENDS}
|
|
LIB_DEPENDS= gtkspell.0::textproc/gtkspell \
|
|
python${PYTHON_VER}.0.0::lang/python/${PYTHON_VER}
|
|
RUN_DEPENDS= :python-expat-${PYTHON_VER}*:lang/python/${PYTHON_VER},-expat \
|
|
::net/py-dns \
|
|
::databases/py-sqlite2 \
|
|
::x11/py-gtk2
|
|
WANTLIB= X11 Xext Xft Xrender Xss fontconfig freetype m \
|
|
aspell atk-1.0.1011.0 gdk-x11-2.0.600.0 gdk_pixbuf-2.0.600.0 \
|
|
glib-2.0.600.0 gmodule-2.0.600.0 gobject-2.0.600.0 \
|
|
gtk-x11-2.0.600.0 pango-1.0.800.0 pangox-1.0.0.0 \
|
|
pangoft2-1.0.0.0 pangoxft-1.0.0.0
|
|
|
|
MAKE_ENV+= PY_CFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/python${PYTHON_VER}" \
|
|
PY_PREFIX=${LOCALBASE} \
|
|
CC=${CC} LDFLAGS=-L${LOCALBASE}/lib
|
|
MAKE_FLAGS= PYTHONVER=${PYTHON_VER}
|
|
FAKE_FLAGS= DESTDIR=${DESTDIR} PYTHON=${LOCALBASE}/bin/python${PYTHON_VER}
|
|
|
|
.include <bsd.port.mk>
|