38 lines
942 B
Makefile
38 lines
942 B
Makefile
# $OpenBSD: Makefile,v 1.16 2019/11/06 16:16:23 pvk Exp $
|
|
|
|
COMMENT = network event stream processing system
|
|
|
|
V = 0.3.4
|
|
DISTNAME = riemann-${V}
|
|
CATEGORIES = sysutils
|
|
|
|
HOMEPAGE = http://riemann.io
|
|
|
|
MAINTAINER = Pavel Korovin <pvk@openbsd.org>
|
|
|
|
# Eclipse Public License Version 1.0 (http://www.eclipse.org/legal/epl-v10.html)
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MASTER_SITES = https://github.com/riemann/riemann/releases/download/${V}/
|
|
|
|
EXTRACT_SUFX = .tar.bz2
|
|
|
|
MODULES = java
|
|
MODJAVA_VER = 1.8+
|
|
|
|
RUN_DEPENDS = java/javaPathHelper \
|
|
lang/clojure
|
|
|
|
NO_BUILD = Yes
|
|
NO_TEST = Yes
|
|
|
|
do-install:
|
|
${SUBST_CMD} ${WRKSRC}/bin/riemann ${WRKSRC}/etc/riemann.config
|
|
${INSTALL_DATA_DIR} ${PREFIX}/{bin,lib/riemann,share/examples/riemann}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/riemann ${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/lib/riemann.jar ${PREFIX}/lib/riemann
|
|
${INSTALL_DATA} ${WRKSRC}/etc/riemann.config \
|
|
${PREFIX}/share/examples/riemann
|
|
|
|
.include <bsd.port.mk>
|