From faaebb8bc061e689bab47910fbf96eddadd2ea6f Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 26 Feb 2024 11:02:43 +0100 Subject: [PATCH] net/miniupnpd: sync with upstream Taken from: FreeBSD --- net/miniupnpd/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/net/miniupnpd/Makefile b/net/miniupnpd/Makefile index 4c9a2ea1e50..5a4fbb0bdcf 100644 --- a/net/miniupnpd/Makefile +++ b/net/miniupnpd/Makefile @@ -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