1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

OCaml-Text is a library for dealing with ``text'', i.e. a sequence of Unicode

characters, in a convenient way.

WWW: http://forge.ocamlcore.org/projects/ocaml-text/

PR:		ports/156473
Submitted by:	Jaap Boender <jaapb@kerguelen.org>
This commit is contained in:
Wen Heping 2011-06-01 08:48:18 +00:00
parent 019580dfe3
commit afdab4d17e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=274919
5 changed files with 76 additions and 0 deletions

View File

@ -418,6 +418,7 @@
SUBDIR += ocaml-csv
SUBDIR += ocaml-expat
SUBDIR += ocaml-pxp
SUBDIR += ocaml-text
SUBDIR += odt2txt
SUBDIR += openfts
SUBDIR += openjade

View File

@ -0,0 +1,51 @@
# New ports collection makefile for: ocaml-text
# Date created: April 18, 2011
# Whom: Jaap Boender <jaapb@kerguelen.org>
#
# $FreeBSD$
PORTNAME= text
PORTVERSION= 0.4
CATEGORIES= textproc
MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/537/
PKGNAMEPREFIX= ocaml-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
MAINTAINER= jaapb@kerguelen.org
COMMENT= OCaml library for dealing with text
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --docdir ${DOCSDIR} --prefix ${PREFIX} --mandir ${PREFIX}/man
USE_GMAKE= yes
USE_OCAML= yes
USE_OCAML_FINDLIB= yes
USE_OCAML_LDCONFIG= yes
USE_OCAMLFIND_PLIST= yes
OPTIONS= PCRE "Compile with PCRE support" ON
SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR}
.include <bsd.port.pre.mk>
.if defined(WITHOUT_PCRE)
CONFIGURE_ARGS+= --disable-pcre
.else
CONFIGURE_ARGS+= --enable-pcre
BUILD_DEPENDS+= ${SA_DIR}/pcre/pcre.a:${PORTSDIR}/devel/ocaml-pcre
RUN_DEPENDS+= ${SA_DIR}/pcre/pcre.a:${PORTSDIR}/devel/ocaml-pcre
.endif
post-extract:
# For nonstandard prefixes
.if !exists(${OCAMLFIND_DESTDIR})
${MKDIR} ${OCAMLFIND_DESTDIR}
.endif
.if !exists(${OCAMLFIND_LDCONF})
${TOUCH} ${OCAMLFIND_LDCONF}
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
SHA256 (ocaml-text-0.4.tar.gz) = 1837f3eb4e823e0c332ff96c6873795c804bd6c5e9604262d1510ca8999e0f31
SIZE (ocaml-text-0.4.tar.gz) = 240358

View File

@ -0,0 +1,4 @@
OCaml-Text is a library for dealing with ``text'', i.e. a sequence of Unicode
characters, in a convenient way.
WWW: http://forge.ocamlcore.org/projects/ocaml-text/

View File

@ -0,0 +1,18 @@
%%DOCSDIR%%/api/Encoding.html
%%DOCSDIR%%/api/Text.html
%%DOCSDIR%%/api/index.html
%%DOCSDIR%%/api/index_attributes.html
%%DOCSDIR%%/api/index_class_types.html
%%DOCSDIR%%/api/index_classes.html
%%DOCSDIR%%/api/index_exceptions.html
%%DOCSDIR%%/api/index_methods.html
%%DOCSDIR%%/api/index_module_types.html
%%DOCSDIR%%/api/index_modules.html
%%DOCSDIR%%/api/index_types.html
%%DOCSDIR%%/api/index_values.html
%%DOCSDIR%%/api/style.css
%%DOCSDIR%%/api/type_Encoding.html
%%DOCSDIR%%/api/type_Text.html
@dirrm %%DOCSDIR%%/api
%%DOCSDIR%%/manual.pdf
@dirrm %%DOCSDIR%%