FreeBSD Bugzilla – Attachment 149357 Details for
Bug 194987
[New port] devel/statik
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
statik shar file
statik.shar (text/plain), 2.05 KB, created by
cheffo
on 2014-11-13 08:56:00 UTC
(
hide
)
Description:
statik shar file
Filename:
MIME Type:
Creator:
cheffo
Created:
2014-11-13 08:56:00 UTC
Size:
2.05 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># statik ># statik/pkg-plist ># statik/pkg-descr ># statik/distinfo ># statik/Makefile ># >echo c - statik >mkdir -p statik > /dev/null 2>&1 >echo x - statik/pkg-plist >sed 's/^X//' >statik/pkg-plist << '07f16b5477905aabc17f307cc790ce1b' >Xbin/%%GO_PKGNAME%% >07f16b5477905aabc17f307cc790ce1b >echo x - statik/pkg-descr >sed 's/^X//' >statik/pkg-descr << 'f7b64f7f3a2e741ecc8976b08278dbdb' >Xstatik allows you to embed a directory of static files into your Go binary to >Xbe later served from an http.FileSystem. Is this a crazy idea? >XNo, not necessarily. If you're building a tool that has a Web component, you >Xtypically want to serve some images, CSS and JavaScript. You like the comfort >Xof distributing a single binary, so you don't want to mess with deploying them >Xelsewhere. If your static files are not large in size and will be browsed by a >Xfew people, statik is a solution you are looking for. >X >XWWW: https://github.com/rakyll/statik >f7b64f7f3a2e741ecc8976b08278dbdb >echo x - statik/distinfo >sed 's/^X//' >statik/distinfo << 'b9143f24fb4563d92ac7569ee393690b' >XSHA256 (statik-20141020.tar.gz) = 0ab79c0cb7268f5dbcfb8ec9475b452aa1400b79cf645b4e9570b6b3369bebdb >XSIZE (statik-20141020.tar.gz) = 77650 >b9143f24fb4563d92ac7569ee393690b >echo x - statik/Makefile >sed 's/^X//' >statik/Makefile << '4b6b5e88f81f843adca48178123d3c93' >X# $FreeBSD$ >X >XPORTNAME= statik >XPORTVERSION= 20141020 >XCATEGORIES= devel >X >XMAINTAINER= cheffo@freebsd-bg.org >XCOMMENT= Embed static files into a Go executable >X >XLICENSE= APACHE20 >X >XBUILD_DEPENDS= go:${PORTSDIR}/lang/go >X >XONLY_FOR_ARCHS= i386 amd64 >X >XUSE_GITHUB= yes >XGH_ACCOUNT= rakyll >XGH_PROJECT= statik >XGH_TAGNAME= ${GH_COMMIT} >XGH_COMMIT= f19d7c2 >X >X.include <bsd.port.pre.mk> >X.include "${.CURDIR}/../../lang/go/files/bsd.go.mk" >X.include <bsd.port.post.mk> >4b6b5e88f81f843adca48178123d3c93 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 194987
: 149357 |
149358
|
149359