1999-04-19 00:15:51 +00:00
|
|
|
# New ports collection makefile for: gaim
|
|
|
|
# Date created: 26 Mar 1999
|
1999-08-12 09:20:45 +00:00
|
|
|
# Whom: Jim Mock <jim@FreeBSD.org>
|
1999-04-19 00:15:51 +00:00
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1999-04-19 00:15:51 +00:00
|
|
|
#
|
|
|
|
|
2000-10-07 17:50:41 +00:00
|
|
|
PORTNAME= gaim
|
2000-12-24 01:41:06 +00:00
|
|
|
PORTVERSION= 0.11.0pre4
|
2000-10-07 17:50:41 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ftp://ftp.marko.net/pub/gaim/ \
|
|
|
|
${MASTER_SITE_SOURCEFORGE}
|
2000-06-14 13:21:38 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1999-04-19 00:15:51 +00:00
|
|
|
|
2000-10-07 17:50:41 +00:00
|
|
|
MAINTAINER= jim@FreeBSD.org
|
1999-04-19 00:15:51 +00:00
|
|
|
|
2000-10-07 17:50:41 +00:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GTK= yes
|
|
|
|
WANT_ESOUND= yes
|
|
|
|
WANT_GNOME= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1999-05-29 03:56:15 +00:00
|
|
|
|
2000-10-07 17:50:41 +00:00
|
|
|
MAN1= gaim.1
|
2000-03-27 06:07:33 +00:00
|
|
|
|
2000-10-05 07:22:56 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
2000-10-03 18:35:24 +00:00
|
|
|
|
2000-10-05 07:22:56 +00:00
|
|
|
.if defined(HAVE_GNOME)
|
2000-10-07 17:50:41 +00:00
|
|
|
USE_GNOME= yes
|
2000-11-26 05:06:26 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-panel
|
2000-10-03 18:35:24 +00:00
|
|
|
.else
|
2000-10-07 17:50:41 +00:00
|
|
|
CONFIGURE_ARGS+= --disable-gnome
|
2000-10-05 07:22:56 +00:00
|
|
|
.endif
|
|
|
|
.if defined(HAVE_ESOUND)
|
2000-10-07 17:50:41 +00:00
|
|
|
USE_ESOUND= yes
|
2000-10-05 07:22:56 +00:00
|
|
|
.else
|
2000-10-07 17:50:41 +00:00
|
|
|
CONFIGURE_ARGS+= --disable-esd
|
2000-10-03 18:35:24 +00:00
|
|
|
.endif
|
|
|
|
|
2000-10-05 07:22:56 +00:00
|
|
|
pre-patch:
|
|
|
|
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
|
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
|
|
|
|
s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
|
|
|
|
s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
|
|
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
|
|
|
's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \
|
|
|
|
s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g'
|
1999-04-19 00:15:51 +00:00
|
|
|
|
2000-10-05 07:22:56 +00:00
|
|
|
.include <bsd.port.post.mk>
|