blob: 6bd06d164f9d0efe26fd57f7f52a8211f87f7bff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# $NetBSD: Makefile,v 1.5 2016/07/09 13:03:35 wiz Exp $
#
DISTNAME= CouchDB-0.9
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_PYPI:=C/CouchDB/}
MAINTAINER= kamelderouiche@yahoo.com
HOMEPAGE= http://code.google.com/p/couchdb-python/
COMMENT= Couchdb python library
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-simplejson>=2.0.9:../../converters/py-simplejson
DEPENDS+= ${PYPKGPREFIX}-httplib2>=0.5.0:../../www/py-httplib2
PYTHON_VERSIONS_INCOMPATIBLE= 34 35
USE_LANGUAGES= # none
INSTALLATION_DIRS+= share/doc/py-couchdb
REPLACE_PYTHON+= couchdb/http.py couchdb/json.py
REPLACE_PYTHON+= couchdb/tests/couch_tests.py couchdb/tools/dump.py
REPLACE_PYTHON+= couchdb/tools/load.py couchdb/tools/replicate.py
REPLACE_PYTHON+= couchdb/tools/replication_helper.py
REPLACE_PYTHON+= couchdb/tools/replication_helper_test.py
REPLACE_PYTHON+= couchdb/view.py
PY_PATCHPLIST= yes
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/*.rst \
${DESTDIR}${PREFIX}/share/doc/py-couchdb
${MV} ${DESTDIR}${PREFIX}/bin/couchdb-dump \
${DESTDIR}${PREFIX}/bin/couchdb-dump${PYVERSSUFFIX}
${MV} ${DESTDIR}${PREFIX}/bin/couchdb-load \
${DESTDIR}${PREFIX}/bin/couchdb-load${PYVERSSUFFIX}
${MV} ${DESTDIR}${PREFIX}/bin/couchdb-replicate \
${DESTDIR}${PREFIX}/bin/couchdb-replicate${PYVERSSUFFIX}
${MV} ${DESTDIR}${PREFIX}/bin/couchpy \
${DESTDIR}${PREFIX}/bin/couchpy${PYVERSSUFFIX}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|