openbsd-ports/textproc/ocaml-text/Makefile
avsm 2a6e96791c initial import of ocaml-text-0.6, a library for dealing with unicode characters
From Christopher Zimmermann <madroach@gmerlin.de>
--
OCaml-Text is a library for dealing with ``text'', i.e. sequence of
unicode characters, in a convenient way

It supports:

  - character encoding/decoding using iconv
  - manipulation of text as UTF-8 encoded strings
  - localised text functions such as compare, upper, ...
  - human readable regular expression inside patterns
2012-08-18 22:49:29 +00:00

34 lines
805 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2012/08/18 22:49:29 avsm Exp $
COMMENT = library for dealing with unicode text
CATEGORIES = devel textproc
NAME = ocaml-text
DISTNAME = ${NAME}-0.6
MASTER_SITES = https://forge.ocamlcore.org/frs/download.php/937/
HOMEPAGE = http://ocaml-text.forge.ocamlcore.org/
# BSD3
PERMIT_PACKAGE_FTP = Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
MODULES = lang/ocaml
RUN_DEPENDS = lang/ocaml devel/ocaml-pcre
BUILD_DEPENDS = sysutils/findlib devel/ocaml-pcre
LIB_DEPENDS = converters/libiconv
WANTLIB = iconv
CONFIGURE_STYLE = oasis
CONFIGURE_ARGS = --enable-pcre
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/${NAME}
${INSTALL_DATA} ${WRKDIST}/examples/* ${PREFIX}/share/examples/${NAME}/
.include <bsd.port.mk>