git: c0b099e19f23 - main - net-mgmt/pnp: Move manpages to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 26 Mar 2024 09:36:15 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c0b099e19f23073f68967ba99502878fb999358b
commit c0b099e19f23073f68967ba99502878fb999358b
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-03-26 09:34:42 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-03-26 09:34:42 +0000
net-mgmt/pnp: Move manpages to share/man
Approved by: portmgr (blanket)
---
net-mgmt/pnp/Makefile | 4 ++--
net-mgmt/pnp/pkg-plist | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/net-mgmt/pnp/Makefile b/net-mgmt/pnp/Makefile
index 2f254f8a47be..864f05331f55 100644
--- a/net-mgmt/pnp/Makefile
+++ b/net-mgmt/pnp/Makefile
@@ -1,6 +1,6 @@
PORTNAME= pnp
PORTVERSION= 0.6.26
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net-mgmt
MASTER_SITES= SF/pnp4nagios/PNP-0.6
DISTNAME= pnp4nagios-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
@@ -92,12 +92,12 @@ post-patch:
"${WRKSRC}/sample-config/${f}.in"
.endfor
@${LN} -fs ../en_US/dwnld.html ${WRKSRC}/share/pnp/documents/de_DE/dwnld.html
+ ${REINPLACE_CMD} -e 's|$${prefix}/man|$${prefix}/share/man|' ${WRKSRC}/configure
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ${SAMPLE_CONFIGS}
${INSTALL_DATA} ${WRKSRC}/sample-config/${f} ${STAGEDIR}${EXAMPLESDIR}
.endfor
- ${INSTALL_MAN} ${WRKSRC}/man/npcd.8 ${STAGEDIR}${PREFIX}/man/man8
.include <bsd.port.mk>
diff --git a/net-mgmt/pnp/pkg-plist b/net-mgmt/pnp/pkg-plist
index 336b458d670a..774ef45eddfb 100644
--- a/net-mgmt/pnp/pkg-plist
+++ b/net-mgmt/pnp/pkg-plist
@@ -271,10 +271,10 @@ libexec/check_pnp_rrds.pl
libexec/process_perfdata.pl
libexec/rrd_convert.pl
libexec/rrd_modify.pl
-man/man8/npcd.8.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/httpd.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lighttpd.pnp4nagios.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nginx.pnp4nagios.conf
+share/man/man8/npcd.8.gz
%%WWWDIR%%/application/config/config.php
%%WWWDIR%%/application/config/locale.php
%%WWWDIR%%/application/config/routes.php