summaryrefslogtreecommitdiff
path: root/databases/pg_tileserv/Makefile
blob: 4b5e15560523900e5924cd27ce5573ab9d23a3a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
PORTNAME=	pg_tileserv
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.9
PORTREVISION=	12
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.20,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>