Page MenuHomeFreeBSD

D14116.id38619.diff
No OneTemporary

D14116.id38619.diff

Index: devel/bats/Makefile
===================================================================
--- /dev/null
+++ devel/bats/Makefile
@@ -0,0 +1,45 @@
+# Created by: Nikolai Lifanov <lifanov@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= bats
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.4.0
+CATEGORIES= devel
+
+MAINTAINER= lifanov@FreeBSD.org
+COMMENT= Bash automated testing system
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= bash:shells/bash
+
+USES= shebangfix
+SHEBANG_FILES= ${SCRIPTS}
+
+USE_GITHUB= yes
+GH_ACCOUNT= sstephenson
+
+NO_BUILD= yes
+NO_ARCH= yes
+
+SCRIPTS= libexec/bats \
+ libexec/bats-exec-suite \
+ libexec/bats-exec-test \
+ libexec/bats-format-tap-stream \
+ libexec/bats-preprocess
+
+PLIST_FILES= ${SCRIPTS} \
+ bin/bats \
+ man/man1/bats.1.gz \
+ man/man7/bats.7.gz
+
+do-install:
+ ${LN} -s '../libexec/bats' ${STAGEDIR}${PREFIX}/bin/bats
+.for f in ${SCRIPTS}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/${f}
+.endfor
+ ${INSTALL_MAN} ${WRKSRC}/man/bats.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/man/bats.7 ${STAGEDIR}${MAN7PREFIX}/man/man7
+
+.include <bsd.port.mk>
Index: devel/bats/distinfo
===================================================================
--- /dev/null
+++ devel/bats/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1517234922
+SHA256 (sstephenson-bats-v0.4.0_GH0.tar.gz) = 480d8d64f1681eee78d1002527f3f06e1ac01e173b761bc73d0cf33f4dc1d8d7
+SIZE (sstephenson-bats-v0.4.0_GH0.tar.gz) = 17258
Index: devel/bats/pkg-descr
===================================================================
--- /dev/null
+++ devel/bats/pkg-descr
@@ -0,0 +1,4 @@
+Bats is a TAP-compliant testing framework for Bash. It provides a simple
+way to verify that the UNIX programs you write behave as expected.
+
+WWW: https://github.com/sstephenson/bats

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 28, 6:43 PM (3 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26295527
Default Alt Text
D14116.id38619.diff (1 KB)

Event Timeline