openbsd-ports/textproc/ocaml-text/Makefile
2013-03-15 07:45:17 +00:00

35 lines
782 B
Makefile

# $OpenBSD: Makefile,v 1.4 2013/03/15 07:45:17 ajacoutot Exp $
COMMENT = library for dealing with unicode text
CATEGORIES = devel textproc
NAME = ocaml-text
DISTNAME = ${NAME}-0.6
REVISION = 0
MASTER_SITES = https://forge.ocamlcore.org/frs/download.php/937/
HOMEPAGE = http://ocaml-text.forge.ocamlcore.org/
# BSD3
PERMIT_PACKAGE_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
# patch-setup_ml
BUILD_DEPENDS +=devel/gmake
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>