1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/devel/got/Makefile
Christian Weisgerber c468a96d2f devel/got: update to 0.54
User-visible changes:
- fix bugs where files skipped by 'got update' could not be updated again
- new 'gotadmin cleanup' command for removing unreferenced loose objects
- handle pack index files which lack a corresponding pack file
- make 'got add' always require the -I option in order to add ignored files
2021-07-08 23:03:45 +02:00

32 lines
780 B
Makefile

PORTNAME= got
PORTVERSION= 0.54
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
# Insert #include "openbsd-compat.h" into each source file,
# after the <...> includes and before the "..." ones.
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>