blob: e5f2ba6dce4abb983b4fd1f671b8ad11452bf390 (
plain) (
blame)
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
|
# Created by: Evan Sarmiento <bsdports@wayfair.com>
# $FreeBSD$
PORTNAME= carbon
PORTVERSION= 1.1.4
CATEGORIES= databases python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= swills@FreeBSD.org
COMMENT= Backend storage application for graphite
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cachetools>=1.1.0:devel/py-cachetools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}service_identity>=0:security/py-service_identity@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}txamqp>=0.3:net/py-txamqp@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}urllib3>=0:net/py-urllib3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}whisper>=0.9.10:databases/py-whisper@${PY_FLAVOR}
NO_ARCH= yes
USE_PYTHON= distutils
USES= python:2.7
USE_RC_SUBR= carbon
USE_GITHUB= yes
GH_ACCOUNT= graphite-project
MAKE_ENV= GRAPHITE_NO_PREFIX=yes
post-patch:
@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/setup.py
post-install:
${RM} -r ${STAGEDIR}${PREFIX}/examples/init.d
${RMDIR} ${STAGEDIR}${PREFIX}/examples
.include <bsd.port.mk>
|