aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-05 08:15:40 +0800
committeradamw <adamw@FreeBSD.org>2014-07-05 08:15:40 +0800
commit04e364bf82cc9f3d361c17135c937bd2ac98093a (patch)
treebb17be204d0e5780da6e879f91e580a78c048e12
parent6820a1069893ad8a31f8979ace8e29030764d14f (diff)
downloadfreebsd-ports-gnome-04e364bf82cc9f3d361c17135c937bd2ac98093a.tar.gz
freebsd-ports-gnome-04e364bf82cc9f3d361c17135c937bd2ac98093a.tar.zst
freebsd-ports-gnome-04e364bf82cc9f3d361c17135c937bd2ac98093a.zip
Missed a NOPORTDOCS.
-rw-r--r--biology/garlic/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/biology/garlic/Makefile b/biology/garlic/Makefile
index 3579c61f84c0..3e987d01a3b4 100644
--- a/biology/garlic/Makefile
+++ b/biology/garlic/Makefile
@@ -6,9 +6,6 @@ PORTVERSION= 1.6
CATEGORIES= biology
MASTER_SITES= http://www.zucic.org/sources/garlic-${PORTVERSION}/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
-.if !defined(NOPORTDOCS)
-DISTFILES+= ${DISTNAME}-doc${EXTRACT_SUFX}
-.endif
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= maho@FreeBSD.org
@@ -22,6 +19,10 @@ OPTIONS_DEFINE= DOCS EXAMPLES OPTIMIZED_CFLAGS
.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MDOCS}
+DISTFILES+= ${DISTNAME}-doc${EXTRACT_SUFX}
+.endif
+
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double
.if (${ARCH} == "i386")