- reset tog blame view's scroll position if line count shrinks too much (naddy) - replace unprintable characters with '.' before passing them to curses (naddy) - allow editing of log message comments with 'got histedit' - implicitly mark all files in work tree as up-to-date after rebase/histedit - add fd field to got_repository, modify got_packidx_open to use fds (yzhong) - more size_t for loop indices to avoid signedness warnings; by emaste@freebsd - fix path existence check in got_object_tree_path_changed (reported by jrick) - fix parsing of tag objects which lack a tag message; found in u-boot.git repo - do not mix up repos if tog's -r option is used in a work tree (with naddy) - avoid signed vs unsigned comparisons in fetch.c (with millert) - introduce got_custom_error array to support multiple errors in flight - switch to strerror_r(3) in error.c for thread-safety
43 lines
1008 B
Makefile
43 lines
1008 B
Makefile
# $OpenBSD: Makefile,v 1.52 2020/12/21 20:47:41 stsp Exp $
|
|
|
|
COMMENT-main = game of trees version control system
|
|
COMMENT-web = game of trees repository server for web browsers
|
|
|
|
V = 0.46
|
|
DISTNAME = got-${V}
|
|
PKGNAME-main = ${DISTNAME}
|
|
PKGNAME-web = gotweb-${V}
|
|
CATEGORIES = devel
|
|
HOMEPAGE = https://gameoftrees.org
|
|
MAINTAINER = Stefan Sperling <stsp@openbsd.org>
|
|
|
|
# ISC
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MULTI_PACKAGES = -main -web
|
|
|
|
# uses pledge()
|
|
WANTLIB-main = c curses panel pthread util z
|
|
WANTLIB-web = c util z
|
|
|
|
MAKE_FLAGS = CC="${CC}"
|
|
ALL_TARGET = all web
|
|
INSTALL_TARGET = install web-install
|
|
|
|
MASTER_SITES = https://gameoftrees.org/releases/
|
|
|
|
DEBUG_PACKAGES = ${BUILD_PACKAGES}
|
|
|
|
BUILD_DEPENDS = www/kcgi>=0.12.0
|
|
|
|
# some tests will fail without working non-interactive 'ssh 127.0.0.1'
|
|
TEST_IS_INTERACTIVE = Yes
|
|
TEST_DEPENDS = devel/git \
|
|
${PKGPATH}=${V}
|
|
|
|
PREFIX-web = ${VARBASE}/www
|
|
TEST_TARGET = regress
|
|
FAKE_FLAGS = MANDIR=${PREFIX}/man/man CHROOT_DIR=${VARBASE}/www
|
|
|
|
.include <bsd.port.mk>
|