aboutsummaryrefslogtreecommitdiff
path: root/net/gnunet/Makefile
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-07-06 01:03:06 +0000
committerPatrick Li <pat@FreeBSD.org>2002-07-06 01:03:06 +0000
commitb700a202789dac8ed10a269966658d23b3635699 (patch)
treee0f5a8480604a3cf47ccbd235a6241fdcda966bd /net/gnunet/Makefile
parent9e2f597d19e8da17010eeeabe95ace12ff910d0c (diff)
Notes
Diffstat (limited to 'net/gnunet/Makefile')
-rw-r--r--net/gnunet/Makefile28
1 files changed, 15 insertions, 13 deletions
diff --git a/net/gnunet/Makefile b/net/gnunet/Makefile
index f30abc7ccc77..fa97c6313885 100644
--- a/net/gnunet/Makefile
+++ b/net/gnunet/Makefile
@@ -7,29 +7,31 @@
#
PORTNAME= gnunet
-PORTVERSION= 0.3.2
+PORTVERSION= 0.4.2
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_GNU} \
- http://gecko.cs.purdue.edu/gnunet/
-MASTER_SITE_SUBDIR= gnunet
+MASTER_SITES= ${MASTER_SITE_GNU}
+MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= GNUnet-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-BUILD_DEPENDS= automake14:${PORTSDIR}/devel/automake14 \
- autoconf213:${PORTSDIR}/devel/autoconf213
+LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm
USE_BZIP2= yes
USE_OPENSSL= yes
USE_GTK= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
-do-configure:
- @(cd ${WRKSRC} ; \
- ${ACLOCAL} ; \
- ${AUTOCONF} ; \
- ${AUTOHEADER} ; \
- ${AUTOMAKE} -a ; \
- ${CONFIGURE_SCRIPT})
+MAN1= gnunet-download.1 gnunet-gtk.1 gnunet-insert-multi.1 \
+ gnunet-insert.1 gnunet-search.1 gnunetd.1
+MAN5= gnunet.conf.5
+
+post-patch:
+ @${REINPLACE_CMD} 's|-pthread [\$$]CFLAGS|\$$CFLAGS|g ; \
+ s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
.include <bsd.port.mk>