pkgsrc/textproc/ocaml-uchar/Makefile
rillig 768cd99f7f textproc: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-04 21:43:32 +00:00

34 lines
864 B
Makefile

# $NetBSD: Makefile,v 1.9 2019/11/04 21:43:39 rillig Exp $
VERSION= 0.0.2
GITHUB_PROJECT= uchar
GITHUB_TAG= v${VERSION}
DISTNAME= ${GITHUB_PROJECT}-${VERSION}
PKGNAME= ocaml-${DISTNAME}
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=ocaml/}
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= https://github.com/ocaml/uchar/
COMMENT= Compatibility library for the OCaml UChar module
LICENSE= gnu-lgpl-v2.1
INSTALLATION_DIRS= ${OCAML_SITELIBDIR}/uchar
.include "../../mk/ocaml.mk"
.if ${OCAML_USE_OPT_COMPILER} == "yes"
NATIVE= true
.else
NATIVE= false
.endif
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ocaml ./pkg/build.ml \
native=${NATIVE} native-dynlink=${NATIVE}
do-install:
${INSTALL_DATA} ${WRKSRC}/pkg/META.empty ${DESTDIR}${PREFIX}/${OCAML_SITELIBDIR}/uchar/META
.include "../../devel/ocamlbuild/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"