ports/156473: [new port] textproc/ocaml-text - OCaml library to deal with text

Jaap Boender jaapb at kerguelen.org
Mon Apr 18 13:00:33 UTC 2011


>Number:         156473
>Category:       ports
>Synopsis:       [new port] textproc/ocaml-text - OCaml library to deal with text
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 18 13:00:31 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jaap Boender
>Release:        8.2-STABLE
>Organization:
>Environment:
FreeBSD vanrossum.irill.org 8.2-STABLE FreeBSD 8.2-STABLE #1: Thu Apr  7 14:20:38 CEST 2011     root at vanrossum.irill.org:/usr/obj/usr/src/sys/VANROSSUM  amd64

>Description:
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/
>How-To-Repeat:
n/a
>Fix:
shar included.

Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ocaml-text
#	ocaml-text/pkg-plist
#	ocaml-text/Makefile
#	ocaml-text/pkg-descr
#	ocaml-text/distinfo
#
echo c - ocaml-text
mkdir -p ocaml-text > /dev/null 2>&1
echo x - ocaml-text/pkg-plist
sed 's/^X//' >ocaml-text/pkg-plist << 'deac6ce64fe85ca47d9ecf2d9e93cbfb'
X%%DOCSDIR%%/api/Encoding.html
X%%DOCSDIR%%/api/Text.html
X%%DOCSDIR%%/api/index.html
X%%DOCSDIR%%/api/index_attributes.html
X%%DOCSDIR%%/api/index_class_types.html
X%%DOCSDIR%%/api/index_classes.html
X%%DOCSDIR%%/api/index_exceptions.html
X%%DOCSDIR%%/api/index_methods.html
X%%DOCSDIR%%/api/index_module_types.html
X%%DOCSDIR%%/api/index_modules.html
X%%DOCSDIR%%/api/index_types.html
X%%DOCSDIR%%/api/index_values.html
X%%DOCSDIR%%/api/style.css
X%%DOCSDIR%%/api/type_Encoding.html
X%%DOCSDIR%%/api/type_Text.html
X at dirrm %%DOCSDIR%%/api
X%%DOCSDIR%%/manual.pdf
X at dirrm %%DOCSDIR%%
deac6ce64fe85ca47d9ecf2d9e93cbfb
echo x - ocaml-text/Makefile
sed 's/^X//' >ocaml-text/Makefile << '06abc06ea2f3f3269cb8528745f8485a'
X# New ports collection makefile for: ocaml-text
X# Date created: April 18, 2011
X# Whom: Jaap Boender <jaapb at kerguelen.org>
X#
X# $FreeBSD$
X
XPORTNAME=	text
XPORTVERSION=	0.4
XCATEGORIES=	devel
XMASTER_SITES=	http://forge.ocamlcore.org/frs/download.php/537/
XPKGNAMEPREFIX=	ocaml-
XDISTNAME=	${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
X
XMAINTAINER=	jaapb at kerguelen.org
XCOMMENT=	OCaml library for dealing with text
X
XDOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
X
XHAS_CONFIGURE=		yes
XCONFIGURE_ARGS=		--docdir ${DOCSDIR} --prefix ${PREFIX} --mandir ${PREFIX}/man
XUSE_GMAKE=		yes
X
XUSE_OCAML=		yes
XUSE_OCAML_FINDLIB=	yes
XUSE_OCAML_LDCONFIG=	yes
XUSE_OCAMLFIND_PLIST=	yes
X
XOPTIONS=	PCRE "Compile with PCRE support" ON
X
XSA_DIR=			${LOCALBASE}/${OCAML_SITELIBDIR}
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITHOUT_PCRE)
XCONFIGURE_ARGS+=	--disable-pcre
X.else
XCONFIGURE_ARGS+=	--enable-pcre
XBUILD_DEPENDS+=		${SA_DIR}/pcre/pcre.a:${PORTSDIR}/devel/ocaml-pcre
XRUN_DEPENDS+=		${SA_DIR}/pcre/pcre.a:${PORTSDIR}/devel/ocaml-pcre
X.endif
X
Xpost-extract:
X# For nonstandard prefixes
X.if !exists(${OCAMLFIND_DESTDIR})
X	${MKDIR} ${OCAMLFIND_DESTDIR}
X.endif
X.if !exists(${OCAMLFIND_LDCONF})
X	${TOUCH} ${OCAMLFIND_LDCONF}
X.endif
X
X.include <bsd.port.post.mk>
06abc06ea2f3f3269cb8528745f8485a
echo x - ocaml-text/pkg-descr
sed 's/^X//' >ocaml-text/pkg-descr << '914291d4f71190eb1c4d131111989ad6'
XOCaml-Text is a library for dealing with ``text'', i.e. a sequence of Unicode
Xcharacters, in a convenient way.
X
XWWW: http://forge.ocamlcore.org/projects/ocaml-text/
914291d4f71190eb1c4d131111989ad6
echo x - ocaml-text/distinfo
sed 's/^X//' >ocaml-text/distinfo << '4a00b9846bff900e63e6b54dda92a992'
XSHA256 (ocaml-text-0.4.tar.gz) = 1837f3eb4e823e0c332ff96c6873795c804bd6c5e9604262d1510ca8999e0f31
XSIZE (ocaml-text-0.4.tar.gz) = 240358
4a00b9846bff900e63e6b54dda92a992
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list