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