1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/net-im/gnomeicu/Makefile
Jeremy Messenger d1de27b382 net-im/gnomeicu2 -> net-im/gnomeicu
Rename this ports to use the real vendor package name. The advantage of this
is to allow our users' keyword search works and easier for users to file the
Bugzilla report when they use our name of ports. Debian, Gentoo, NetBSD and
other OSs have the correct package name, but not in our ports tree.

My team, FreeBSD GNOME Team, have agreed with it.

As for x11/gnome2-fifth-toe, chase the rename.

PR:		ports/97985
Repocopy by:	marcus
2006-05-28 19:41:22 +00:00

64 lines
1.8 KiB
Makefile

# Ports collection Makefile for: GnomeICU
# Date created: 03/16/1999
# Whom: nectar@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= gnomeicu
PORTVERSION= 0.99.10
CATEGORIES= net-im gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gnomeicu
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME2 ICQ client
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm
USE_BZIP2= yes
USE_X_PREFIX= yes
INSTALLS_OMF= yes
USE_GNOME= gnomeprefix gnomehack libglade2 gnomepanel lthack libxml2 \
intlhack
USE_GMAKE= yes
USE_GETTEXT= yes
USE_AUTOTOOLS= libtool:15
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}"
.ifndef(WITHOUT_GTKSPELL)
LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell
CONFIGURE_ARGS+=--enable-gtkspell
.else
CONFIGURE_ARGS+=--disable-gtkspell
.endif
post-patch:
@${REINPLACE_CMD} -e 's|GNOME_PARAM_GNOME_DATADIR|GNOME_PARAM_APP_DATADIR|g' \
${WRKSRC}/src/gnomeicu.c
.include <bsd.port.mk>