1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/net/gicq/Makefile
Joe Marcus Clarke f00fa3e01d Use gnomehack in the default case. This fixes make patch when GNOME is
not present.

Submitted by:	bento
2002-09-23 17:11:57 +00:00

46 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_GNOMENG= yes
USE_GNOME= gtk12 gnomehack
WANT_GNOME= yes
USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mgnomelibs}!=""
USE_GNOME+= gnomeprefix gnomelibs
PKGNAMESUFFIX= -gnome
PLIST_SUB= DATADIR="share/gnome"
.else
CONFIGURE_ARGS+=--without-gnome
PLIST_SUB= DATADIR="share"
.endif
post-patch:
@${REINPLACE_CMD} -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
.include <bsd.port.post.mk>