From d99c80949f7c110dcdf91ce9ff6ed9d2df33411e Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Thu, 16 Dec 2010 06:07:56 +0000 Subject: [PATCH] - fix installation of manpage Submitted by: mi (Mikhail T.) --- net/miniupnpc/Makefile | 8 +++----- 1 file 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 -.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