net-mgmt/pnp: Move manpages to share/man

Approved by:	portmgr (blanket)
2024Q2
Gleb Popov 2024-03-26 12:34:42 +03:00
parent a6b0c5ac22
commit c0b099e19f
2 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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