freebsd-ports/devel/got/Makefile
Christian Weisgerber d0546eb107 devel/got: update to 0.77
No significant user-visible changes.
2022-10-24 21:17:19 +00:00

35 lines
843 B
Makefile

PORTNAME= got
PORTVERSION= 0.77
CATEGORIES= devel
MASTER_SITES= https://gameoftrees.org/releases/
MAINTAINER= naddy@FreeBSD.org
COMMENT= Game of Trees version control system
WWW= https://gameoftrees.org
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENCE
USES= uidfix
CONFLICTS_INSTALL= p5-App-GitGot
# 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
regress:
@(cd ${WRKSRC}/regress && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} regress)
.include <bsd.port.mk>