diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 2000-10-29 19:49:46 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 2000-10-29 19:49:46 +0000 |
commit | 5bdce633605d08c8b5eb6f644b80b777c935fd1c (patch) | |
tree | 4bc45774d2483652d9a668d5d6f1412e476a3ec0 /net/gnomeicu2/Makefile | |
parent | Upgrade to 4.0.1. (diff) |
= Update 0.93 -> 0.94.1
= Add WITH_DANTE knob to compile with Dante socks client support.
Notes
Notes:
svn path=/head/; revision=34412
Diffstat (limited to 'net/gnomeicu2/Makefile')
-rw-r--r-- | net/gnomeicu2/Makefile | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/net/gnomeicu2/Makefile b/net/gnomeicu2/Makefile index 124cd7d0d9f4..73e6c22941d2 100644 --- a/net/gnomeicu2/Makefile +++ b/net/gnomeicu2/Makefile @@ -6,12 +6,10 @@ # PORTNAME= gnomeicu -PORTVERSION= 0.93 +PORTVERSION= 0.94.1 CATEGORIES= net gnome -MASTER_SITES= ftp://gnomeicu.gdev.net/pub/gnomeicu/ \ - ftp://ftp.vision.net.au/ftp7/linuxberg/files/gnome/com/ \ - ftp://ftp.datacomm.ch/.3/linuxberg/files/gnome/com/ \ - ftp://ftp.proxad.net/mirrors/ftp.linuxberg.com/files/gnome/com/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= gnomeicu MAINTAINER= nectar@FreeBSD.org @@ -21,8 +19,23 @@ USE_X_PREFIX= yes USE_BZIP2= yes USE_GNOME= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib" +.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="${SOCKSLIBS}" \ + CFLAGS="${CFLAGS}" pre-patch: @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ |