diff --git a/sysutils/Makefile b/sysutils/Makefile index a9565a52afc1..4e3b71f48f2d 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -249,6 +249,7 @@ SUBDIR += devstat SUBDIR += dfc SUBDIR += di + SUBDIR += digdag SUBDIR += dim SUBDIR += dirdiff SUBDIR += direnv diff --git a/sysutils/digdag/Makefile b/sysutils/digdag/Makefile new file mode 100644 index 000000000000..6dc8509b0462 --- /dev/null +++ b/sysutils/digdag/Makefile @@ -0,0 +1,44 @@ +# Created by: Emanuel Haupt +# $FreeBSD$ + +PORTNAME= digdag +DISTVERSION= 0.9.31 +CATEGORIES= sysutils java +MASTER_SITES= https://dl.bintray.com/digdag/maven/ +EXTRACT_SUFX= .jar + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= Workload Automation System + +LICENSE= APACHE20 + +USE_JAVA= yes + +JAVA_RUN= yes +JAVA_VENDOR= openjdk +JAVA_VERSION= 1.8+ + +NO_BUILD= yes +NO_ARCH= yes + +PLIST_SUB= VERSION=${DISTVERSION} + +do-extract: + @${MKDIR} ${WRKSRC} + @${PRINTF} "#!/bin/sh\nexec \"${JAVA}\" -jar \ + \"${JAVAJARDIR}/${PORTNAME}/${PORTNAME}-${PORTVERSION}.jar\" \"\$$@\"\n" \ + > ${WRKSRC}/${PORTNAME} + +do-install: + @${MKDIR} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME} + ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} \ + ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}/ + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + +cklatest: + @${ECHO} "Port: ${DISTVERSION}" + @${ECHO} -n "Upstream: " + @curl -s -I https://dl.digdag.io/digdag-latest | \ + ${SED} -n 's|.*digdag-\([0-9.]*\).jar|\1|p' + +.include diff --git a/sysutils/digdag/distinfo b/sysutils/digdag/distinfo new file mode 100644 index 000000000000..311869beb962 --- /dev/null +++ b/sysutils/digdag/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1542820945 +SHA256 (digdag-0.9.31.jar) = 575261557f66d32eb0bae231dacb40e9f4225e4430e18abc1745f0bc83738fa8 +SIZE (digdag-0.9.31.jar) = 33649716 diff --git a/sysutils/digdag/pkg-descr b/sysutils/digdag/pkg-descr new file mode 100644 index 000000000000..f89f2ffd5e7e --- /dev/null +++ b/sysutils/digdag/pkg-descr @@ -0,0 +1,8 @@ +Digdag is a simple tool that helps you to build, run, schedule, and monitor +complex pipelines of tasks. It handles dependency resolution so that tasks run +in series or in parallel. + +Digdag replaces cron, facilitates IT operations automation, orchestrates data +engineering tasks, coordinates machine learning pipelines, and more. + +WWW: https://www.digdag.io/ diff --git a/sysutils/digdag/pkg-plist b/sysutils/digdag/pkg-plist new file mode 100644 index 000000000000..52b6e3e190f6 --- /dev/null +++ b/sysutils/digdag/pkg-plist @@ -0,0 +1,2 @@ +%%JAVAJARDIR%%/digdag/digdag-%%VERSION%%.jar +bin/digdag