aboutsummaryrefslogtreecommitdiff
path: root/math/ocaml-ocamlgraph
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2009-06-26 12:38:45 +0000
committerJohan van Selst <johans@FreeBSD.org>2009-06-26 12:38:45 +0000
commitb9dd10730948028873795f756b031b01f38d6a8c (patch)
tree7614620b5064623c55b3aff30f1f3c612c26e3dd /math/ocaml-ocamlgraph
parent07fe54d31b2012e02e10d182be31a47e0b8721f5 (diff)
downloadports-b9dd10730948028873795f756b031b01f38d6a8c.tar.gz
ports-b9dd10730948028873795f756b031b01f38d6a8c.zip
Fix makefine conditionals broken by previous commit
Notes
Notes: svn path=/head/; revision=236660
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