mirror of
https://git.freebsd.org/ports.git
synced 2025-06-20 04:00:41 -04:00
31 lines
713 B
Makefile
31 lines
713 B
Makefile
PORTNAME= gitlab-pages
|
|
PORTVERSION= 1.51.0
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= swills@FreeBSD.org
|
|
COMMENT= Official GitLab Pages daemon
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= gmake go:modules
|
|
GO_MODULE= gitlab.com/gitlab-org/gitlab-pages
|
|
|
|
|
|
GO_BUILDFLAGS= -ldflags="-X main.VERSION=${PORTVERSION} -X main.REVISION=${GITHASH}"
|
|
GO_PKGNAME= gitlab.com/gitlab-org/gitlab-pages
|
|
|
|
PLIST_FILES= bin/gitlab-pages
|
|
|
|
USE_RC_SUBR= gitlab_pages
|
|
|
|
USERS= gitlab-pages
|
|
GROUPS= gitlab-pages
|
|
|
|
GO_BUILDFLAGS+= --ldflags="-X main.VERSION=${PORTVERSION} -X main.REVISION=${GITHASH}"
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKDIR}/bin/gitlab-pages ${STAGEDIR}${PREFIX}/bin/gitlab-pages
|
|
|
|
.include <bsd.port.mk>
|