diff options
author | jaapb <jaapb@pkgsrc.org> | 2014-10-10 08:37:49 +0000 |
---|---|---|
committer | jaapb <jaapb@pkgsrc.org> | 2014-10-10 08:37:49 +0000 |
commit | 91895dc266482a97ecb5f61745c20115639c92c8 (patch) | |
tree | 317d692275218dd163477b4f044747895031cd8b /x11/ocaml-lablgtk/Makefile | |
parent | 87b8ac73f46b340fc53006afc501fdc7c44ac7e8 (diff) | |
download | pkgsrc-91895dc266482a97ecb5f61745c20115639c92c8.tar.gz |
Re-imported x11/lablgtk as x11/ocaml-lablgtk to better reflect PKGNAME
Diffstat (limited to 'x11/ocaml-lablgtk/Makefile')
-rw-r--r-- | x11/ocaml-lablgtk/Makefile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/x11/ocaml-lablgtk/Makefile b/x11/ocaml-lablgtk/Makefile new file mode 100644 index 00000000000..99bca00039e --- /dev/null +++ b/x11/ocaml-lablgtk/Makefile @@ -0,0 +1,47 @@ +# $NetBSD: Makefile,v 1.1 2014/10/10 08:37:49 jaapb Exp $ +# + +DISTNAME= lablgtk-2.18.2 +CATEGORIES= x11 +MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/1456/ + +MAINTAINER= jaapb@NetBSD.org +HOMEPAGE= http://lablgtk.forge.ocamlcore.org/ +COMMENT= GTK+ 2.x bindings for Objective Caml +# for installed files; more restrictions on applications/ +LICENSE= gnu-lgpl-v2 + +GNU_CONFIGURE= yes +USE_TOOLS+= gmake pkg-config +OCAML_USE_FINDLIB= yes + +MAKE_JOBS_SAFE= no +BUILD_TARGET= world + +BUILDLINK_DEPMETHOD.ocaml= full + +CONFLICTS= lablgtk-[0-9]* +SUPERSEDES= lablgtk-[0-9]* + +.include "../../mk/bsd.prefs.mk" + +# Stub libraries for functions missing from base system. +PLIST_VARS+= stubs opt + +.if ${OPSYS} == "Darwin" || ${OPSYS} == "DragonFly" || \ + ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || \ + ${OPSYS} == "SunOS" || ${OPSYS} == "Linux" +PLIST.stubs= yes +.endif + +.include "../../mk/ocaml.mk" + +.if ${OCAML_USE_OPT_COMPILER} == "yes" +PLIST.opt= yes +.endif + +.include "options.mk" + +.include "../../lang/camlp4/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" |