1999-03-18 23:32:43 +01:00
|
|
|
# Ports collection Makefile for: GnomeICU
|
|
|
|
# Date created: 03/16/1999
|
1999-08-31 08:53:31 +02:00
|
|
|
# Whom: nectar@FreeBSD.org
|
1998-10-19 16:36:42 +02:00
|
|
|
#
|
1999-08-30 16:24:37 +02:00
|
|
|
# $FreeBSD$
|
1998-10-19 16:36:42 +02:00
|
|
|
#
|
|
|
|
|
2002-09-11 11:42:06 +02:00
|
|
|
PORTNAME= gnomeicu2
|
2003-04-04 09:42:23 +02:00
|
|
|
PORTVERSION= 0.99
|
2004-02-04 06:10:27 +01:00
|
|
|
PORTREVISION= 1
|
2000-10-03 11:28:27 +02:00
|
|
|
CATEGORIES= net gnome
|
2000-10-29 20:49:46 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2002-04-10 18:09:30 +02:00
|
|
|
MASTER_SITE_SUBDIR= gnomeicu
|
2002-09-11 11:42:06 +02:00
|
|
|
DISTNAME= gnomeicu-${PORTVERSION}
|
1998-10-19 16:36:42 +02:00
|
|
|
|
2001-05-11 18:36:50 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-02-23 18:49:26 +01:00
|
|
|
COMMENT= GNOME2 ICQ client
|
1999-03-19 23:29:54 +01:00
|
|
|
|
2003-04-22 06:46:36 +02:00
|
|
|
LIB_DEPENDS+= gnet-glib2.7:${PORTSDIR}/net/gnet-glib2 \
|
2003-01-03 09:26:35 +01:00
|
|
|
gdbm.3:${PORTSDIR}/databases/gdbm
|
2002-04-15 19:05:52 +02:00
|
|
|
|
2002-04-10 18:09:30 +02:00
|
|
|
USE_BZIP2= yes
|
2000-10-03 11:28:27 +02:00
|
|
|
USE_X_PREFIX= yes
|
2003-04-22 06:46:36 +02:00
|
|
|
USE_GNOME= gnomeprefix gnomehack libglade2 gnomepanel libxml2
|
2001-12-29 05:07:34 +01:00
|
|
|
USE_GMAKE= yes
|
2002-09-11 11:42:06 +02:00
|
|
|
USE_LIBTOOL= yes
|
2003-11-17 13:03:17 +01:00
|
|
|
USE_REINPLACE= yes
|
2000-10-29 20:49:46 +01:00
|
|
|
.if defined(WITH_DANTE)
|
|
|
|
LIB_DEPENDS+= socks.1:${PORTSDIR}/net/dante
|
|
|
|
SOCKSFLAGS= -Dconnect=Rconnect -Dbind=Rbind -Dgetsockname=Rgetsockname \
|
|
|
|
-Dgetpeername=Rgetpeername -Daccept=Raccept \
|
|
|
|
-Drresvport=Rrresvport -Dbindresvport=Rbindresvport \
|
|
|
|
-Dgethostbyname=Rgethostbyname \
|
|
|
|
-Dgethostbyname2=Rgethostbyname2 -Dsendto=Rsendto \
|
|
|
|
-Drecvfrom=Rrecvfrom -Drecvfrom=Rrecvfrom -Dwrite=Rwrite \
|
|
|
|
-Dwritev=Rwritev -Dsend=Rsend -Dsendmsg=Rsendmsg \
|
|
|
|
-Dread=Rread -Dreadv=Rreadv -Drecv=Rrecv -Drecvmsg=Rrecvmsg
|
|
|
|
SOCKSLIBS= -lsocks
|
2001-12-29 05:07:34 +01:00
|
|
|
.elif defined(WITH_SOCKS5)
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
|
|
|
|
SOCKSFLAGS= -DSOCKS -include ${LOCALBASE}/include/socks.h
|
|
|
|
SOCKSLIBS= -lsocks5
|
2000-10-29 20:49:46 +01:00
|
|
|
.endif
|
|
|
|
|
2002-04-10 18:09:30 +02:00
|
|
|
CONFIGURE_ARGS= --with-statusmenu
|
2000-10-29 20:49:46 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${SOCKSFLAGS} -I${LOCALBASE}/include" \
|
2002-09-11 11:42:06 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" LIBS="-liconv ${SOCKSLIBS} -lintl" \
|
2002-04-12 19:10:20 +02:00
|
|
|
CFLAGS="${CFLAGS}"
|
1998-10-19 16:36:42 +02:00
|
|
|
|
2002-07-20 14:17:07 +02:00
|
|
|
post-patch:
|
2003-06-12 11:46:09 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|gnet|gnet-glib2|g' ${WRKSRC}/configure
|
2003-04-04 09:42:23 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|GNOME_PARAM_GNOME_DATADIR|GNOME_PARAM_APP_DATADIR|g' \
|
|
|
|
${WRKSRC}/src/gnomeicu.c
|
2000-08-04 04:50:51 +02:00
|
|
|
|
1998-10-19 16:36:42 +02:00
|
|
|
.include <bsd.port.mk>
|