2005-02-04 23:07:24 +01:00
|
|
|
# $NetBSD: Makefile,v 1.8 2005/02/04 22:07:24 adrianp Exp $
|
2003-08-31 03:24:36 +02:00
|
|
|
|
2005-02-04 23:07:24 +01:00
|
|
|
DISTNAME= camlimages-2.2.0
|
2003-08-31 03:24:36 +02:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ftp://ftp.inria.fr/INRIA/caml-light/bazar-ocaml/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
|
|
HOMEPAGE= http://pauillac.inria.fr/camlimages/
|
|
|
|
COMMENT= Image processing library for Objective Caml
|
|
|
|
|
2005-02-04 23:07:24 +01:00
|
|
|
BUILDLINK_DEPENDS.ocaml+= ocaml>=3.0.6
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/camlimages-2.2
|
2004-05-03 23:50:41 +02:00
|
|
|
USE_BUILDLINK3= yes
|
2003-08-31 03:24:36 +02:00
|
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2004-01-24 16:46:42 +01:00
|
|
|
USE_GNU_TOOLS+= make
|
2003-08-31 03:24:36 +02:00
|
|
|
|
2005-02-04 23:07:24 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --with-lablgtk=${PREFIX}/lib/ocaml/lablgtk
|
2003-08-31 03:24:36 +02:00
|
|
|
|
|
|
|
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || (${MACHINE_ARCH} == "sparc")
|
2005-02-04 23:07:24 +01:00
|
|
|
BUILD_TARGET+= all
|
2003-08-31 03:24:36 +02:00
|
|
|
PLIST_SRC+= ${PKGDIR}/PLIST.opt
|
|
|
|
.endif
|
|
|
|
|
2005-02-04 23:07:24 +01:00
|
|
|
.if ${OPSYS} == "Darwin"
|
|
|
|
PLIST_SRC+= ${PKGDIR}/PLIST.Darwin
|
|
|
|
.endif
|
|
|
|
|
2004-05-03 23:50:41 +02:00
|
|
|
.include "../../lang/ocaml/buildlink3.mk"
|
|
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.include "../../graphics/xpm/buildlink3.mk"
|
|
|
|
.include "../../graphics/libungif/buildlink3.mk"
|
|
|
|
.include "../../graphics/gdk-pixbuf/buildlink3.mk"
|
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
2004-12-24 18:21:01 +01:00
|
|
|
.include "../../x11/lablgtk/buildlink3.mk"
|
|
|
|
.include "../../x11/ocaml-graphics/buildlink3.mk"
|
2003-08-31 03:24:36 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|