mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
fc95b3f0cf
- 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
27 lines
507 B
Makefile
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>
|