1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/net-im/gicq/Makefile
Maxim Sobolev 4ca0e60800 -pthread --> ${PTHREAD_LIBS}
-D_THREAD_SAFE --> ${PTHREAD_CFLAGS}

Note: my first intention was to test this out on bento/beta, but per ade's
requiest I opted to do it quickly.
2001-03-29 16:35:19 +00:00

44 lines
1.0 KiB
Makefile

# New ports collection makefile for: gicq
# Date Created: 31 Oct 1998
# Whom: Seiichirou Hiraoka
#
# $FreeBSD$
#
PORTNAME= gicq
PORTVERSION= 0.33
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_LOCAL} \
ftp://ftp.korsoft.com/pub/gicq/
MASTER_SITE_SUBDIR= flathill
MAINTAINER= flathill@FreeBSD.org
LIB_DEPENDS= icq.0:${PORTSDIR}/net/libicq
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
USE_GTK= yes
WANT_GNOME= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
.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_LIBS}|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>