mystuff/git-http-backend/Makefile in openbsd-ports

at master

1COMMENT = CGI server for the distributed version control system
2
3V = 2.37.3
4DISTNAME = git-${V}
5CATEGORIES = mystuff www
6FULLPKGNAME = git-http-backend-${V}
7PKGPATH = mystuff/git-http-backend
8
9HOMEPAGE = https://git-scm.com/
10
11# GPLv2 only
12PERMIT_PACKAGE = Yes
13
14MASTER_SITES = https://www.kernel.org/pub/software/scm/git/
15
16CONFIGURE_STYLE = gnu autoconf no-autoheader
17AUTOCONF_VERSION = 2.71
18CONFIGURE_ARGS = --prefix=${PREFIX} \
19 --libexecdir=/bin \
20 --without-openssl \
21 --without-curl \
22 --without-tcltk
23CONFIGURE_ENV = NO_OPENSSL=1 NO_CURL=1 \
24 CFLAGS="${CFLAGS} -static" \
25 LDFLAGS="-L${LOCALBASE}/lib" \
26 DIFF=diff TAR=tar
27
28PREFIX = /var/git
29
30USE_GMAKE = Yes
31
32TEST_DEPENDS = archivers/unzip \
33 archivers/zip \
34 devel/cvsps \
35 devel/subversion,-perl
36
37do-install:
38 install -Dm755 ${WRKBUILD}/git-http-backend ${WRKINST}/var/git/cgi-bin/git-http-backend
39 install -Dm755 ${WRKBUILD}/git ${WRKINST}/var/git/bin/git
40 install -Dm755 ${WRKBUILD}/git-fetch-pack ${WRKINST}/var/git/bin/git-fetch-pack
41 install -Dm755 ${WRKBUILD}/git-index-pack ${WRKINST}/var/git/bin/git-index-pack
42 install -Dm755 ${WRKBUILD}/git-receive-pack ${WRKINST}/var/git/bin/git-receive-pack
43 install -Dm755 ${WRKBUILD}/git-send-pack ${WRKINST}/var/git/bin/git-send-pack
44 install -Dm755 ${WRKBUILD}/git-upload-pack ${WRKINST}/var/git/bin/git-upload-pack
45 install -Dm755 ${WRKBUILD}/git-verify-pack ${WRKINST}/var/git/bin/git-verify-pack
46
47.include <bsd.port.mk>