blob: cc1cb226de2932090dc8e5fd4c7930cf42c3d0dd (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Created by: fabian.freyer@physik.tu-berlin.de
PORTNAME= caddy
DISTVERSIONPREFIX= v
DISTVERSION= 2.4.6
PORTREVISION= 2
CATEGORIES= www
DIST_SUBDIR= caddy
MAINTAINER= adamw@FreeBSD.org
COMMENT= Fast, cross-platform HTTP/2 web server with automatic HTTPS
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss
USES= cpe go:modules
CPE_VENDOR= caddyserver
USE_RC_SUBR= caddy
SUB_FILES= Caddyfile.sample caddy pkg-message
PLIST_FILES= bin/${PORTNAME} \
"@sample ${ETCDIR_REL}/Caddyfile.sample"
GO_TARGET= ./cmd/caddy
# If go.mod is sufficient:
# GO_MODULE= github.com/caddyserver/caddy/v2
# If modules must be specified manually:
.include "${.CURDIR}/modules.mk"
post-install:
${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKDIR}/Caddyfile.sample ${STAGEDIR}${ETCDIR}
.include <bsd.port.mk>
|