26 lines
647 B
Makefile
26 lines
647 B
Makefile
# $NetBSD: Makefile,v 1.16 2018/11/12 16:10:20 jaapb Exp $
|
|
|
|
VERSION= 1.6
|
|
GITHUB_PROJECT= optcomp
|
|
DISTNAME= ${GITHUB_PROJECT}-${VERSION}
|
|
PKGNAME= ocaml-${DISTNAME}
|
|
PKGREVISION= 12
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=diml/}
|
|
|
|
MAINTAINER= jaapb@NetBSD.org
|
|
HOMEPAGE= https://github.com/diml/optcomp/
|
|
COMMENT= OCaml syntax extension for optional compilation
|
|
LICENSE= modified-bsd
|
|
|
|
SUPERSEDES= optcomp-[0-9]*
|
|
|
|
OCAML_USE_OASIS= yes
|
|
|
|
pre-configure:
|
|
${RUN} cd ${WRKSRC} && oasis setup
|
|
|
|
.include "../../mk/ocaml.mk"
|
|
.include "../../devel/ocaml-oasis/buildlink3.mk"
|
|
.include "../../lang/camlp4/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|