/net/p5-URI-Template/

repository'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtkglarea2
1234567891011121314151617181920212223242526272829303132333435363738394041
Commit message (Expand)AuthorAgeFilesLines
* graphics/mesa-libs: Bump reverse deps for libglvndKevin Bowling2021-06-231-1/+1
* x11-toolkits/gtkglarea2: add LICENSE and WWWDmitry Marakasov2021-04-132-0/+5
# $FreeBSD$

PORTNAME=   gitlab-pages
PORTVERSION=    0.7.1
CATEGORIES= www

MAINTAINER= swills@FreeBSD.org
COMMENT=    Official GitLab Pages daemon

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

BUILD_DEPENDS=  go:lang/go

USE_GITLAB= yes
GL_ACCOUNT= gitlab-org
# Find the here: https://gitlab.com/gitlab-org/gitlab-pages/tags
GL_COMMIT=  4e11c8392935e1f4dbd96066f3cbb8d657afd874

PLIST_FILES=    bin/gitlab-pages

USE_RC_SUBR=    gitlab_pages

USERS=      gitlab-pages
GROUPS=     gitlab-pages

post-patch:
    @${MV} ${WRKSRC}/vendor ${WRKSRC}/src
    @${MKDIR} ${WRKSRC}/src/gitlab.com/gitlab-org
    @${LN} -s ${WRKSRC} ${WRKSRC}/src/gitlab.com/gitlab-org/gitlab-pages

do-build:
    cd ${WRKSRC} && ${SETENV} GOCACHE=${WRKSRC}/go CGO_ENABLED=0 GO15VENDOREXPERIMENT=1 \
        GOPATH=${WRKSRC} GOCACHE=off \
        go build -o gitlab-pages \
        --ldflags="-X main.VERSION=${PORTVERSION} -X main.REVISION=${GITHASH}"

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/gitlab-pages ${STAGEDIR}${PREFIX}/bin/gitlab-pages

.include <bsd.port.mk>