1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/net-im/gnomeicu/Makefile
Joe Marcus Clarke d0314a27e2 Add missing dependency on gnomepanel.
Submitted by:	bento
2002-09-18 18:46:39 +00:00

57 lines
1.7 KiB
Makefile

# Ports collection Makefile for: GnomeICU
# Date created: 03/16/1999
# Whom: nectar@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= gnomeicu2
PORTVERSION= 0.98.111
CATEGORIES= net gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gnomeicu
DISTNAME= gnomeicu-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
LIB_DEPENDS+= glade-2.0.0:${PORTSDIR}/devel/libglade2 \
panel-applet-2.0:${PORTSDIR}/x11/gnomepanel \
xml2.5:${PORTSDIR}/textproc/libxml2 \
gnet.1:${PORTSDIR}/net/gnet \
gdbm.2:${PORTSDIR}/databases/gdbm
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GNOMENG= yes
USE_GNOME= gnomeprefix gnomehack
USE_GMAKE= yes
USE_LIBTOOL= yes
.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}"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
.include <bsd.port.mk>