# New ports collection makefile for: gaim-snapshot # Date created: 31 January 2003 # Whom: Joe Marcus Clarke # # $FreeBSD$ # PORTNAME= gaim PORTVERSION= 20030130 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= marcus/ MAINTAINER= marcus@FreeBSD.org LIB_DEPENDS= gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20 NO_LATEST_LINK= yes USE_X_PREFIX= yes USE_GMAKE= yes USE_REINPLACE= yes USE_GNOMENG= yes USE_GNOME= gnomeprefix gnomehack WANT_GNOME= yes 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 .ifndef(WITHOUT_GTKSPELL) LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell2 .endif .include .if ${HAVE_GNOME:Mesound}!="" USE_GNOME+= esound .if defined(PKGNAMESUFFIX) PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-esound .else PKGNAMESUFFIX= -esound .endif .else CONFIGURE_ARGS+= --disable-esd .endif post-patch: @${REINPLACE_CMD} -e 's|-lpthreads|${PTHREAD_LIBS:S/"//g}|g; \ s|-lpthread|${PTHREAD_LIBS:S/"//g}|g' ${WRKSRC}/configure .include