Date: Mon, 12 Aug 2019 08:15:06 +0000 (UTC) From: =?UTF-8?Q?Vin=c3=adcius_Zavam?= <egypcio@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r508711 - in head/devel: . go-bindata-assetfs Message-ID: <201908120815.x7C8F6n0075704@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: egypcio Date: Mon Aug 12 08:15:05 2019 New Revision: 508711 URL: https://svnweb.freebsd.org/changeset/ports/508711 Log: [NEW] devel/go-bindata-assetfs: serves embedded files with net/http support go-bindata-assetfs serves embedded files from go-bindata with Go's net/http support, allowing packages to serve http static content. WWW: https://github.com/elazarl/go-bindata-assetfs Added: head/devel/go-bindata-assetfs/ head/devel/go-bindata-assetfs/Makefile (contents, props changed) head/devel/go-bindata-assetfs/distinfo (contents, props changed) head/devel/go-bindata-assetfs/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Aug 12 07:30:34 2019 (r508710) +++ head/devel/Makefile Mon Aug 12 08:15:05 2019 (r508711) @@ -851,6 +851,7 @@ SUBDIR += gnustep SUBDIR += gnustep-make SUBDIR += go-bindata + SUBDIR += go-bindata-assetfs SUBDIR += go-git SUBDIR += go-glide SUBDIR += go-godef Added: head/devel/go-bindata-assetfs/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/go-bindata-assetfs/Makefile Mon Aug 12 08:15:05 2019 (r508711) @@ -0,0 +1,33 @@ +# $FreeBSD$ + +PORTNAME= go-bindata-assetfs +PORTVERSION= g20180223 +CATEGORIES= devel www + +MAINTAINER= egypcio@FreeBSD.org +COMMENT= Serves embedded files from go-bindata with Go's net/http support + +LICENSE= BSD2CLAUSE + +RUN_DEPENDS= go-bindata>=0:devel/go-bindata + +USES= go +USE_GITHUB= nodefault + +GO_PKGNAME= github.com/elazarl/${PORTNAME}/${PORTNAME} +GH_TUPLE= elazarl:${PORTNAME}:38087fe:elazarl_gbd/github.com/elazarl/${PORTNAME} \ + golang:net:ca1201d:golang_net/golang.org/x/net \ + golang:sys:51ab0e2:golang_sys/golang.org/x/sys \ + +PLIST_FILES= bin/${PORTNAME} + +do-build: + @cd ${WRKSRC} && \ + ${RLN} ${WRKSRC} src && \ + ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPATH=${WRKSRC} ${GO_CMD} \ + build ${GO_BUILDFLAGS} -o bin/${PORTNAME} ${GO_PKGNAME} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + +.include <bsd.port.mk> Added: head/devel/go-bindata-assetfs/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/go-bindata-assetfs/distinfo Mon Aug 12 08:15:05 2019 (r508711) @@ -0,0 +1,7 @@ +TIMESTAMP = 1565348812 +SHA256 (elazarl-go-bindata-assetfs-38087fe_GH0.tar.gz) = b08df214d8cc9e4004fc399414cbe18de80f666a38ad49d79c34f7378e2f13c8 +SIZE (elazarl-go-bindata-assetfs-38087fe_GH0.tar.gz) = 3988 +SHA256 (golang-net-ca1201d_GH0.tar.gz) = d70d188cea7e5c254eac97d3a63e6b959b18c159cb0393cd38e01277fe377eff +SIZE (golang-net-ca1201d_GH0.tar.gz) = 1099085 +SHA256 (golang-sys-51ab0e2_GH0.tar.gz) = dc0fffb69ff5a4e83b3bf3d4817b8cacfa85f36ab93855030e3ce8937cc89b88 +SIZE (golang-sys-51ab0e2_GH0.tar.gz) = 1454786 Added: head/devel/go-bindata-assetfs/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/go-bindata-assetfs/pkg-descr Mon Aug 12 08:15:05 2019 (r508711) @@ -0,0 +1,4 @@ +go-bindata-assetfs serves embedded files from go-bindata with Go's net/http +support, allowing packages to serve static content. + +WWW: https://github.com/elazarl/go-bindata-assetfs
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908120815.x7C8F6n0075704>