1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/databases/py-carbon/Makefile
2017-10-18 14:58:13 +00:00

36 lines
897 B
Makefile

# Created by: Evan Sarmiento <bsdports@wayfair.com>
# $FreeBSD$
PORTNAME= carbon
PORTVERSION= 1.0.2
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}twisted>=0:devel/py-twisted \
${PYTHON_PKGNAMEPREFIX}txamqp>=0.3:net/py-txamqp \
${PYTHON_PKGNAMEPREFIX}whisper>=0.9.10:databases/py-whisper \
${PYTHON_PKGNAMEPREFIX}django18>=1.4:www/py-django18
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>