- Update findlib to 1.2.7
- Actually install the toolbox if TK support is available
This commit is contained in:
parent
a2e11fbdd7
commit
0626d03cbb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=273133
3 changed files with 11 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue