svn commit: r508711 - in head/devel: . go-bindata-assetfs

Vinícius Zavam egypcio at freebsd.org
Fri Aug 23 13:33:06 UTC 2019


commited, with changes; r509647.
thanks.

Am Di., 20. Aug. 2019 um 12:48 Uhr schrieb Vinícius Zavam <
egypcio at freebsd.org>:
>
>
>
> Am Mo., 12. Aug. 2019 um 08:37 Uhr schrieb Tobias Kortkamp <
tobik at freebsd.org>:
>>
>> On Mon, Aug 12, 2019 at 08:15:06AM +0000, Vinícius Zavam wrote:
>> > 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
>> >
>>
>> This does not make proper use of USES=go.  The custom targets are
>> not needed:
>>
>> Index: Makefile
>> ===================================================================
>> --- Makefile    (revision 508711)
>> +++ Makefile    (working copy)
>> @@ -12,22 +12,14 @@
>>  RUN_DEPENDS=   go-bindata>=0:devel/go-bindata
>>
>>  USES=          go
>> -USE_GITHUB=    nodefault
>> +USE_GITHUB=    yes
>> +GH_ACCOUNT=    elazarl
>> +GH_TAGNAME=    38087fe
>> +GH_TUPLE=      golang:net:ca1201d:golang_net/src/golang.org/x/net \
>> +               golang:sys:51ab0e2:golang_sys/src/golang.org/x/sys \
>>
>> -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 \
>> +GO_TARGET=     ./${PORTNAME}
>>
>>  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>
>> Index: distinfo
>> ===================================================================
>> --- distinfo    (revision 508711)
>> +++ distinfo    (working copy)
>> @@ -1,6 +1,6 @@
>> -TIMESTAMP = 1565348812
>> -SHA256 (elazarl-go-bindata-assetfs-38087fe_GH0.tar.gz) =
b08df214d8cc9e4004fc399414cbe18de80f666a38ad49d79c34f7378e2f13c8
>> -SIZE (elazarl-go-bindata-assetfs-38087fe_GH0.tar.gz) = 3988
>> +TIMESTAMP = 1565598186
>> +SHA256 (elazarl-go-bindata-assetfs-g20180223-38087fe_GH0.tar.gz) =
b08df214d8cc9e4004fc399414cbe18de80f666a38ad49d79c34f7378e2f13c8
>> +SIZE (elazarl-go-bindata-assetfs-g20180223-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
>
>
> thanks for sharing! I should have a look soon
> br,
>
>
>


More information about the svn-ports-head mailing list