blob: bebafc135557e8d1956aefbf4914916d2467726b (
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
26
27
28
29
30
|
# $NetBSD: Makefile,v 1.3 2017/09/04 17:56:18 bsiegert Exp $
DISTNAME= caddy-${GITHUB_TAG:S/v//}
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=mholt/}
GITHUB_TAG= v0.10.7
MAINTAINER= bsiegert@NetBSD.org
HOMEPAGE= ${MASTER_SITE_GITHUB:=mholt/caddy/}
COMMENT= General-purpose web server
LICENSE= apache-2.0
GO_DIST_BASE= ${DISTNAME}
GO_SRCPATH= github.com/mholt/caddy
GO_BUILD_PATTERN= ${GO_SRCPATH}/caddy
CHECK_RELRO_SKIP+= bin/caddy
EXTRACT_USING= bsdtar
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/bin/caddy ${DESTDIR}${PREFIX}/bin
.include "../../net/go-net/buildlink3.mk"
.include "../../security/go-crypto/buildlink3.mk"
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"
|