33 lines
768 B
Makefile
33 lines
768 B
Makefile
# $NetBSD: Makefile,v 1.3 2015/06/30 11:52:57 jaapb Exp $
|
|
|
|
DISTNAME= ocaml-re-1.2.2
|
|
PKGREVISION= 2
|
|
PKGNAME= ${DISTNAME} # avoid prefixing with ocaml-
|
|
CATEGORIES= devel
|
|
MASTER_SITES= https://github.com/ocaml/ocaml-re/archive/
|
|
|
|
MAINTAINER= jaapb@NetBSD.org
|
|
HOMEPAGE= http://github.com/ocaml/ocaml-re/
|
|
COMMENT= Pure OCaml regular expression library
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
USE_TOOLS+= gmake
|
|
OCAML_USE_FINDLIB= yes
|
|
CONFIGURE_ARGS+= --prefix ${PREFIX}
|
|
|
|
WRKSRC= ${WRKDIR}/ocaml-re-${DISTNAME}
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && gmake setup.bin
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} && ./setup.bin -configure ${CONFIGURE_ARGS}
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ./setup.bin -build
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && ./setup.bin -install
|
|
|
|
.include "../../mk/ocaml.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|