2006-09-18 07:59:59 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.92 2006/09/18 11:59:59 espie 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
|
|
|
|
2005-08-17 12:22:34 -04:00
|
|
|
DISTNAME= gaim-1.5.0
|
2006-06-27 13:32:26 -04:00
|
|
|
PKGNAME= ${DISTNAME}p6
|
2006-01-05 17:11:37 -05:00
|
|
|
SHARED_LIBS= gaim-remote 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 \
|
|
|
|
gmodule-2.0 gobject-2.0 m pango-1.0 \
|
|
|
|
ssl stdc++ pangocairo-1.0 cairo glitz png \
|
|
|
|
pangoft2-1.0 z
|
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 \
|
2004-09-15 14:17:38 -04:00
|
|
|
silc,silcclient::devel/silc-toolkit
|
2003-04-09 12:39:46 -04:00
|
|
|
BUILD_DEPENDS+= :pkgconfig-*:devel/pkgconfig
|
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
|
2001-07-30 06:41:39 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2004-04-24 04:04:13 -04:00
|
|
|
CONFIGURE_ARGS+= --disable-gevolution \
|
|
|
|
--disable-gnutls \
|
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 \
|
2005-11-26 11:50:17 -05:00
|
|
|
--enable-openssl
|
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
|
|
|
|
2003-09-29 21:04:15 -04:00
|
|
|
FLAVORS= audio debug gtkspell
|
2001-07-30 06:41:39 -04:00
|
|
|
FLAVOR?=
|
1999-12-14 00:22:46 -05:00
|
|
|
|
2003-04-09 12:39:46 -04:00
|
|
|
.if ${FLAVOR:L:Maudio}
|
|
|
|
LIB_DEPENDS+= audiofile::devel/libaudiofile \
|
2006-08-03 19:15:57 -04:00
|
|
|
ao.>=3::audio/libao
|
2004-12-15 19:31:20 -05:00
|
|
|
WANTLIB+= pthread
|
2001-07-30 06:41:39 -04:00
|
|
|
.else
|
2003-04-09 12:39:46 -04:00
|
|
|
CONFIGURE_ARGS+= --disable-audio
|
2001-07-30 06:41:39 -04:00
|
|
|
.endif
|
1999-12-14 00:22:46 -05:00
|
|
|
|
2003-09-29 21:04:15 -04:00
|
|
|
.if ${FLAVOR:L:Mdebug}
|
2004-02-01 21:10:19 -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
|
2004-12-15 19:31:20 -05:00
|
|
|
WANTLIB+= iconv intl 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:
|
|
|
|
@cp -f ${FILESDIR}/ssl-openssl.c ${WRKSRC}/plugins/ssl
|
|
|
|
|
1999-12-14 00:22:46 -05:00
|
|
|
.include <bsd.port.mk>
|