summaryrefslogtreecommitdiff
path: root/www/go-www/Makefile
blob: 93f54e5a2d3896bf22dd8a1b06a891ab44240ad3 (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=	www
PORTVERSION=	2.0.0
PORTREVISION=	19
CATEGORIES=	www
PKGNAMEPREFIX=	go-

MAINTAINER=	nbari@tequila.io
COMMENT=	Web server for static content
WWW=		https://go-www.com

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go

USE_GITHUB=	yes
GH_ACCOUNT=	nbari
GH_TUPLE=	golang:crypto:505ab14:crypto/vendor/golang.org/x/crypto
GH_SUBDIR=	src/github.com/nbari/${PORTNAME}

GO_BUILDFLAGS=	-ldflags "-s -w"

PLIST_FILES=	bin/www

.include <bsd.port.mk>