parent
9ed5d20f21
commit
c0a305579e
2 changed files with 20 additions and 8 deletions
15
Makefile
Normal file
15
Makefile
Normal file
|
@ -0,0 +1,15 @@
|
|||
PREFIX = /usr/local
|
||||
BINDIR = $(PREFIX)/bin
|
||||
LIBEXECDIR = $(PREFIX)/libexec
|
||||
MANDIR = $(PREFIX)/man/man8
|
||||
|
||||
install:
|
||||
install -d $(BINDIR) $(LIBEXECDIR) $(MANDIR)
|
||||
install -m 0755 bin/portzap $(BINDIR)
|
||||
install -m 0755 -d libexec/portzap $(LIBEXECDIR)
|
||||
install -m 0644 man/man8/portzap.8 $(MANDIR)
|
||||
|
||||
deinstall:
|
||||
rm -rf $(LIBEXECDIR)/portzap
|
||||
rm -f $(BINDIR)/portzap
|
||||
rm -f $(MANDIR)/portzap.8
|
13
README.md
13
README.md
|
@ -31,14 +31,11 @@ portzap is a utility that manages a local copy of the
|
|||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ git clone https://github.com/0x1eef/portzap.git
|
||||
$ cd portzap
|
||||
# cp -R bin /usr/local/
|
||||
# cp -R libexec /usr/local/
|
||||
# portzap adduser
|
||||
# pw groupmod -n _portzap -m <user>
|
||||
```
|
||||
$ git clone https://github.com/0x1eef/portzap.git
|
||||
$ cd portzap
|
||||
# make install
|
||||
# portzap adduser
|
||||
# pw groupmod -n _portzap -m <user>
|
||||
|
||||
## Sources
|
||||
|
||||
|
|
Loading…
Reference in a new issue