aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2010-11-21 21:47:54 +0800
committerkwm <kwm@FreeBSD.org>2010-11-21 21:47:54 +0800
commitf26a6622ffa0cc626381e436aa9007a7b28a1880 (patch)
treee17c84063799a771ccd2dc17418a5e9ee9925e24
parentf0eb34e90f4483213933bad2d0b3e489bf011cc3 (diff)
downloadfreebsd-ports-graphics-f26a6622ffa0cc626381e436aa9007a7b28a1880.tar.gz
freebsd-ports-graphics-f26a6622ffa0cc626381e436aa9007a7b28a1880.tar.zst
freebsd-ports-graphics-f26a6622ffa0cc626381e436aa9007a7b28a1880.zip
Mark the -reference ports IGNORE when NOPORTDOCS is set.
It doesn't make sense to support that for ports that only install docs. Submitted by: QAT
-rw-r--r--devel/glib20-reference/bsd.gnome-reference.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/glib20-reference/bsd.gnome-reference.mk b/devel/glib20-reference/bsd.gnome-reference.mk
index d09035b78d4..107d19c26c1 100644
--- a/devel/glib20-reference/bsd.gnome-reference.mk
+++ b/devel/glib20-reference/bsd.gnome-reference.mk
@@ -5,6 +5,10 @@ REFERENCE_PORT= ${PKGORIGIN:S|-reference$||}
.include "${PARENTDIR}/Makefile"
+.if defined(NOPORTDOCS)
+IGNORE= This port installs documents, but you have selected NOPORTDOCS
+.endif
+
.if !defined(DOCSDIR)
DOCSDIR:= ${PREFIX}/share/doc/${PORTNAME}
.endif