aboutsummaryrefslogtreecommitdiffstats
path: root/math/ocaml-ocamlgraph
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2009-06-26 20:38:45 +0800
committerjohans <johans@FreeBSD.org>2009-06-26 20:38:45 +0800
commitdc7d6ef6978c01d70ba5f32d5b801a5a0cbc3a25 (patch)
tree1aa81091242848b69861b2646bf4a2d117b25b45 /math/ocaml-ocamlgraph
parent06d38ad8584c84f5de8e54b9135c8ed4a744141a (diff)
downloadfreebsd-ports-gnome-dc7d6ef6978c01d70ba5f32d5b801a5a0cbc3a25.tar.gz
freebsd-ports-gnome-dc7d6ef6978c01d70ba5f32d5b801a5a0cbc3a25.tar.zst
freebsd-ports-gnome-dc7d6ef6978c01d70ba5f32d5b801a5a0cbc3a25.zip
Fix makefine conditionals broken by previous commit
Diffstat (limited to 'math/ocaml-ocamlgraph')
-rw-r--r--math/ocaml-ocamlgraph/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/math/ocaml-ocamlgraph/Makefile b/math/ocaml-ocamlgraph/Makefile
index 793c2881685c..4707ad4847c5 100644
--- a/math/ocaml-ocamlgraph/Makefile
+++ b/math/ocaml-ocamlgraph/Makefile
@@ -25,9 +25,6 @@ GNU_CONFIGURE= yes
PLIST_SUB+= OCAML_LIBDIR="${OCAML_LIBDIR}"
ALL_TARGET= all
-.ifndef NOPORTDOCS
-ALL_TARGET+= doc
-PORTDOCS= *
.include <bsd.port.pre.mk>
@@ -40,6 +37,10 @@ CONFIGURE_ARGS+= LABLGTK2=no
PLIST_SUB+= GUI="@comment "
.endif
+.ifndef NOPORTDOCS
+ALL_TARGET+= doc
+PORTDOCS= *
+
post-patch:
@${REINPLACE_CMD} -e '/VIEWER_DIR. doc/d' ${WRKSRC}/Makefile.in