net/miniupnpd: Moved man to share/man

Approved by:    portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2024-02-25 09:55:21 +01:00
parent 31cf17e054
commit 396bb0439c
No known key found for this signature in database
GPG key ID: BDB9B5A617C0BC91

View file

@ -1,6 +1,6 @@
PORTNAME= miniupnpd
DISTVERSION= 2.3.3
PORTREVISION= 2
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= net
@ -31,7 +31,7 @@ LDFLAGS+= -L${OPENSSLLIB} -lpfctl
WRKSRC_SUBDIR= miniupnpd
PLIST_FILES= etc/miniupnpd.conf.sample \
man/man8/miniupnpd.8.gz \
share/man/man8/miniupnpd.8.gz \
sbin/miniupnpd
# unconditionally use pf, ipfw does not work on FreeBSD
@ -52,6 +52,7 @@ UPNP_STRICT_CONFIGURE_ON= --strict
post-patch:
@${REINPLACE_CMD} -e 's|\(-lssl -lcrypto\)|$$(LDFLAGS) \1|g' \
${WRKSRC}/Makefile.bsd
-e 's|^INSTALLMANDIR.*|INSTALLMANDIR = ${PREFIX}/share/man|' \
${WRKSRC}/Makefile.bsd
.include <bsd.port.mk>