Skip to content

Commit

Permalink
net/vtun: 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 cf83a71 commit 36e709e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions net/vtun/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PORTNAME= vtun
PORTVERSION= 3.0.4
PORTREVISION= 8
PORTREVISION= 9
CATEGORIES= net
MASTER_SITES= SF \
LOCAL/mat/vtun
Expand All @@ -16,6 +16,7 @@ LIB_DEPENDS= liblzo2.so:archivers/lzo2
USES= autoreconf localbase ssl
USE_RC_SUBR= vtunclient vtund
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share

CONFIGURE_ARGS= --localstatedir=/var \
--with-lzo-headers=${LOCALBASE}/include/lzo \
Expand Down Expand Up @@ -47,7 +48,7 @@ post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/vtund
${INSTALL_DATA} ${WRKSRC}/vtund.conf ${STAGEDIR}${PREFIX}/etc/vtund.conf.sample
${MKDIR} ${STAGEDIR}${DOCSDIR}
${RLN} ${STAGEDIR}${PREFIX}/man/man8/vtund.8 ${STAGEDIR}${PREFIX}/man/man1/vtun.1
${RLN} ${STAGEDIR}${PREFIX}/share/man/man8/vtund.8 ${STAGEDIR}${PREFIX}/share/man/man1/vtun.1

post-install-DOCS-on:
.for doc in ${PORTDOCS}
Expand Down
8 changes: 4 additions & 4 deletions net/vtun/pkg-plist
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@sample etc/vtund.conf.sample
sbin/vtund
man/man5/vtund.conf.5.gz
man/man8/vtund.8.gz
man/man8/vtun.8.gz
man/man1/vtun.1.gz
share/man/man5/vtund.conf.5.gz
share/man/man8/vtund.8.gz
share/man/man8/vtun.8.gz
share/man/man1/vtun.1.gz
@dir /var/log/vtund
@dir /var/lock/vtund
@dir /var/lock

0 comments on commit 36e709e

Please sign in to comment.