aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2014-04-26 21:06:32 +0800
committergarga <garga@FreeBSD.org>2014-04-26 21:06:32 +0800
commit4a293b515a852c1e5c3eb1c762b45068a02e850d (patch)
treeb18ff7c33edbe105d5242a24e42392c8b03fbd44
parentfa4ff41217c0512aa1ec2aeb04e140395963d6cd (diff)
downloadfreebsd-ports-gnome-4a293b515a852c1e5c3eb1c762b45068a02e850d.tar.gz
freebsd-ports-gnome-4a293b515a852c1e5c3eb1c762b45068a02e850d.tar.zst
freebsd-ports-gnome-4a293b515a852c1e5c3eb1c762b45068a02e850d.zip
Fix build when WITHOUT_MAN is defined
PR: ports/189008 Submitted by: Lev Serebryakov <lev@FreeBSD.org>
-rw-r--r--net/mpd5/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/mpd5/Makefile b/net/mpd5/Makefile
index 63466742d28f..543a6b54ed96 100644
--- a/net/mpd5/Makefile
+++ b/net/mpd5/Makefile
@@ -38,6 +38,10 @@ DOCSDIR= ${PREFIX}/share/doc/mpd5
PORTDOCS= ${HTMLNUM:S/^/mpd/:S/$/.html/} mpd.html mpd.ps README \
mpd_toc.html
PLIST_DIRS= etc/mpd5
-PLIST_FILES= ${CONFSUF:S/^/etc\/mpd5\/mpd./:S/$/.sample/} sbin/mpd5 man/man8/mpd5.8.gz
+PLIST_FILES= ${CONFSUF:S/^/etc\/mpd5\/mpd./:S/$/.sample/} sbin/mpd5
+
+.if !defined(WITHOUT_MAN)
+PLIST_FILES+= man/man8/mpd5.8.gz
+.endif
.include <bsd.port.mk>