openbsd-ports/net/gaim/Makefile

74 lines
1.5 KiB
Makefile
Raw Normal View History

# $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
COMMENT= "Gtk AIM, ICQ, IRC, Jabber, MSN, Yahoo, SILC and Zephyr client"
2004-06-25 16:52:10 -04:00
DISTNAME= gaim-1.0.2
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
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2002-05-15 13:42:24 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gaim/}
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 \
startup-notification-1.0.0::devel/startup-notification \
silc,silcclient::devel/silc-toolkit
2003-04-09 12:39:46 -04:00
BUILD_DEPENDS+= :pkgconfig-*:devel/pkgconfig
2003-04-09 12:39:46 -04:00
USE_X11= Yes
USE_GMAKE= Yes
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" \
LDFLAGS="-L${LOCALBASE}/lib"
FLAVORS= audio debug gtkspell
FLAVOR?=
2003-04-09 12:39:46 -04:00
.if ${FLAVOR:L:Maudio}
LIB_DEPENDS+= audiofile::devel/libaudiofile \
ao.3::audio/libao
.else
2003-04-09 12:39:46 -04:00
CONFIGURE_ARGS+= --disable-audio
.endif
.if ${FLAVOR:L:Mdebug}
2004-02-01 21:10:19 -05:00
CFLAGS= -O0
CONFIGURE_ARGS+=--enable-debug
INSTALL_STRIP=
.endif
2004-02-01 21:10:19 -05:00
.if ${FLAVOR:L:Mgtkspell}
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
.include <bsd.port.mk>