1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/devel/got/Makefile
Christian Weisgerber c2dcceab16 Update to 0.42. User-visible changes:
- add "branch" keyword to got.conf which specifies a list of branches to fetch
- rework got's commit-time log message modification check
2020-09-30 19:04:47 +00:00

32 lines
679 B
Makefile

# $FreeBSD$
PORTNAME= got
PORTVERSION= 0.42
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= 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>