1998-11-19 07:09:00 +00:00
|
|
|
# New ports collection makefile for: gicq
|
1999-03-15 19:59:24 +00:00
|
|
|
# Date Created: 31 Oct 1998
|
|
|
|
# Whom: Seiichirou Hiraoka
|
1998-11-19 07:09:00 +00:00
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1998-11-19 07:09:00 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 18:14:07 +00:00
|
|
|
PORTNAME= gicq
|
|
|
|
PORTVERSION= 0.33
|
1998-11-19 07:09:00 +00:00
|
|
|
CATEGORIES= net
|
2000-06-29 07:03:02 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
2000-01-25 18:21:15 +00:00
|
|
|
ftp://ftp.korsoft.com/pub/gicq/
|
2000-06-29 07:03:02 +00:00
|
|
|
MASTER_SITE_SUBDIR= flathill
|
1998-11-19 07:09:00 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= flathill@FreeBSD.org
|
1998-11-19 07:09:00 +00:00
|
|
|
|
2000-10-05 07:22:56 +00:00
|
|
|
LIB_DEPENDS= icq.0:${PORTSDIR}/net/libicq
|
1999-05-29 03:56:15 +00:00
|
|
|
|
1998-11-19 07:09:00 +00:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2000-10-05 07:22:56 +00:00
|
|
|
USE_GTK= yes
|
|
|
|
WANT_GNOME= yes
|
1999-05-29 03:56:15 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1998-11-19 07:09:00 +00:00
|
|
|
|
2000-10-05 07:22:56 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(HAVE_GNOME)
|
|
|
|
USE_GNOME= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--without-gnome
|
|
|
|
.endif
|
|
|
|
|
|
|
|
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'
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|