1999-04-18 20:15:51 -04:00
|
|
|
# New ports collection makefile for: gaim
|
|
|
|
# Date created: 26 Mar 1999
|
1999-08-12 05:20:45 -04:00
|
|
|
# Whom: Jim Mock <jim@FreeBSD.org>
|
1999-04-18 20:15:51 -04:00
|
|
|
#
|
1999-08-30 10:24:37 -04:00
|
|
|
# $FreeBSD$
|
1999-04-18 20:15:51 -04:00
|
|
|
#
|
|
|
|
|
2002-02-20 02:55:15 -05:00
|
|
|
PORTNAME= gaim
|
2002-09-16 01:57:59 -04:00
|
|
|
PORTVERSION= 0.59.3
|
2002-03-24 00:59:08 -05:00
|
|
|
CATEGORIES?= net
|
2002-09-13 15:40:59 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2000-06-14 09:21:38 -04:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1999-04-18 20:15:51 -04:00
|
|
|
|
2002-04-05 18:26:36 -05:00
|
|
|
MAINTAINER?= marcus@FreeBSD.org
|
2002-02-20 02:55:15 -05:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
2002-06-25 20:31:45 -04:00
|
|
|
USE_REINPLACE= yes
|
2002-07-11 13:47:16 -04:00
|
|
|
USE_GNOMENG= yes
|
|
|
|
USE_GNOME= gnomeprefix gnomehack gtk12 esound
|
2002-02-20 02:55:15 -05:00
|
|
|
WANT_GNOME= yes
|
2002-06-25 20:31:45 -04:00
|
|
|
USE_PERL5= yes
|
2002-04-26 19:43:32 -04:00
|
|
|
USE_LIBTOOL= yes
|
2002-02-20 02:55:15 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2001-08-31 21:09:37 -04:00
|
|
|
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
|
1999-05-28 23:56:15 -04:00
|
|
|
|
2002-02-20 02:55:15 -05:00
|
|
|
MAN1= gaim.1
|
2000-03-27 01:07:33 -05:00
|
|
|
|
2002-08-28 01:24:01 -04:00
|
|
|
GNOME_PANEL2= ${X11BASE}/libdata/pkgconfig/libpanelapplet-2.0.pc
|
|
|
|
|
2002-04-15 17:47:48 -04:00
|
|
|
.if !defined(WITHOUT_GDK_PIXBUF)
|
|
|
|
# Note, gdk-pixbuf is needed for buddy icon support.
|
2002-07-11 13:47:16 -04:00
|
|
|
USE_GNOME+= gdkpixbuf
|
2002-04-15 17:47:48 -04:00
|
|
|
.endif
|
2002-07-28 13:49:26 -04:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-08-28 01:24:01 -04:00
|
|
|
.if ${HAVE_GNOME:Mlibpanel}!= "" && !exists(${GNOME_PANEL2})
|
2002-07-11 13:47:16 -04:00
|
|
|
USE_GNOME+= libpanel
|
2002-02-20 02:55:15 -05:00
|
|
|
RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
|
2000-11-26 00:06:26 -05:00
|
|
|
CONFIGURE_ARGS+= --enable-panel
|
2002-07-11 13:47:16 -04:00
|
|
|
PKGNAMESUFFIX= -gnome
|
2000-10-03 14:35:24 -04:00
|
|
|
.else
|
2000-10-07 13:50:41 -04:00
|
|
|
CONFIGURE_ARGS+= --disable-gnome
|
2000-10-05 03:22:56 -04:00
|
|
|
.endif
|
2000-10-03 14:35:24 -04:00
|
|
|
|
2002-07-11 13:47:16 -04:00
|
|
|
post-patch:
|
2002-06-25 20:31:45 -04:00
|
|
|
@${REINPLACE_CMD} -e 's|-lpthreads|${PTHREAD_LIBS:S/"//g}|g; \
|
2001-10-10 20:11:57 -04:00
|
|
|
s|-lpthread|${PTHREAD_LIBS:S/"//g}|g' ${WRKSRC}/configure
|
1999-04-18 20:15:51 -04:00
|
|
|
|
2000-10-05 03:22:56 -04:00
|
|
|
.include <bsd.port.post.mk>
|