freebsd-ports/net/gaim/Makefile

52 lines
1.3 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
2003-04-10 20:58:35 +02:00
PORTVERSION= 0.61
CATEGORIES?= net
2002-09-13 21:40:59 +02:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER?= marcus@FreeBSD.org
COMMENT= Gtk+-2.0 open-source 'clone' of AOL's Instant Messenger client
USE_X_PREFIX= yes
USE_GMAKE= yes
2002-06-26 02:31:45 +02:00
USE_REINPLACE= yes
USE_GNOME= gnomeprefix gnomehack gtk20
2002-06-26 02:31:45 +02:00
USE_PERL5= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
MAN1= gaim.1
2000-03-27 08:07:33 +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
.endif
.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
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} ""
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
.include <bsd.port.mk>