2006-10-31 14:32:50 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.93 2006/10/31 19:32:50 brad Exp $
|
2004-02-01 21:10:19 -05:00
|
|
|
|
2004-09-16 22:07:35 -04:00
|
|
|
SHARED_ONLY= Yes
|
1999-12-14 00:22:46 -05:00
|
|
|
|
2004-07-08 14:27:41 -04:00
|
|
|
COMMENT= "Gtk AIM, ICQ, IRC, Jabber, MSN, Yahoo, SILC and Zephyr client"
|
2004-06-25 16:52:10 -04:00
|
|
|
|
2006-10-31 14:32:50 -05:00
|
|
|
DISTNAME= gaim-2.0.0beta4
|
|
|
|
SHARED_LIBS= gaim 0.0 \
|
|
|
|
gnt 0.0
|
1999-12-14 00:22:46 -05:00
|
|
|
CATEGORIES= net
|
|
|
|
|
2004-06-25 16:52:10 -04:00
|
|
|
HOMEPAGE= http://gaim.sourceforge.net/
|
|
|
|
|
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
|
|
|
|
2002-08-27 11:40:44 -04:00
|
|
|
# GPL
|
2001-07-30 06:41:39 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2006-09-18 07:59:59 -04:00
|
|
|
WANTLIB= glib-2.0 ICE SM X11 Xext Xrender Xss \
|
|
|
|
atk-1.0 c crypto fontconfig freetype \
|
2006-10-31 14:32:50 -05:00
|
|
|
gmodule-2.0 gobject-2.0 gthread-2.0 pango-1.0 \
|
|
|
|
ssl pangocairo-1.0 cairo glitz png \
|
|
|
|
pangoft2-1.0 z pthread m ncurses panel stdc++
|
2001-06-12 03:10:51 -04:00
|
|
|
|
2002-05-15 13:42:24 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gaim/}
|
1999-12-14 00:22:46 -05:00
|
|
|
|
2004-08-10 05:38:34 -04:00
|
|
|
MODULES= devel/gettext
|
2003-04-09 12:39:46 -04:00
|
|
|
|
2006-09-18 07:59:59 -04:00
|
|
|
LIB_DEPENDS+= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
|
|
|
|
startup-notification-1::devel/startup-notification \
|
2006-10-31 14:32:50 -05:00
|
|
|
silc,silcclient::devel/silc-toolkit \
|
|
|
|
meanwhile::net/meanwhile \
|
|
|
|
gadu::net/libgadu \
|
|
|
|
xml2::textproc/libxml
|
|
|
|
|
|
|
|
BUILD_DEPENDS+= :pkgconfig-*:devel/pkgconfig \
|
|
|
|
:p5-XML-Parser-*:textproc/p5-XML-Parser
|
1999-12-14 00:22:46 -05:00
|
|
|
|
2003-04-09 12:39:46 -04:00
|
|
|
USE_X11= Yes
|
2005-11-26 11:50:17 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2006-01-18 17:01:17 -05:00
|
|
|
LIBTOOL_FLAGS+= --tag=disable-static
|
2003-04-09 12:39:46 -04:00
|
|
|
USE_GMAKE= Yes
|
2006-10-31 14:32:50 -05:00
|
|
|
SEPARATE_BUILD= simple
|
|
|
|
CONFIGURE_STYLE= autoconf
|
|
|
|
AUTOCONF_VERSION= 2.59
|
2004-04-24 04:04:13 -04:00
|
|
|
CONFIGURE_ARGS+= --disable-gevolution \
|
|
|
|
--disable-gnutls \
|
2006-10-31 14:32:50 -05:00
|
|
|
--disable-gstreamer \
|
2004-02-01 21:10:19 -05:00
|
|
|
--disable-nas \
|
|
|
|
--disable-nss \
|
2004-02-01 21:38:00 -05:00
|
|
|
--disable-perl \
|
2004-02-01 21:10:19 -05:00
|
|
|
--disable-tcl \
|
|
|
|
--disable-tk \
|
2006-10-31 14:32:50 -05:00
|
|
|
--disable-dbus \
|
|
|
|
--disable-cap \
|
|
|
|
--disable-schemas-install \
|
|
|
|
--disable-audio \
|
|
|
|
--enable-openssl \
|
|
|
|
--enable-consoleui
|
|
|
|
|
2004-09-20 22:44:19 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2005-11-26 11:50:17 -05:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
1999-12-14 00:22:46 -05:00
|
|
|
|
2006-10-31 14:32:50 -05:00
|
|
|
FLAVORS= debug gtkspell
|
2001-07-30 06:41:39 -04:00
|
|
|
FLAVOR?=
|
1999-12-14 00:22:46 -05:00
|
|
|
|
2003-09-29 21:04:15 -04:00
|
|
|
.if ${FLAVOR:L:Mdebug}
|
2006-10-31 14:32:50 -05:00
|
|
|
CFLAGS= -O0
|
2003-09-29 21:04:15 -04:00
|
|
|
CONFIGURE_ARGS+=--enable-debug
|
|
|
|
|
|
|
|
INSTALL_STRIP=
|
|
|
|
.endif
|
|
|
|
|
2004-02-01 21:10:19 -05:00
|
|
|
.if ${FLAVOR:L:Mgtkspell}
|
|
|
|
LIB_DEPENDS+= gtkspell::textproc/gtkspell
|
2006-10-31 14:32:50 -05:00
|
|
|
WANTLIB+= aspell
|
2004-02-01 21:10:19 -05:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-gtkspell
|
|
|
|
.endif
|
|
|
|
|
2004-01-17 19:06:22 -05:00
|
|
|
post-extract:
|
2006-10-31 14:32:50 -05:00
|
|
|
@cp -f ${FILESDIR}/ssl-openssl.c ${WRKSRC}/libgaim/plugins/ssl
|
2004-01-17 19:06:22 -05:00
|
|
|
|
1999-12-14 00:22:46 -05:00
|
|
|
.include <bsd.port.mk>
|