29 lines
801 B
Makefile
29 lines
801 B
Makefile
# $NetBSD: Makefile,v 1.12 2016/12/30 11:16:58 jaapb Exp $
|
|
#
|
|
|
|
VERSION= 0.7.1
|
|
GITHUB_PROJECT= deriving
|
|
DISTNAME= ${GITHUB_PROJECT}-${VERSION}
|
|
PKGNAME= ocaml-${GITHUB_PROJECT}-ocsigen-${VERSION}
|
|
PKGREVISION= 1
|
|
COMMENT= Extension to OCaml for deriving functions from type declarations
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=ocsigen/}
|
|
|
|
MAINTAINER= jaapb@NetBSD.org
|
|
HOMEPAGE= http://github.com/ocsigen/deriving
|
|
LICENSE= mit
|
|
|
|
USE_TOOLS= gmake
|
|
OCAML_USE_OASIS= yes
|
|
OCAML_FINDLIB_DIRS= deriving
|
|
|
|
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"
|
|
.include "../../lang/camlp4/buildlink3.mk"
|
|
.include "../../mk/ocaml.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|