aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-12-16 14:07:56 +0800
committerdinoex <dinoex@FreeBSD.org>2010-12-16 14:07:56 +0800
commit429870557ea0581164248b6ee417062efbc5e731 (patch)
tree5b60a2f5a1825df0b58b88b02c422fe432faca00 /net
parent70c5ae34cf9391ba377183ff27c21c68359fa1cb (diff)
downloadfreebsd-ports-graphics-429870557ea0581164248b6ee417062efbc5e731.tar.gz
freebsd-ports-graphics-429870557ea0581164248b6ee417062efbc5e731.tar.zst
freebsd-ports-graphics-429870557ea0581164248b6ee417062efbc5e731.zip
- fix installation of manpage
Submitted by: mi (Mikhail T.)
Diffstat (limited to 'net')
-rw-r--r--net/miniupnpc/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/net/miniupnpc/Makefile b/net/miniupnpc/Makefile
index 2846a2782e2..9c3a9f2cba2 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