2018-01-09 21:55:12 +01:00
|
|
|
# $NetBSD: Makefile,v 1.4 2018/01/09 20:55:12 bsiegert Exp $
|
2017-07-11 22:26:41 +02:00
|
|
|
|
|
|
|
DISTNAME= caddy-${GITHUB_TAG:S/v//}
|
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=mholt/}
|
2018-01-09 21:55:12 +01:00
|
|
|
GITHUB_TAG= v0.10.10
|
2017-07-11 22:26:41 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2017-07-22 21:32:40 +02:00
|
|
|
CHECK_RELRO_SKIP+= bin/caddy
|
|
|
|
|
2017-07-11 22:26:41 +02:00
|
|
|
EXTRACT_USING= bsdtar
|
|
|
|
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKDIR}/bin/caddy ${DESTDIR}${PREFIX}/bin
|
|
|
|
|
|
|
|
.include "../../lang/go/go-package.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|