pkgsrc-wip/gnunet/Makefile
Tobias Nygren d2ab3469b0 Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@
2008-01-18 04:30:10 +00:00

49 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.17 2008/01/18 04:30:13 tnn2 Exp $
#
DISTNAME= GNUnet-0.6.4a
PKGNAME= ${DISTNAME:S/GNU/gnu/}
PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://www.ovmj.org/GNUnet/download/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pancake@phreaker.net
HOMEPAGE= http://www.ovmj.org/GNUnet/
COMMENT= Framework for secure p2p networking
USE_TOOLS+= gmake msgfmt
GNU_CONFIGURE= yes
PLIST_SRC= ${WRKDIR}/PLIST.src
USE_LIBTOOL= yes
PTHREAD_OPTS= require native
LDFLAGS+= -lpthread -lintl
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
CONFIGURE_ARGS+= --with-extractor=${BUILDLINK_PREFIX.libextractor}
CONFIGURE_ARGS+= --without-gtk
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
post-patch:
cd ${WRKSRC} && for f in contrib/gnunet.* src/include/gnunet_util.h doc/man/*.?; do \
${ECHO} $$f && \
${SED} -e 's,/etc/gnunet\.conf,${PKG_SYSCONFDIR}/gnunet.conf,g' $$f >$$f.tmp && \
${MV} -f $$f.tmp $$f; \
done
${RM} -f ${WRKSRC}/src/util/generate_*_conf.c
post-build:
${CP} -f ${PKGDIR}/PLIST ${PLIST_SRC}
.for f in ${GNUNET_PLIST_ADD}
${ECHO} ${f:Q} >>${PLIST_SRC}
.endfor
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../devel/libextractor/buildlink3.mk"
.include "../../devel/libltdl/convenience.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"