1 # $NetBSD: Makefile,v 1.14 2012/10/03 16:08:33 asau Exp $
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
/
11 #MASTER_SITES+= http://tahoe-lafs.org/source/tahoe-lafs/tarballs/
12 EXTRACT_SUFX
= .
tar.bz2
15 MAINTAINER
= gdt@NetBSD.org
16 HOMEPAGE
= http
://tahoe-lafs.org
/
17 COMMENT
= Distributed fault-tolerant least-authority filesystem
22 # $WRKDIR/Makefile has 'python' hardcoded; this works after hand-patching
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
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
54 ${ECHO} "Fixing distfile contents to be world readable:"
58 REPLACE_PYTHON
+= src
/allmydata
/reliability.py
59 REPLACE_PYTHON
+= src
/allmydata
/storage
/shares.py
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"