aboutsummaryrefslogtreecommitdiff
path: root/databases/pg_tileserv/Makefile
blob: d7d6409ad8f4c36a47aa0f6dc7f60b732ed523b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
PORTNAME=	pg_tileserv
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.11
CATEGORIES=	databases

MAINTAINER=	lbartoletti@FreeBSD.org
COMMENT=	PostGIS-only tile server written in Go
WWW=		https://github.com/crunchydata/pg_tileserv/issues

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE.md

USES=		go:1.21,modules
USE_GITHUB=	nodefault
GH_TUPLE=	golang:sys:v0.6.0:sys
GO_MODULE=	github.com/crunchydata/pg_tileserv

PLIST_FILES=	bin/${PORTNAME}

pre-patch:
	${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
	${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys

.include <bsd.port.mk>