1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/net-im/gnomeicu/Makefile
Akinori MUSHA 89b567a160 Unbreak net/gnomeicu by adding libiconv dependency.
Retire japanese/gnomeicu, as gnomeicu now includes Japanese support
out-of-the-box.  The Japanese support code has been committed over
the gnomeicu source tree by the patchkit author Takuo KITAME
<kitame@northeye.org> himself.  Yay!

Approved by:	nectar (MAINTAINER)
2000-11-02 14:39:36 +00:00

49 lines
1.4 KiB
Makefile

# Ports collection Makefile for: GnomeICU
# Date created: 03/16/1999
# Whom: nectar@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= gnomeicu
PORTVERSION= 0.94.1
CATEGORIES= net gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gnomeicu
MAINTAINER= nectar@FreeBSD.org
LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm \
iconv.1:${PORTSDIR}/converters/iconv
USE_X_PREFIX= yes
USE_BZIP2= yes
USE_GNOME= yes
GNU_CONFIGURE= 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
.endif
CONFIGURE_ARGS= --with-statusmenu
CONFIGURE_ENV= CPPFLAGS="${SOCKSFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" LIBS="-liconv ${SOCKSLIBS}" \
CFLAGS="${CFLAGS}"
pre-patch:
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
.include <bsd.port.mk>