aboutsummaryrefslogtreecommitdiff
path: root/www/go-www/Makefile
blob: c819ac3974ae1289c179bb71f61efa9cfb618fe2 (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
PORTNAME=	www
PORTVERSION=	2.0.0
PORTREVISION=	8
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>