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
This commit is contained in:
Koop Mast 2010-11-21 13:47:54 +00:00
parent 40d3035dc2
commit c7a6afa562
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=264869

View file

@ -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