aboutsummaryrefslogtreecommitdiff
path: root/devel/ocaml-findlib
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2011-04-27 17:43:21 +0000
committerJohan van Selst <johans@FreeBSD.org>2011-04-27 17:43:21 +0000
commit3ee36ae41cf7a6cc0c2ca85f5b6172b32d636864 (patch)
treeb43915bbbd01780026c0767b9a93acecade611c2 /devel/ocaml-findlib
parentc1c42fcce0db3dc98810d996c74e8f3c088c7fa7 (diff)
downloadports-3ee36ae41cf7a6cc0c2ca85f5b6172b32d636864.tar.gz
ports-3ee36ae41cf7a6cc0c2ca85f5b6172b32d636864.zip
Notes
Diffstat (limited to 'devel/ocaml-findlib')
-rw-r--r--devel/ocaml-findlib/Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/devel/ocaml-findlib/Makefile b/devel/ocaml-findlib/Makefile
index bd59d82d4e5a..844805d4b07b 100644
--- a/devel/ocaml-findlib/Makefile
+++ b/devel/ocaml-findlib/Makefile
@@ -48,6 +48,17 @@ post-patch:
.include <bsd.port.pre.mk>
+.if !exists(${LOCALBASE}/lib/ocaml/labltk)
+WITHOUT_TK= yes
+.endif
+
+.if defined(WITHOUT_TK)
+PLIST_SUB+= TK="@comment "
+.else
+CONFIGURE_ARGS+=-with-toolbox
+PLIST_SUB+= TK=""
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@@ -58,15 +69,4 @@ post-install:
@${CHMOD} +x ${PREFIX}/lib/ocaml/site-lib/findlib/make_wizard
.endif
-.if !exists(${LOCALBASE}/lib/ocaml/labltk)
-WITHOUT_TK= yes
-.endif
-
-.if defined(WITHOUT_TK)
-PLIST_SUB+= TK="@comment "
-.else
-CONFIGURE_ARGS+=-with-toolbox
-PLIST_SUB+= TK=""
-.endif
-
.include <bsd.port.post.mk>