Skip to content

Commit

Permalink
security/ipguard: Moved man to share/man
Browse files Browse the repository at this point in the history
Approved by:    portmgr (blanket)
  • Loading branch information
5u623l20 committed Feb 25, 2024
1 parent 47d9327 commit 916bb8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions security/ipguard/Makefile
@@ -1,6 +1,6 @@
PORTNAME= ipguard
PORTVERSION= 1.04
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= security net
MASTER_SITES= http://ipguard.deep.perm.ru/files/ http://deep.perm.ru/files/ipguard/

Expand All @@ -16,7 +16,7 @@ USE_RC_SUBR= ${PORTNAME}
CFLAGS+= -fcommon
PORTDOCS= COPYRIGHT NEWS README README.tcpdump README.log ethers.sample rfc826.txt
PLIST_FILES= sbin/ipguard \
man/man8/${PORTNAME}.8.gz
share/man/man8/${PORTNAME}.8.gz

OPTIONS_DEFINE= DOCS

Expand Down
4 changes: 2 additions & 2 deletions security/ipguard/files/patch-Makefile
Expand Up @@ -30,8 +30,8 @@
- install -m 644 doc/$(NAME).8 $(PREFIX)/man/man8/$(NAME).8
+ mkdir -p -m 755 ${DESTDIR}$(PREFIX)/sbin
+ install -s -m 755 $(NAME) ${DESTDIR}$(PREFIX)/sbin/$(NAME)
+ mkdir -p -m 755 ${DESTDIR}$(PREFIX)/man/man8
+ install -m 644 doc/$(NAME).8 ${DESTDIR}$(PREFIX)/man/man8/$(NAME).8
+ mkdir -p -m 755 ${DESTDIR}$(PREFIX)/share/man/man8
+ install -m 644 doc/$(NAME).8 ${DESTDIR}$(PREFIX)/share/man/man8/$(NAME).8

uninstall: deinstall

0 comments on commit 916bb8a

Please sign in to comment.