Makefile 859 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # $OpenBSD: Makefile,v 1.7 2017/05/16 19:31:34 landry Exp $
  2. COMMENT= backend data caching and persistence daemon for Graphite
  3. MODPY_EGG_VERSION= 0.9.15
  4. DISTNAME= carbon-${MODPY_EGG_VERSION}
  5. PKGNAME= py-${DISTNAME}
  6. CATEGORIES= databases
  7. REVISION= 1
  8. # Apache
  9. PERMIT_PACKAGE_CDROM= Yes
  10. MODULES= lang/python
  11. MODPY_PI = Yes
  12. BUILD_DEPENDS= ${RUN_DEPENDS}
  13. RUN_DEPENDS= databases/py-whisper \
  14. devel/py-twisted
  15. BIN_FILES= carbon-aggregator.py carbon-cache.py carbon-client.py \
  16. carbon-relay.py validate-storage-schemas.py
  17. .for b in ${BIN_FILES}
  18. MODPY_ADJ_FILES+= bin/$b
  19. .endfor
  20. GRAPHITE_EGDIR= ${PREFIX}/share/examples/graphite/
  21. SUBST_VARS+= GRAPHITE_EGDIR MODPY_SITEPKG
  22. NO_TEST= Yes
  23. pre-configure:
  24. ${SUBST_CMD} ${WRKSRC}/setup.{cfg,py} ${WRKSRC}/lib/carbon/conf.py \
  25. ${WRKSRC}/bin/validate-storage-schemas.py
  26. .include <bsd.port.mk>