1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/devel/bats-core/Makefile
Nikolai Lifanov a18f6fa07a update deve/bats-core to 1.1.0
This is the first release after project transition to bats-core

Changes: https://github.com/bats-core/bats-core/releases/tag/v1.1.0
2018-07-29 20:54:52 +00:00

47 lines
1.0 KiB
Makefile

# $FreeBSD$
PORTNAME= bats-core
DISTVERSIONPREFIX= v
DISTVERSION= 1.1.0
CATEGORIES= devel
MAINTAINER= lifanov@FreeBSD.org
COMMENT= Bash automated testing system
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
RUN_DEPENDS= bash:shells/bash
USES= shebangfix
SHEBANG_FILES= ${SCRIPTS:S/^/libexec\/${PORTNAME}\//}
USE_GITHUB= yes
NO_BUILD= yes
NO_ARCH= yes
SCRIPTS= bats \
bats-exec-suite \
bats-exec-test \
bats-format-tap-stream \
bats-preprocess
PLIST_FILES= ${SCRIPTS:S/^/libexec\/${PORTNAME}\//} \
bin/bats \
man/man1/bats.1.gz \
man/man7/bats.7.gz
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}
.for f in ${SCRIPTS}
${INSTALL_SCRIPT} ${WRKSRC}/libexec/${PORTNAME}/${f} \
${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/${f}
.endfor
${RLN} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/bats \
${STAGEDIR}${PREFIX}/bin/bats
${INSTALL_MAN} ${WRKSRC}/man/bats.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/bats.7 ${STAGEDIR}${MAN7PREFIX}/man/man7
.include <bsd.port.mk>