aboutsummaryrefslogtreecommitdiff
path: root/net/miniupnpc
diff options
context:
space:
mode:
Diffstat (limited to 'net/miniupnpc')
-rw-r--r--net/miniupnpc/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/net/miniupnpc/Makefile b/net/miniupnpc/Makefile
index 2846a2782e23..9c3a9f2cba2d 100644
--- a/net/miniupnpc/Makefile
+++ b/net/miniupnpc/Makefile
@@ -26,15 +26,13 @@ CFLAGS+= -fPIC
.include <bsd.port.pre.mk>
-.if !defined(SLAVE_PORT)
-MAN3= miniupnpc.3
-.endif
-
.if defined(WITH_DEBUG)
CFLAGS+= -DDEBUG
.endif
-.if !defined(SLAVE_PORT)
+.if ${SLAVE_PORT} == no
+MAN3= miniupnpc.3
+
post-install:
${INSTALL_MAN} ${WRKSRC}/man3/miniupnpc.3 ${PREFIX}/man/man3/
.endif