pkgsrc/devel/ocaml-batteries/Makefile

27 lines
767 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.2 2013/11/01 10:32:53 jaapb Exp $
PKGNAME= ocaml-${DISTNAME}
DISTNAME= batteries-2.1
CATEGORIES= devel
MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/1218/
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= http://batteries.forge.ocamlcore.org/
COMMENT= Alternative standard library for OCaml
LICENSE= gnu-lgpl-v2.1
USE_TOOLS+= gmake
INSTALLATION_DIRS= lib/ocaml/site-lib
MAKE_ENV= DESTDIR="${DESTDIR}" PREFIX="${PREFIX}"
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"