2013-11-01 11:32:53 +01:00
|
|
|
# $NetBSD: Makefile,v 1.2 2013/11/01 10:32:53 jaapb Exp $
|
2013-07-03 12:40:33 +02:00
|
|
|
|
|
|
|
PKGNAME= ocaml-${DISTNAME}
|
2013-11-01 11:32:53 +01:00
|
|
|
DISTNAME= batteries-2.1
|
2013-07-03 12:40:33 +02:00
|
|
|
CATEGORIES= devel
|
2013-11-01 11:32:53 +01:00
|
|
|
MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/1218/
|
2013-07-03 12:40:33 +02:00
|
|
|
|
|
|
|
MAINTAINER= jaapb@NetBSD.org
|
|
|
|
HOMEPAGE= http://batteries.forge.ocamlcore.org/
|
|
|
|
COMMENT= Alternative standard library for OCaml
|
|
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
|
|
|
|
USE_TOOLS+= gmake
|
2013-11-01 11:32:53 +01:00
|
|
|
INSTALLATION_DIRS= lib/ocaml/site-lib
|
|
|
|
|
|
|
|
MAKE_ENV= DESTDIR="${DESTDIR}" PREFIX="${PREFIX}"
|
2013-07-03 12:40:33 +02:00
|
|
|
|
|
|
|
PLIST_VARS= opt
|
|
|
|
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
|
|
|
|
(${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
|
|
|
|
PLIST.opt= yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../devel/ocaml-findlib/buildlink3.mk"
|
|
|
|
.include "../../lang/ocaml/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|