summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/miniupnpd/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/miniupnpd/Makefile b/net/miniupnpd/Makefile
index 4c9a2ea1e505..5a4fbb0bdcf4 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 <bsd.port.mk>