1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/net/gaim/Makefile

54 lines
1.2 KiB
Makefile
Raw Normal View History

# 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-08-30 14:24:37 +00:00
# $FreeBSD$
#
2000-10-07 17:50:41 +00:00
PORTNAME= gaim
2001-03-24 15:56:45 +00:00
PORTVERSION= 0.11.0pre8
2000-10-07 17:50:41 +00:00
CATEGORIES= net
MASTER_SITES= ftp://ftp.marko.net/pub/gaim/ \
${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
2000-10-07 17:50:41 +00:00
MAINTAINER= jim@FreeBSD.org
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"
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-05 07:22:56 +00:00
.if defined(HAVE_GNOME)
2000-10-07 17:50:41 +00:00
USE_GNOME= yes
2001-03-21 20:54:57 +00:00
RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
CONFIGURE_ARGS+= --enable-panel
.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
.endif
2000-10-05 07:22:56 +00:00
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
2000-10-05 07:22:56 +00:00
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'
2000-10-05 07:22:56 +00:00
.include <bsd.port.post.mk>