freebsd-ports/devel/got/Makefile
Christian Weisgerber 801730772c Update to 0.47. User-visible changes:
- update got.1 CAVEATS section
- fix performance on repositories with many references (e.g. FreeBSD src.git)
2020-12-27 11:57:59 +00:00

32 lines
692 B
Makefile

# $FreeBSD$
PORTNAME= got
PORTVERSION= 0.47
CATEGORIES= devel
MASTER_SITES= https://gameoftrees.org/releases/
MAINTAINER= naddy@FreeBSD.org
COMMENT= Game of Trees version control system
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENCE
USES= compiler:c11 uidfix
n= ${.newline}
post-extract:
@${FIND} ${WRKSRC} -name '*.[cy]' -exec \
${REINPLACE_CMD} '1,/^#include "/{ \
/^#include "/i\$n#include "openbsd-compat.h"\$n$n}' \
{} +
${CP} -R ${FILESDIR}/openbsd-compat ${WRKSRC}
# The regression test suite requires:
# installed got
# installed git
# ssh to 127.0.0.1
run-test:
@(cd ${WRKSRC}/regress && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} regress)
.include <bsd.port.mk>