2017-07-11 14:38:24 +02:00
|
|
|
# $NetBSD: Makefile,v 1.12 2017/07/11 12:38:24 jaapb Exp $
|
2012-10-10 13:25:57 +02:00
|
|
|
#
|
|
|
|
|
2017-07-11 14:38:24 +02:00
|
|
|
VERSION= 1.0.0
|
|
|
|
GITHUB_PROJECT= ocaml-expat
|
|
|
|
GITHUB_TAG= v${VERSION}
|
|
|
|
DISTNAME= ${GITHUB_PROJECT}-${VERSION}
|
2012-10-10 13:25:57 +02:00
|
|
|
CATEGORIES= textproc
|
2017-07-11 14:38:24 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=whitequark/}
|
2012-10-10 13:25:57 +02:00
|
|
|
|
|
|
|
MAINTAINER= jaapb@NetBSD.org
|
2017-07-11 14:38:24 +02:00
|
|
|
HOMEPAGE= http://github.com/whitequark/ocaml-expat
|
2012-10-10 13:25:57 +02:00
|
|
|
COMMENT= OCaml bindings for the expat library
|
|
|
|
LICENSE= mit
|
|
|
|
|
|
|
|
USE_TOOLS+= gmake
|
2012-12-26 11:27:14 +01:00
|
|
|
USE_LANGUAGES= c
|
2016-06-25 16:31:13 +02:00
|
|
|
OCAML_USE_FINDLIB= yes
|
|
|
|
|
|
|
|
.include "../../mk/ocaml.mk"
|
|
|
|
|
2017-07-11 14:38:24 +02:00
|
|
|
BUILD_TARGET= all
|
2016-06-25 16:31:13 +02:00
|
|
|
.if (${OCAML_USE_OPT_COMPILER} == "yes")
|
2017-07-11 14:38:24 +02:00
|
|
|
BUILD_TARGET+= allopt
|
2012-10-10 13:25:57 +02:00
|
|
|
.endif
|
|
|
|
|
2012-12-26 11:27:14 +01:00
|
|
|
.include "../../textproc/expat/buildlink3.mk"
|
2012-10-10 13:25:57 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|