2015-01-20 15:24:34 +01:00
|
|
|
# $NetBSD: Makefile,v 1.6 2015/01/20 14:24:37 jaapb Exp $
|
2012-10-10 13:25:57 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= ocaml-expat-0.9.1
|
2015-01-20 15:24:34 +01:00
|
|
|
PKGREVISION= 3
|
2012-10-10 13:25:57 +02:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= http://mmzeeman.home.xs4all.nl/ocaml/
|
|
|
|
|
|
|
|
MAINTAINER= jaapb@NetBSD.org
|
|
|
|
HOMEPAGE= http://mmzeeman.home.xs4all.nl/ocaml/
|
|
|
|
COMMENT= OCaml bindings for the expat library
|
|
|
|
LICENSE= mit
|
|
|
|
|
|
|
|
USE_TOOLS+= gmake
|
2012-12-26 11:27:14 +01:00
|
|
|
USE_LANGUAGES= c
|
2012-10-10 13:25:57 +02:00
|
|
|
BUILD_TARGET= all
|
|
|
|
|
|
|
|
PLIST_VARS+= opt
|
|
|
|
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
|
|
|
|
(${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64") || \
|
|
|
|
(${MACHINE_ARCH} == "arm")
|
|
|
|
PLIST.opt= yes
|
2013-06-16 11:45:19 +02:00
|
|
|
BUILD_TARGET+= allopt expat.cmxs
|
2012-10-10 13:25:57 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../devel/ocaml-findlib/buildlink3.mk"
|
2012-12-26 11:27:14 +01:00
|
|
|
.include "../../lang/ocaml/buildlink3.mk"
|
|
|
|
.include "../../textproc/expat/buildlink3.mk"
|
2012-10-10 13:25:57 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|