freebsd-ports/net-im/gicq/Makefile

44 lines
1.0 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: gicq
# Date Created: 31 Oct 1998
# Whom: Seiichirou Hiraoka
#
1999-08-30 10:24:37 -04:00
# $FreeBSD$
#
PORTNAME= gicq
PORTVERSION= 0.33
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_LOCAL} \
2000-01-25 13:21:15 -05:00
ftp://ftp.korsoft.com/pub/gicq/
MASTER_SITE_SUBDIR= flathill
MAINTAINER= flathill@FreeBSD.org
2000-10-05 03:22:56 -04:00
LIB_DEPENDS= icq.0:${PORTSDIR}/net/libicq
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
2000-10-05 03:22:56 -04:00
USE_GTK= yes
WANT_GNOME= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
2000-10-05 03:22:56 -04: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>