openbsd-ports/devel/reposurgeon/Makefile
sthen 7adf43f353 reposurgeon: respect MAKE_JOBS, pass in -v to "go build", hack away at
some parts of github.com/pkg/term/termios unused by reposurgeon which fail
to build on i386
2022-08-28 10:26:39 +00:00

38 lines
789 B
Makefile

COMMENT= tool for editing version-control repository history
DISTNAME= reposurgeon-4.32
REVISION= 0
CATEGORIES= devel
HOMEPAGE= http://www.catb.org/esr/reposurgeon/
# BSD
PERMIT_PACKAGE= Yes
WANTLIB += c pthread
#MASTER_SITES= http://www.catb.org/esr/reposurgeon/
# generated from upstream distfile (.tar.xz) with "go mod vendor"
MASTER_SITES= https://spacehopper.org/mirrors/
USE_GMAKE= Yes
MODULES= lang/go \
lang/ruby
CONFIGURE_STYLE= x
BUILD_DEPENDS= textproc/asciidoctor
MODRUBY_RUNDEP= No
WRKSRC= ${WRKDIST}
WRKBUILD= ${WRKDIST}
MODGO_GOPATH= ${MODGO_WORKSPACE}:${MODGO_PACKAGE_PATH}:${WRKSRC}/vendor
MAKE_ENV= GOFLAGS=-v GOMAXPROCS=${MAKE_JOBS}
FAKE_FLAGS= mandir=man
pre-build:
ln -sf ${RUBY} ${WRKDIR}/bin/ruby
ln -sf . ${WRKSRC}/vendor/src
.include <bsd.port.mk>