aboutsummaryrefslogtreecommitdiff
path: root/biology/njplot
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-01-03 15:46:52 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-01-03 15:46:52 +0000
commit955d37365b6f6918a963a5ec58d42d476ad35376 (patch)
tree207a8a09b4099789858b3482aafceec341e79e71 /biology/njplot
parentf5da53d279df636b600a231acd6756159f779c34 (diff)
Notes
Diffstat (limited to 'biology/njplot')
-rw-r--r--biology/njplot/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/biology/njplot/Makefile b/biology/njplot/Makefile
index b1452be06fb8..5bd019723a73 100644
--- a/biology/njplot/Makefile
+++ b/biology/njplot/Makefile
@@ -31,6 +31,8 @@ PORTDOCS= njplot.help njplot.html njplot.gif
MAN1= njplot.1 unrooted.1
NO_STAGE= yes
+.include <bsd.port.options.mk>
+
.ifdef (WITHOUT_X11)
post-patch:
${REINPLACE_CMD} -e 's|njplot.*unrooted||' ${WRKSRC}/makefile
@@ -43,7 +45,7 @@ do-install:
.for file in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/man/man1
.endfor
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}