2004-10-22 15:16:01 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.68 2004/10/22 19:16:01 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
|
|
|
|
2004-10-22 15:16:01 -04:00
|
|
|
DISTNAME= gaim-1.0.2
|
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
|
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
|
|
|
|
2003-11-13 14:26:00 -05:00
|
|
|
LIB_DEPENDS+= gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0::x11/gtk+2 \
|
2004-07-08 14:27:41 -04:00
|
|
|
startup-notification-1.0.0::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
|
|
|
|
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 \
|
2004-09-20 22:44:19 -04:00
|
|
|
--enable-openssl \
|
|
|
|
--with-silc-includes="${LOCALBASE}/include/silc"
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2001-07-30 06:41:39 -04: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 \
|
|
|
|
ao.3::audio/libao
|
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}
|
2004-04-09 02:42:42 -04:00
|
|
|
MODULES= gcc3
|
|
|
|
MODGCC3_ARCHES= powerpc
|
2004-04-12 21:34:57 -04:00
|
|
|
MODGCC3_LANGS= C++
|
2004-02-01 21:10:19 -05:00
|
|
|
LIB_DEPENDS+= gtkspell::textproc/gtkspell
|
|
|
|
.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>
|