aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2024-03-26 09:34:42 +0000
committerGleb Popov <arrowd@FreeBSD.org>2024-03-26 09:34:42 +0000
commitc0b099e19f23073f68967ba99502878fb999358b (patch)
treea81e467f685b599195a7cf7803388176399bc633
parenta6b0c5ac22174ead110d0c633a22664b1f98863f (diff)
downloadports-c0b099e19f23073f68967ba99502878fb999358b.tar.gz
ports-c0b099e19f23073f68967ba99502878fb999358b.zip
net-mgmt/pnp: Move manpages to share/man
Approved by: portmgr (blanket)
-rw-r--r--net-mgmt/pnp/Makefile4
-rw-r--r--net-mgmt/pnp/pkg-plist2
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