Makefile 915 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # $OpenBSD: Makefile,v 1.5 2017/05/27 19:57:07 ajacoutot Exp $
  2. COMMENT = time series data visualization and graphing software
  3. DISTNAME = facette-0.3.1pre0
  4. GH_ACCOUNT = facette
  5. GH_PROJECT = facette
  6. GH_COMMIT = 62f4bd9058f26e7f8ee800b925e4c76731b5b955
  7. REVISION = 2
  8. CATEGORIES = sysutils
  9. HOMEPAGE = https://facette.io
  10. DISTFILES = ${DISTNAME}${EXTRACT_SUFX}{${GH_COMMIT}${EXTRACT_SUFX}} \
  11. facette-0.3.1-node_modules${EXTRACT_SUFX}:0
  12. MASTER_SITES0 = https://rhaalovely.net/stuff/
  13. # BSD
  14. PERMIT_PACKAGE_CDROM = Yes
  15. BUILD_DEPENDS = lang/go \
  16. textproc/gsed \
  17. lang/node
  18. LIB_DEPENDS = net/rrdtool
  19. WANTLIB += c pthread rrd
  20. PORTHOME = ${WRKDIR}
  21. MAKE_ENV = CGO_LDFLAGS="-Wl,-rpath -Wl,${X11BASE}/lib"
  22. USE_GMAKE = Yes
  23. post-patch:
  24. ln -s ${WRKDIR}/node_modules ${WRKSRC}/node_modules
  25. ${SUBST_CMD} ${WRKSRC}/docs/examples/providers/collectd.json \
  26. ${WRKSRC}/docs/examples/facette.json
  27. .include <bsd.port.mk>