Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / filesystems / tahoe-lafs / Makefile
blob37671e46b2e9a93e663bf305484919306bfb3a18
1 # $NetBSD: Makefile,v 1.14 2012/10/03 16:08:33 asau Exp $
4 VERSION= 1.10.0
5 DISTNAME= allmydata-tahoe-${VERSION}
6 EGG_NAME= allmydata_tahoe-${VERSION}
7 PKGNAME= tahoe-lafs-${VERSION}
8 CATEGORIES= filesystems
9 MASTER_SITES= https://tahoe-lafs.org/source/tahoe-lafs/releases/
10 #for beta, add
11 #MASTER_SITES+= http://tahoe-lafs.org/source/tahoe-lafs/tarballs/
12 EXTRACT_SUFX= .tar.bz2
13 FETCH_USING= curl
15 MAINTAINER= gdt@NetBSD.org
16 HOMEPAGE= http://tahoe-lafs.org/
17 COMMENT= Distributed fault-tolerant least-authority filesystem
18 LICENSE= gnu-gpl-v2
20 USE_TOOLS= gmake
22 # $WRKDIR/Makefile has 'python' hardcoded; this works after hand-patching
23 TEST_TARGET= test
25 # TODO
26 # fix nevow: doc location
28 # Included egg darcsver, but depend anyway.
29 BUILD_DEPENDS+= ${PYPKGPREFIX}-darcsver-[0-9]*:../../devel/py-darcsver
31 DEPENDS+= ${PYPKGPREFIX}-zfec-[0-9]*:../../converters/py-zfec
32 DEPENDS+= ${PYPKGPREFIX}-zbase32-[0-9]*:../../converters/py-zbase32
33 DEPENDS+= ${PYPKGPREFIX}-simplejson-[0-9]*:../../converters/py-simplejson
34 DEPENDS+= ${PYPKGPREFIX}-sqlite2-[0-9]*:../../databases/py-sqlite2
35 DEPENDS+= ${PYPKGPREFIX}-argparse-[0-9]*:../../devel/py-argparse
36 DEPENDS+= ${PYPKGPREFIX}-pyutil-[0-9]*:../../devel/py-pyutil
37 DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
38 # Included egg setuptools_trial, not used.
39 # Included egg setuptools_darcs, used (no package yet).
40 DEPENDS+= ${PYPKGPREFIX}-foolscap>=0.6.3:../../net/py-foolscap
41 DEPENDS+= ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
42 DEPENDS+= ${PYPKGPREFIX}-asn1-[0-9]*:../../security/py-asn1
43 DEPENDS+= ${PYPKGPREFIX}-crypto-[0-9]*:../../security/py-crypto
44 DEPENDS+= ${PYPKGPREFIX}-cryptopp-[0-9]*:../../security/py-cryptopp
45 DEPENDS+= ${PYPKGPREFIX}-OpenSSL-[0-9]*:../../security/py-OpenSSL
46 DEPENDS+= ${PYPKGPREFIX}-nevow-[0-9]*:../../www/py-nevow
48 #1.9.1 seems ok
49 #BAD_DISTFILE_MODES=yes
50 .if defined(BAD_DISTFILE_MODES)
51 # Distfile has files mode 600, which leads to root-owned 600 files in
52 # the binary package.
53 post-extract:
54 ${ECHO} "Fixing distfile contents to be world readable:"
55 chmod -R +r ${WRKSRC}
56 .endif
58 REPLACE_PYTHON+= src/allmydata/reliability.py
59 REPLACE_PYTHON+= src/allmydata/storage/shares.py
61 PKG_GROUPS= tahoes
62 PKG_USERS= tahoes:tahoes::tahoe\ server
64 .include "../../lang/python/application.mk"
65 .include "../../lang/python/egg.mk"
66 .include "../../mk/bsd.pkg.mk"