From 429870557ea0581164248b6ee417062efbc5e731 Mon Sep 17 00:00:00 2001 From: dinoex Date: Thu, 16 Dec 2010 06:07:56 +0000 Subject: - fix installation of manpage Submitted by: mi (Mikhail T.) --- net/miniupnpc/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'net') 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 -.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 -- cgit