mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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:
parent
40d3035dc2
commit
c7a6afa562
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=264869
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue