1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/www/go-www/Makefile
Dmitri Goutnik fc95b3f0cf Go ports: cleanup, finish transition to USES=go started with r505321 (cat. sysutils-x11)
- Remove custom build/install targets left in place after r505321
- Switch to the new GO_TARGET tuple syntax introduced in r512001

Reviewed by:	tobik
Approved by:	araujo (mentor), portmgr (adamw)
Differential Revision:	https://reviews.freebsd.org/D21744
2019-09-29 22:34:31 +00:00

27 lines
507 B
Makefile

# Created by: Nicolas de Bari Embriz Garcia Rojas <nbari@tequila.io>
# $FreeBSD$
PORTNAME= www
PORTVERSION= 2.0.0
CATEGORIES= www
PKGNAMEPREFIX= go-
MAINTAINER= nbari@tequila.io
COMMENT= Web server for static content
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>