1999-04-19 02:15:51 +02:00
|
|
|
# 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$
|
1999-04-19 02:15:51 +02:00
|
|
|
#
|
|
|
|
|
2002-02-20 08:55:15 +01:00
|
|
|
PORTNAME= gaim
|
2003-04-10 20:58:35 +02:00
|
|
|
PORTVERSION= 0.61
|
2002-03-24 06:59:08 +01:00
|
|
|
CATEGORIES?= net
|
2002-09-13 21:40:59 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2000-06-14 15:21:38 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1999-04-19 02:15:51 +02:00
|
|
|
|
2002-04-06 01:26:36 +02:00
|
|
|
MAINTAINER?= marcus@FreeBSD.org
|
2003-04-05 19:55:30 +02:00
|
|
|
COMMENT= Gtk+-2.0 open-source 'clone' of AOL's Instant Messenger client
|
2002-02-20 08:55:15 +01:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
2002-06-26 02:31:45 +02:00
|
|
|
USE_REINPLACE= yes
|
2003-04-05 19:55:30 +02:00
|
|
|
USE_GNOME= gnomeprefix gnomehack gtk20
|
2002-06-26 02:31:45 +02:00
|
|
|
USE_PERL5= yes
|
2002-04-27 01:43:32 +02:00
|
|
|
USE_LIBTOOL= yes
|
2003-04-05 19:55:30 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
1999-05-29 05:56:15 +02:00
|
|
|
|
2002-02-20 08:55:15 +01:00
|
|
|
MAN1= gaim.1
|
2000-03-27 08:07:33 +02:00
|
|
|
|
2003-04-05 19:55:30 +02:00
|
|
|
.ifndef(WITHOUT_GTKSPELL)
|
|
|
|
LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell2
|
2003-04-10 20:58:35 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gtkspell
|
2002-04-15 23:47:48 +02:00
|
|
|
.endif
|
2002-07-28 19:49:26 +02:00
|
|
|
|
2003-04-05 19:55:30 +02:00
|
|
|
.ifndef(WITHOUT_AUDIO)
|
2003-04-05 20:28:52 +02:00
|
|
|
LIB_DEPENDS+= ao.3:${PORTSDIR}/audio/libao \
|
|
|
|
audiofile.0:${PORTSDIR}/audio/libaudiofile
|
2003-04-10 20:58:35 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --diable-audio
|
2000-10-05 09:22:56 +02:00
|
|
|
.endif
|
2000-10-03 20:35:24 +02:00
|
|
|
|
2003-04-05 19:55:30 +02:00
|
|
|
pre-everything::
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "Gaim has the following tunable option(s):"
|
|
|
|
@${ECHO_MSG} " WITHOUT_GTKSPELL Turns off spell checking"
|
|
|
|
@${ECHO_MSG} " WITHOUT_AUDIO Disable audio support"
|
|
|
|
@${ECHO_MSG} ""
|
2002-10-12 06:11:58 +02:00
|
|
|
|
2002-07-11 19:47:16 +02:00
|
|
|
post-patch:
|
2002-06-26 02:31:45 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|-lpthreads|${PTHREAD_LIBS:S/"//g}|g; \
|
2001-10-11 02:11:57 +02:00
|
|
|
s|-lpthread|${PTHREAD_LIBS:S/"//g}|g' ${WRKSRC}/configure
|
1999-04-19 02:15:51 +02:00
|
|
|
|
2003-04-05 19:55:30 +02:00
|
|
|
.include <bsd.port.mk>
|