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$
|
2007-10-25 01:37:25 +02:00
|
|
|
# $MCom: ports/net-im/gnomeicu/Makefile,v 1.2 2007/05/19 21:36:18 marcus Exp $
|
1998-10-19 16:36:42 +02:00
|
|
|
|
2006-05-28 21:41:22 +02:00
|
|
|
PORTNAME= gnomeicu
|
2008-04-16 17:30:47 +02:00
|
|
|
PORTVERSION= 0.99.14
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 2
|
2005-11-09 09:21:21 +01:00
|
|
|
CATEGORIES= net-im gnome
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
MASTER_SITES= SF
|
1998-10-19 16:36:42 +02:00
|
|
|
|
2001-05-11 18:36:50 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2006-12-12 09:44:29 +01:00
|
|
|
COMMENT= GNOME 2 ICQ client
|
1999-03-19 23:29:54 +01:00
|
|
|
|
2004-04-05 06:18:55 +02:00
|
|
|
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm
|
2002-04-15 19:05:52 +02:00
|
|
|
|
2002-04-10 18:09:30 +02:00
|
|
|
USE_BZIP2= yes
|
2004-11-23 03:23:08 +01:00
|
|
|
INSTALLS_OMF= yes
|
2006-12-12 09:44:29 +01:00
|
|
|
USE_GNOME= gnomeprefix gnomehack libglade2 gnomepanel libxml2 \
|
2006-05-01 15:41:07 +02:00
|
|
|
intlhack
|
2004-04-05 06:18:55 +02:00
|
|
|
USE_GMAKE= yes
|
2006-05-16 00:23:04 +02:00
|
|
|
USE_GETTEXT= yes
|
2006-12-12 09:44:29 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-11-23 20:33:08 +01:00
|
|
|
|
|
|
|
GCONF_SCHEMAS= gnomeicu.schemas
|
|
|
|
|
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
|
|
|
|
2004-04-05 06:18:55 +02:00
|
|
|
.ifndef(WITHOUT_GTKSPELL)
|
2006-05-28 17:54:10 +02:00
|
|
|
LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell
|
2004-04-05 06:18:55 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-gtkspell
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-gtkspell
|
|
|
|
.endif
|
|
|
|
|
2002-07-20 14:17:07 +02:00
|
|
|
post-patch:
|
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>
|