blob: 40c21d0061db28ee31d160bd22a0c497183ceea6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $NetBSD: Makefile,v 1.9 2015/08/07 11:20:33 jaapb Exp $
#
VERSION= 0.7
DISTNAME= ${VERSION}
PKGNAME= ocaml-deriving-ocsigen-${VERSION}
COMMENT= Extension to OCaml for deriving functions from type declarations
PKGREVISION= 3
CATEGORIES= devel
MASTER_SITES= https://github.com/ocsigen/deriving/archive/
DIST_SUBDIR= ocaml-deriving-ocsigen
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= http://github.com/ocsigen/deriving
LICENSE= mit
WRKSRC= ${WRKDIR}/deriving-${VERSION}
USE_TOOLS= gmake
OCAML_USE_OASIS= yes
post-patch:
cd ${WRKSRC} && oasis setup
# Package actually needs ocaml-oasis to be installed
.include "../../devel/ocaml-oasis/buildlink3.mk"
.include "../../devel/ocaml-optcomp/buildlink3.mk"
BUILDLINK_API_DEPENDS.ocaml-optcomp+= ocaml-optcomp>=1.6
.include "../../lang/camlp4/buildlink3.mk"
.include "../../mk/ocaml.mk"
.include "../../mk/bsd.pkg.mk"
|