freebsd-ports/net/gicq/Makefile

46 lines
1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: gicq
# Date Created: 31 Oct 1998
# Whom: Seiichirou Hiraoka
#
1999-08-30 16:24:37 +02:00
# $FreeBSD$
#
PORTNAME= gicq
PORTVERSION= 0.33
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_LOCAL} \
2000-01-25 19:21:15 +01:00
ftp://ftp.korsoft.com/pub/gicq/
MASTER_SITE_SUBDIR= flathill
MAINTAINER= flathill@FreeBSD.org
2000-10-05 09:22:56 +02:00
LIB_DEPENDS= icq.0:${PORTSDIR}/net/libicq
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
USE_GNOMENG= yes
USE_GNOME= gtk12 gnomehack
2000-10-05 09:22:56 +02:00
WANT_GNOME= yes
USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
2000-10-05 09:22:56 +02:00
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mgnomelibs}!=""
USE_GNOME+= gnomeprefix gnomelibs
PKGNAMESUFFIX= -gnome
PLIST_SUB= DATADIR="share/gnome"
2000-10-05 09:22:56 +02:00
.else
CONFIGURE_ARGS+=--without-gnome
PLIST_SUB= DATADIR="share"
2000-10-05 09:22:56 +02:00
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
2000-10-05 09:22:56 +02: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
.include <bsd.port.post.mk>