pkgsrc/graphics/camlimages/Makefile
joerg 58c3144236 Mechanically replace all includes of buildlink3.mk of the following
packages with the modular Xorg equivalent. Those are falling back
to the old location by default, so this commmit doesn't change
dependencies.

graphics/xpm ==> x11/libXpm
fonts/Xft2 ==> x11/libXft
x11/Xfixes ==> x11/libXfixes
x11/xcursor ==> x11/libXcursor
x11/Xrender ==> x11/libXrender
x11/Xrandr ==> libXrandr
2006-12-15 20:32:52 +00:00

46 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.17 2006/12/15 20:32:57 joerg Exp $
DISTNAME= camlimages-2.2.0
PKGREVISION= 4
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.inria.fr/INRIA/caml-light/bazar-ocaml/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pauillac.inria.fr/camlimages/
COMMENT= Image processing library for Objective Caml
BUILDLINK_API_DEPENDS.ocaml+= ocaml>=3.0.6
WRKSRC= ${WRKDIR}/camlimages-2.2
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
.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
PLIST_SRC+= ${PKGDIR}/PLIST.opt
.endif
.if ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "Darwin" || ${OPSYS} == "NetBSD"
PLIST_SUBST+= COND_DLL=""
.else
PLIST_SUBST+= COND_DLL="@comment "
.endif
.include "../../lang/ocaml/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/libungif/buildlink3.mk"
.include "../../graphics/gdk-pixbuf/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../x11/lablgtk/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/ocaml-graphics/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"