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
|
## Install
|
||||||
|
|
||||||
```
|
$ git clone https://github.com/0x1eef/portzap.git
|
||||||
$ git clone https://github.com/0x1eef/portzap.git
|
$ cd portzap
|
||||||
$ cd portzap
|
# make install
|
||||||
# cp -R bin /usr/local/
|
# portzap adduser
|
||||||
# cp -R libexec /usr/local/
|
# pw groupmod -n _portzap -m <user>
|
||||||
# portzap adduser
|
|
||||||
# pw groupmod -n _portzap -m <user>
|
|
||||||
```
|
|
||||||
|
|
||||||
## Sources
|
## Sources
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue