Skip to content

Commit

Permalink
net/prtunnel: Move man pages to share/man
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
  • Loading branch information
nunotexbsd committed Mar 20, 2024
1 parent c9ad929 commit 8cd66b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion net/prtunnel/Makefile
@@ -1,5 +1,6 @@
PORTNAME= prtunnel
PORTVERSION= 0.2.7
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://joshbeam.com/files/

Expand All @@ -10,7 +11,7 @@ WWW= https://www.joshbeam.com/software/prtunnel/
ALL_TARGET= ${PORTNAME}

PORTDOCS= ChangeLog README
PLIST_FILES= bin/prtunnel man/man1/prtunnel.1.gz
PLIST_FILES= bin/prtunnel share/man/man1/prtunnel.1.gz

OPTIONS_DEFINE= DOCS

Expand Down
8 changes: 4 additions & 4 deletions net/prtunnel/files/patch-Makefile
@@ -1,13 +1,13 @@
--- Makefile.orig 2014-06-23 22:26:53.428301384 +0800
+++ Makefile 2014-06-23 22:27:04.258298966 +0800
@@ -8,8 +8,8 @@ prtunnel: $(OBJS)
--- Makefile.orig 2006-01-08 22:19:09 UTC
+++ Makefile
@@ -8,8 +8,8 @@ install:
$(CC) $(OBJS) -o prtunnel

install:
- install -c prtunnel $(PREFIX)/bin/prtunnel
- install -c prtunnel.1 $(PREFIX)/man/man1/prtunnel.1
+ install -c prtunnel $(DESTDIR)$(PREFIX)/bin/prtunnel
+ install -c prtunnel.1 $(DESTDIR)$(PREFIX)/man/man1/prtunnel.1
+ install -c prtunnel.1 $(DESTDIR)$(PREFIX)/share/man/man1/prtunnel.1

uninstall:
rm -f $(PREFIX)/bin/prtunnel

0 comments on commit 8cd66b6

Please sign in to comment.