diff options
author | fjoe <fjoe@FreeBSD.org> | 2003-06-02 23:37:31 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2003-06-02 23:37:31 +0800 |
commit | 62c40261c918cd119c5d0b6ff1ba23df44c4631f (patch) | |
tree | 5353757e324a83faf746f910b9a11f3b805e6c82 /net-p2p/gnunet/Makefile | |
parent | afc609328d2535bba7e97facb6e42a572102dba6 (diff) | |
download | freebsd-ports-gnome-62c40261c918cd119c5d0b6ff1ba23df44c4631f.tar.gz freebsd-ports-gnome-62c40261c918cd119c5d0b6ff1ba23df44c4631f.tar.zst freebsd-ports-gnome-62c40261c918cd119c5d0b6ff1ba23df44c4631f.zip |
Update to 0.5.4.
Change MAINTAINER to Kirill Ponomarew <ponomarew@oberon.net>.
PR: 52688
Submitted by: Kirill Ponomarew
Diffstat (limited to 'net-p2p/gnunet/Makefile')
-rw-r--r-- | net-p2p/gnunet/Makefile | 59 |
1 files changed, 49 insertions, 10 deletions
diff --git a/net-p2p/gnunet/Makefile b/net-p2p/gnunet/Makefile index acdffef5e30e..421bcf0a7f81 100644 --- a/net-p2p/gnunet/Makefile +++ b/net-p2p/gnunet/Makefile @@ -7,34 +7,73 @@ # PORTNAME= gnunet -PORTVERSION= 0.5.1a +PORTVERSION= 0.5.4 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_GNU} \ http://www.ovmj.org/GNUnet/download/ MASTER_SITE_SUBDIR= ${PORTNAME} DISTNAME= GNUnet-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ponomarew@oberon.net COMMENT= An anonymous, distributed, reputation-based network -LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm - +USE_LIBTOOL= yes +INSTALLS_SHLIB= yes +USE_GMAKE= yes +USE_REINPLACE= yes USE_BZIP2= yes USE_OPENSSL= yes USE_GNOME= gtk12 -USE_REINPLACE= yes -USE_GMAKE= yes -USE_LIBTOOL= yes +GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -INSTALLS_SHLIB= yes -MAN1= gnunet-chat.1 gnunet-check.1 gnunet-download.1 gnunet-gtk.1 \ +.if defined(WITH_GDBM) +LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm +PLIST_SUB+= WITH_GDBM="" +.else +CONFIGURE_ARGS+= --without-gdbm +PLIST_SUB+= WITH_GDBM="@comment " +.endif + +.if defined(WITH_MYSQL) +LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client +.else +CONFIGURE_ARGS+= --without-mysql +.endif + +.if defined(WITH_TDB) +LIB_DEPENDS+= tdb.1:${PORTSDIR}/databases/tdb +PLIST_SUB+= WITH_TDB="" +.else +CONFIGURE_ARGS+= --without-tdb +PLIST_SUB+= WITH_TDB="@comment " +.endif + +.if defined(WITH_BDB3) +LIB_DEPENDS+= db3:${PORTSDIR}/databases/db3 +CONFIGURE_ARGS+= --with-bdb=${LOCALBASE} +.else +CONFIGURE_ARGS+= --without-bdb +.endif + +MAN1= gnunet-chat.1 gnunet-check.1 gnunet-convert.1 \ + gnunet-delete.1 gnunet-download.1 gnunet-gtk.1 \ gnunet-insert-multi.1 gnunet-insert.1 gnunet-search.1 \ - gnunet-tbench.1 gnunetd.1 + gnunet-tbench.1 gnunet-tracekit.1 \ + gnunet-transport-check.1 gnunetd.1 MAN5= gnunet.conf.5 +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} "You can build GNUnet with the following options:" + @${ECHO_MSG} " WITH_MYSQL=yes Turn on MySQL support" + @${ECHO_MSG} " WITH_TDB=yes Turn on TDB support" + @${ECHO_MSG} " WITH_BDB41=yes Turn on Berkely DB library support" + @${ECHO_MSG} " WITH_GDBM=yes Turn on GNU dbm support" + @${ECHO_MSG} "" + post-patch: @${REINPLACE_CMD} -e \ 's|-pthread [\$$]CFLAGS|${PTHREAD_CFLAGS} \$$CFLAGS|g ; \ |