net/openntpd: Sanitize MANPREFIX

Approved by:    portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2024-01-22 16:11:21 +01:00
parent c61055d7db
commit 58509c89c5
3 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= openntpd
PORTVERSION= 6.8p1
PORTREVISION= 8
PORTREVISION= 9
PORTEPOCH= 2
CATEGORIES= net
MASTER_SITES= OPENBSD/OpenNTPD
@ -22,9 +22,9 @@ USERS= _ntp
GROUPS= _ntp
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
SUB_FILES= 480.status-openntpd pkg-message
SUB_LIST= MANPREFIX="${MANPREFIX}"
pre-build:
${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \

View file

@ -1,11 +1,11 @@
[
{ type: install
message: <<EOM
OpenNTPD's man page has been installed as %%MANPREFIX%%/man/man8/ntpd.8.
OpenNTPD's man page has been installed as %%PREFIX%%/share/man/man8/ntpd.8.
To view it instead of the base system ntpd's, override the manual search
path:
MANPATH=%%MANPREFIX%%/man man ntpd
MANPATH=%%PREFIX%%/share/man man ntpd
EOM
}
]

View file

@ -1,7 +1,7 @@
@sample etc/ntpd.conf.sample
etc/periodic/daily/480.status-openntpd
man/man5/ntpd.conf.5.gz
man/man8/ntpctl.8.gz
man/man8/ntpd.8.gz
share/man/man5/ntpd.conf.5.gz
share/man/man8/ntpctl.8.gz
share/man/man8/ntpd.8.gz
sbin/ntpctl
sbin/ntpd