1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Update to 113.00.00

- Add LICENSE_FILE
- Update *_DEPENDS for devel/ocaml-type_conv renaming
- Strip OCaml plugin files
- Convert to new options target helper
- Cosmetic change

Changes:	https://github.com/janestreet/sexplib/blob/master/CHANGES.md
		https://github.com/janestreet/sexplib/commits/master
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-11-20 13:20:29 +00:00
parent 6bce0fd82a
commit 5340cc7b4a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=402073
2 changed files with 26 additions and 25 deletions

View File

@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= sexplib
PORTVERSION= 111.03.00
PORTVERSION= 113.00.00
MASTER_SITES= https://ocaml.janestreet.com/ocaml-core/${PORTVERSION:R}/files/
CATEGORIES= devel
MASTER_SITES= https://ocaml.janestreet.com/ocaml-core/${PORTVERSION}/individual/
PKGNAMEPREFIX= ocaml-
MAINTAINER= ports@FreeBSD.org
@ -12,31 +12,32 @@ COMMENT= OCaml library for working with S-expressions
LICENSE= APACHE20 BSD3CLAUSE
LICENSE_COMB= multi
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.txt
LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/LICENSE-Tywith.txt
BUILD_DEPENDS= ocaml-type-conv>0:${PORTSDIR}/devel/ocaml-typeconv
RUN_DEPENDS= ocaml-type-conv>0:${PORTSDIR}/devel/ocaml-typeconv
USE_OCAML= yes
USE_OCAML_FINDLIB=yes
USE_OCAML_CAMLP4=yes
USE_OCAMLFIND_PLIST=yes
OCAML_PKGDIRS= ${PORTNAME} ${PORTNAME}_num ${PORTNAME}_unix
USES= gmake
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix ${PREFIX} --disable-docs
MAKE_JOBS_UNSAFE= yes
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
PORTDOCS= *
BUILD_DEPENDS= ocaml-type_conv>=0:${PORTSDIR}/devel/ocaml-type_conv
RUN_DEPENDS= ocaml-type_conv>=0:${PORTSDIR}/devel/ocaml-type_conv
OPTIONS_DEFINE= DOCS
CONFIGURE_ARGS= --disable-docs --prefix ${PREFIX}
HAS_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
USE_OCAML= yes
USE_OCAML_FINDLIB= yes
USE_OCAML_CAMLP4= yes
USE_OCAMLFIND_PLIST= yes
USES= gmake
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
OCAML_PKGDIRS= ${PORTNAME} ${PORTNAME}_num ${PORTNAME}_unix
PORTDOCS= *
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in CHANGES.txt README.md
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
.endfor
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/sexplib*/*.cmxs
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGES.md README.md ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (sexplib-111.03.00.tar.gz) = 298cacd43b2d9e5588d3cecdee389f6356f4bc2eaf02250fe95ad351e4f990db
SIZE (sexplib-111.03.00.tar.gz) = 131453
SHA256 (sexplib-113.00.00.tar.gz) = df91f1b4aae3936856cbb00a621a2c40f6b56c06670e1513b2b60698ab8240e4
SIZE (sexplib-113.00.00.tar.gz) = 136960