1999-03-18 22:32:43 +00:00
|
|
|
# Ports collection Makefile for: GnomeICU
|
|
|
|
# Date created: 03/16/1999
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: nectar@FreeBSD.org
|
1998-10-19 14:36:42 +00:00
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1998-10-19 14:36:42 +00:00
|
|
|
#
|
|
|
|
|
2000-10-03 09:28:27 +00:00
|
|
|
PORTNAME= gnomeicu
|
2001-03-01 22:46:28 +00:00
|
|
|
PORTVERSION= 0.96.1
|
2000-10-03 09:28:27 +00:00
|
|
|
CATEGORIES= net gnome
|
2000-10-29 19:49:46 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= gnomeicu
|
1998-10-19 14:36:42 +00:00
|
|
|
|
2000-10-03 09:28:27 +00:00
|
|
|
MAINTAINER= nectar@FreeBSD.org
|
1999-03-19 22:29:54 +00:00
|
|
|
|
2000-11-02 14:39:36 +00:00
|
|
|
LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm \
|
2000-11-29 11:46:42 +00:00
|
|
|
iconv.2:${PORTSDIR}/converters/iconv
|
1998-10-19 14:36:42 +00:00
|
|
|
|
2000-10-03 09:28:27 +00:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_BZIP2= yes
|
2000-10-05 07:17:31 +00:00
|
|
|
USE_GNOME= yes
|
2000-10-03 09:28:27 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2000-10-29 19:49:46 +00: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
|
|
|
|
.endif
|
|
|
|
|
|
|
|
CONFIGURE_ARGS= --with-statusmenu
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${SOCKSFLAGS} -I${LOCALBASE}/include" \
|
2000-11-02 14:39:36 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" LIBS="-liconv ${SOCKSLIBS}" \
|
2000-10-29 19:49:46 +00:00
|
|
|
CFLAGS="${CFLAGS}"
|
1998-10-19 14:36:42 +00:00
|
|
|
|
2000-08-04 16:11:37 +00:00
|
|
|
pre-patch:
|
2001-03-29 16:35:19 +00:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-08-04 02:50:51 +00:00
|
|
|
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'
|
|
|
|
|
1998-10-19 14:36:42 +00:00
|
|
|
.include <bsd.port.mk>
|