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
|
|
|
#
|
|
|
|
|
2000-10-07 13:50:41 -04:00
|
|
|
PORTNAME= gaim
|
2001-08-30 16:30:48 -04:00
|
|
|
PORTVERSION= 0.11.0p15
|
2001-09-01 14:06:26 -04:00
|
|
|
PORTREVISION= 2
|
2000-10-07 13:50:41 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ftp://ftp.marko.net/pub/gaim/ \
|
|
|
|
${MASTER_SITE_SOURCEFORGE}
|
2000-06-14 09:21:38 -04:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2001-06-18 14:09:24 -04:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/p/pre/}
|
1999-04-18 20:15:51 -04:00
|
|
|
|
2000-10-07 13:50:41 -04:00
|
|
|
MAINTAINER= jim@FreeBSD.org
|
1999-04-18 20:15:51 -04:00
|
|
|
|
2000-10-07 13:50:41 -04:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GTK= yes
|
|
|
|
WANT_ESOUND= yes
|
|
|
|
WANT_GNOME= yes
|
2001-08-31 21:09:37 -04:00
|
|
|
GNU_CONFIGURE= yes
|
2000-10-07 13:50:41 -04: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
|
|
|
|
2000-10-07 13:50:41 -04:00
|
|
|
MAN1= gaim.1
|
2000-03-27 01:07:33 -05:00
|
|
|
|
2000-10-05 03:22:56 -04:00
|
|
|
.include <bsd.port.pre.mk>
|
2000-10-03 14:35:24 -04:00
|
|
|
|
2000-10-05 03:22:56 -04:00
|
|
|
.if defined(HAVE_GNOME)
|
2000-10-07 13:50:41 -04:00
|
|
|
USE_GNOME= yes
|
2001-03-21 15:54:57 -05:00
|
|
|
RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
|
2000-11-26 00:06:26 -05:00
|
|
|
CONFIGURE_ARGS+= --enable-panel
|
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
|
|
|
|
.if defined(HAVE_ESOUND)
|
2000-10-07 13:50:41 -04:00
|
|
|
USE_ESOUND= yes
|
2000-10-05 03:22:56 -04:00
|
|
|
.else
|
2000-10-07 13:50:41 -04:00
|
|
|
CONFIGURE_ARGS+= --disable-esd
|
2000-10-03 14:35:24 -04:00
|
|
|
.endif
|
|
|
|
|
2000-10-05 03:22:56 -04:00
|
|
|
pre-patch:
|
2001-03-29 11:35:19 -05:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2001-08-31 21:09:37 -04:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
2000-10-05 03:22:56 -04:00
|
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
|
|
|
's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \
|
2001-08-31 21:09:37 -04:00
|
|
|
s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g'
|
1999-04-18 20:15:51 -04:00
|
|
|
|
2000-10-05 03:22:56 -04:00
|
|
|
.include <bsd.port.post.mk>
|