Port details on branch 2023Q4 |
- statik Embed static files into a Go executable
- 0.1.2_16,1 devel =0 0.1.2_16,1Version of this port present on the latest quarterly branch.
- Maintainer: cheffo@freebsd-bg.org
- Port Added: 2023-12-07 15:09:06
- Last Update: 2023-12-07 15:06:56
- Commit Hash: 1a5ede5
- License: APACHE20
- WWW:
- https://github.com/rakyll/statik
- Description:
- statik allows you to embed a directory of static files into your
Go binary to be later served from an http.FileSystem. Is this a
crazy idea? No, not necessarily. If you're building a tool that
has a Web component, you typically want to serve some images, CSS
and JavaScript. You like the comfort of distributing a single binary,
so you don't want to mess with deploying them elsewhere. If your
static files are not large in size and will be browsed by a few
people, statik is a solution you are looking for.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/devel/statik/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/statik
- pkg install statik
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: statik
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: aarch64 amd64 armv7 i386 riscv64
- distinfo:
- TIMESTAMP = 1532542245
SHA256 (rakyll-statik-v0.1.2_GH0.tar.gz) = c9eee1ba676b20ac83ec28315580ed36b4018225fbef1f82acdf8e7c92078174
SIZE (rakyll-statik-v0.1.2_GH0.tar.gz) = 172864
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- go120 : lang/go120
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_statik
- USES:
- go
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|