- add support for git and git+ssh network protocols (patch by ori@) - add 'got clone' and 'got fetch' commands - don't error out if rebase sees no merged paths; elide the commit instead - prevent 'got commit' from committing empty sub-directories (found by tracey) - allow limiting the output of 'got ref -l' to a single ref or a namespace - add -c option to 'got ref' which now expects just one argument after options - plug a memory leak in got-read-pack - remove 'Next' link from tags on gotweb summary page if no tags exist (tracey)
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.32 2020/03/23 09:16:09 stsp Exp $
|
|
|
|
COMMENT-main = game of trees version control system
|
|
COMMENT-web = game of trees repository server for web browsers
|
|
|
|
V = 0.30
|
|
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-wb = c util z
|
|
|
|
MAKE_FLAGS = CC="${CC}"
|
|
ALL_TARGET = all web
|
|
INSTALL_TARGET = install web-install
|
|
|
|
MASTER_SITES = https://gameoftrees.org/releases/
|
|
|
|
DEBUG_PACKAGES-main = ${BUILD_PACKAGES:N-web}
|
|
DEBUG_PACKAGES-web = ${BUILD_PACKAGES:N-main}
|
|
|
|
BUILD_DEPENDS = www/kcgi
|
|
|
|
# some tests will fail without working non-interactive 'ssh 127.0.0.1'
|
|
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>
|