freebsd-ports/net-im/gaim/Makefile

55 lines
1.2 KiB
Makefile
Raw Normal View History

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