freebsd-ports/net-im/gnomeicu/Makefile

63 lines
1.8 KiB
Makefile
Raw Normal View History

# Ports collection Makefile for: GnomeICU
# Date created: 03/16/1999
# Whom: nectar@FreeBSD.org
#
1999-08-30 16:24:37 +02:00
# $FreeBSD$
# $MCom: ports/net-im/gnomeicu/Makefile,v 1.2 2007/05/19 21:36:18 marcus Exp $
PORTNAME= gnomeicu
PORTVERSION= 0.99.14
PORTREVISION= 2
CATEGORIES= net-im gnome
MASTER_SITES= SF
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
USE_BZIP2= yes
INSTALLS_OMF= yes
2006-12-12 09:44:29 +01:00
USE_GNOME= gnomeprefix gnomehack libglade2 gnomepanel libxml2 \
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
GCONF_SCHEMAS= gnomeicu.schemas
.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
.elif defined(WITH_SOCKS5)
BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
SOCKSFLAGS= -DSOCKS -include ${LOCALBASE}/include/socks.h
SOCKSLIBS= -lsocks5
.endif
CONFIGURE_ARGS= --with-statusmenu
CONFIGURE_ENV= CPPFLAGS="${SOCKSFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" LIBS="-liconv ${SOCKSLIBS} -lintl" \
CFLAGS="${CFLAGS}"
2004-04-05 06:18:55 +02:00
.ifndef(WITHOUT_GTKSPELL)
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
.include <bsd.port.mk>