openbsd-ports/net/gaim/Makefile

81 lines
1.8 KiB
Makefile
Raw Normal View History

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
COMMENT= "Gtk AIM, ICQ, IRC, Jabber, MSN, Yahoo, SILC and Zephyr client"
2004-06-25 16:52:10 -04:00
DISTNAME= gaim-1.5.0
PKGNAME= ${DISTNAME}p6
2006-01-05 17:11:37 -05:00
SHARED_LIBS= gaim-remote 0.0
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
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
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
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 \
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_LIBTOOL= Yes
LIBTOOL_FLAGS+= --tag=disable-static
2003-04-09 12:39:46 -04:00
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 \
--enable-openssl
2004-09-20 22:44:19 -04:00
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 \
2006-08-03 19:15:57 -04:00
ao.>=3::audio/libao
2004-12-15 19:31:20 -05:00
WANTLIB+= pthread
.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}
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
.include <bsd.port.mk>