net-mgmt/subcalc: Move man pages to share/man
Approved by: portmgr (blanket)
This commit is contained in:
parent
09c68a2b04
commit
08f73de5bd
2 changed files with 8 additions and 7 deletions
|
@ -1,6 +1,7 @@
|
|||
PORTNAME= subcalc
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net-mgmt
|
||||
|
||||
MAINTAINER= csjp@FreeBSD.org
|
||||
|
@ -10,6 +11,6 @@ WWW= http://www.seccuris.com
|
|||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= csjayp
|
||||
|
||||
PLIST_FILES= bin/subcalc man/man1/subcalc.1.gz
|
||||
PLIST_FILES= bin/subcalc share/man/man1/subcalc.1.gz
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- Makefile.orig 2018-06-30 14:11:02.000000000 -0700
|
||||
+++ Makefile 2020-03-18 08:43:27.327184000 -0700
|
||||
@@ -13,14 +13,14 @@
|
||||
--- Makefile.orig 2018-06-30 21:11:02 UTC
|
||||
+++ Makefile
|
||||
@@ -13,14 +13,14 @@ install:
|
||||
$(CC) -o $@ $(OBJS) $(LIBS) $(CFLAGS)
|
||||
|
||||
install:
|
||||
|
@ -10,13 +10,13 @@
|
|||
- cp subcalc.1 $(PREFIX)/share/man/man1/
|
||||
+ [ -d $(DESTDIR)$(PREFIX)/bin ] || mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||||
+ cp subcalc $(DESTDIR)$(PREFIX)/bin
|
||||
+ [ -d $(DESTDIR)$(PREFIX)/man/man1/ ] || mkdir -p $(DESTDIR)$(PREFIX)/man/man1/
|
||||
+ cp subcalc.1 $(DESTDIR)$(PREFIX)/man/man1/
|
||||
+ [ -d $(DESTDIR)$(PREFIX)/share/man/man1/ ] || mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1/
|
||||
+ cp subcalc.1 $(DESTDIR)$(PREFIX)/share/man/man1/
|
||||
|
||||
deinstall:
|
||||
- rm -f $(PREFIX)/share/man/man1/subcalc.1.gz
|
||||
- rm -f $(PREFIX)/bin/subcalc
|
||||
+ rm -f $(DESTDIR)$(PREFIX)/man/man1/subcalc.1.gz
|
||||
+ rm -f $(DESTDIR)$(PREFIX)/share/man/man1/subcalc.1.gz
|
||||
+ rm -f $(DESTDIR)$(PREFIX)/bin/subcalc
|
||||
|
||||
clean:
|
||||
|
|
Loading…
Reference in a new issue