Skip to content

Commit ca25a53

Browse files
authored
add usage hints and improve README (#2)
1 parent 50e6c39 commit ca25a53

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
flag is a frontend for pkgsrc
1+
**flag** is a frontend for [pkgsrc](), a portable package build system. The goal is to
2+
have a tool similar to what `emerge` is for `Portage` or `yaourt` is for `AUR`.
3+
It should work on most platforms supported by `pkgsrc`, including NetBSD, Linux,
4+
macOS and others.
5+
6+
# Usage
7+
**flag** wraps existing pkgsrc tools and make targets in convenient subcommands:
8+
* `flag search tmux` - search for package *tmux*, equivalent of `pkgfind tmux`
9+
* `flag install tmux` - install package *tmux*, wrapper for `cd /usr/pkgsrc/misc/tmux && make install clean clean-depends`
10+
* `flag remove tmux` - wrapper for `[...] make deinstall`
11+
* `flag options tmux` - wrapper for `[...] make show-options`
12+
* `flag dependencies tmux` - wrapper for `[...] make show-depends`
213

314
# Building
415
flag is developed on systems with an existing pkgsrc installation.

0 commit comments

Comments
 (0)