aboutsummaryrefslogtreecommitdiff
path: root/devel/ocaml-findlib
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2011-04-24 13:51:44 +0000
committerJohan van Selst <johans@FreeBSD.org>2011-04-24 13:51:44 +0000
commit0626d03cbb73012805d86252abff8fc0e781d532 (patch)
tree571762395e33f71f332142d33e7898cf93013198 /devel/ocaml-findlib
parenta2e11fbdd7b3bf86d46527eeb6bd5b45c26db793 (diff)
downloadports-0626d03cbb73012805d86252abff8fc0e781d532.tar.gz
ports-0626d03cbb73012805d86252abff8fc0e781d532.zip
Notes
Diffstat (limited to 'devel/ocaml-findlib')
-rw-r--r--devel/ocaml-findlib/Makefile11
-rw-r--r--devel/ocaml-findlib/distinfo5
-rw-r--r--devel/ocaml-findlib/pkg-plist2
3 files changed, 11 insertions, 7 deletions
diff --git a/devel/ocaml-findlib/Makefile b/devel/ocaml-findlib/Makefile
index c8adc03a4c51..bd59d82d4e5a 100644
--- a/devel/ocaml-findlib/Makefile
+++ b/devel/ocaml-findlib/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= findlib
-PORTVERSION= 1.2.6
-PORTREVISION= 2
+PORTVERSION= 1.2.7
CATEGORIES= devel
MASTER_SITES= http://download.camlcity.org/download/
PKGNAMEPREFIX= ocaml-
@@ -47,14 +46,17 @@ post-patch:
-e 's,path="@SITELIB@,&:${PREFIX}/lib/ocaml,' \
${WRKSRC}/findlib.conf.in
+.include <bsd.port.pre.mk>
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR} \
"! -regex .*ref-man.*")
.endif
-
-.include <bsd.port.pre.mk>
+.if !defined(WITHOUT_TK)
+ @${CHMOD} +x ${PREFIX}/lib/ocaml/site-lib/findlib/make_wizard
+.endif
.if !exists(${LOCALBASE}/lib/ocaml/labltk)
WITHOUT_TK= yes
@@ -63,6 +65,7 @@ WITHOUT_TK= yes
.if defined(WITHOUT_TK)
PLIST_SUB+= TK="@comment "
.else
+CONFIGURE_ARGS+=-with-toolbox
PLIST_SUB+= TK=""
.endif
diff --git a/devel/ocaml-findlib/distinfo b/devel/ocaml-findlib/distinfo
index 9bc54a4f0846..e9192ab328b3 100644
--- a/devel/ocaml-findlib/distinfo
+++ b/devel/ocaml-findlib/distinfo
@@ -1,3 +1,2 @@
-MD5 (findlib-1.2.6.tar.gz) = 4924c8c3ef1208eb0fa9096c8b8bb72f
-SHA256 (findlib-1.2.6.tar.gz) = badf1d81a96322491e7ffa144c22fe04b106340b8279c15d54bd4b4d3d2ddfac
-SIZE (findlib-1.2.6.tar.gz) = 162458
+SHA256 (findlib-1.2.7.tar.gz) = c920b129e48b3b313e67b915a078ab06a9ddd2e072f3353edfa74144f256029b
+SIZE (findlib-1.2.7.tar.gz) = 163452
diff --git a/devel/ocaml-findlib/pkg-plist b/devel/ocaml-findlib/pkg-plist
index 553da9185787..b3eb216bab59 100644
--- a/devel/ocaml-findlib/pkg-plist
+++ b/devel/ocaml-findlib/pkg-plist
@@ -18,6 +18,8 @@ lib/ocaml/site-lib/findlib/fl_metascanner.mli
lib/ocaml/site-lib/findlib/fl_metatoken.cmi
lib/ocaml/site-lib/findlib/fl_package_base.cmi
lib/ocaml/site-lib/findlib/fl_package_base.mli
+%%TK%%lib/ocaml/site-lib/findlib/make_wizard
+%%TK%%lib/ocaml/site-lib/findlib/make_wizard.pattern
lib/ocaml/site-lib/findlib/topfind.cmi
lib/ocaml/site-lib/findlib/topfind.mli
lib/ocaml/site-lib/graphics/META