summaryrefslogtreecommitdiff
path: root/graphics/camlimages/Makefile
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2005-02-04 22:07:24 +0000
committeradrianp <adrianp@pkgsrc.org>2005-02-04 22:07:24 +0000
commitf6791034408d1a1d770f19fcc954e50710536eb2 (patch)
tree35137b03af9ffde9cab10142ff63ba09dd434e9f /graphics/camlimages/Makefile
parent63bce69908b6760c93ae6000ef6a1195d86ac142 (diff)
downloadpkgsrc-f6791034408d1a1d770f19fcc954e50710536eb2.tar.gz
- Update from camlimages from 2.11 to 2.2.0
2.11 * bug fix release 2.12 * O'Caml 3.07 port. Added support for lablgtk2.
Diffstat (limited to 'graphics/camlimages/Makefile')
-rw-r--r--graphics/camlimages/Makefile20
1 files changed, 15 insertions, 5 deletions
diff --git a/graphics/camlimages/Makefile b/graphics/camlimages/Makefile
index d7a09589261..99d3b92eefc 100644
--- a/graphics/camlimages/Makefile
+++ b/graphics/camlimages/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2004/12/24 17:21:01 jmmv Exp $
+# $NetBSD: Makefile,v 1.8 2005/02/04 22:07:24 adrianp Exp $
-DISTNAME= camlimages-2.11
-PKGREVISION= 3
+DISTNAME= camlimages-2.2.0
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.inria.fr/INRIA/caml-light/bazar-ocaml/
EXTRACT_SUFX= .tgz
@@ -10,18 +9,29 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://pauillac.inria.fr/camlimages/
COMMENT= Image processing library for Objective Caml
+BUILDLINK_DEPENDS.ocaml+= ocaml>=3.0.6
+
+WRKSRC= ${WRKDIR}/camlimages-2.2
USE_BUILDLINK3= yes
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_GNU_TOOLS+= make
-PLIST_SRC= ${PKGDIR}/PLIST
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_SRC= ${PKGDIR}/PLIST
+
+CONFIGURE_ARGS+= --with-lablgtk=${PREFIX}/lib/ocaml/lablgtk
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || (${MACHINE_ARCH} == "sparc")
-BUILD_TARGET+= all.opt
+BUILD_TARGET+= all
PLIST_SRC+= ${PKGDIR}/PLIST.opt
.endif
+.if ${OPSYS} == "Darwin"
+PLIST_SRC+= ${PKGDIR}/PLIST.Darwin
+.endif
+
.include "../../lang/ocaml/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"