1 # $NetBSD: Makefile,v 1.88 2013/02/06 23:21:21 jperkin Exp $
4 DISTNAME
= libgnomeprint-2.18
.8
6 CATEGORIES
= print gnome
7 MASTER_SITES
= ${MASTER_SITE_GNOME
:=sources
/libgnomeprint
/2.18/}
10 MAINTAINER
= pkgsrc-users@NetBSD.org
11 HOMEPAGE
= http
://www.levien.com
/gnome
/print-arch.html
12 COMMENT
= Library for the GNOME2 Printing Architecture
14 USE_TOOLS
+= bison flex gmake intltool msgfmt pkg-config
18 CONFIGURE_ARGS
+= --disable-gtk-doc
20 BUILDLINK_API_DEPENDS.freetype2
+= freetype2
>=2.1.4
22 PKGCONFIG_OVERRIDE
= libgnomeprint
/libgnomeprint-2.2.
pc.in
24 PKG_OPTIONS_VAR
= PKG_OPTIONS.libgnomeprint
25 PKG_SUPPORTED_OPTIONS
= cups
27 .
include "../../mk/bsd.options.mk"
30 .if
!empty
(PKG_OPTIONS
:Mcups
)
31 .
include "../../print/libgnomecups/buildlink3.mk"
32 CONFIGURE_ARGS
+= --with-cups
35 CONFIGURE_ARGS
+= --without-cups
38 CONFIGURE_ARGS
+= --without-papi
40 .
include "../../mk/bsd.prefs.mk"
42 .if
${OPSYS} == "Darwin"
43 # AC_LTDL_SHLIBEXT doesn't work on Darwin (and would give the wrong
44 # answer here even if it did).
45 CONFIGURE_ENV
+= libltdl_cv_shlibext
=so
48 PRINT_PLIST_AWK
+= /cups
/ { print "$${USE_CUPS}" $$0; next
; }
50 .
include "../../devel/gettext-lib/buildlink3.mk"
51 .
include "../../devel/glib2/buildlink3.mk"
52 .
include "../../devel/libbonobo/buildlink3.mk"
53 .
include "../../devel/pango/buildlink3.mk"
54 .
include "../../fonts/fontconfig/buildlink3.mk"
55 .
include "../../graphics/freetype2/buildlink3.mk"
56 .
include "../../graphics/libart/buildlink3.mk"
57 .
include "../../textproc/libxml2/buildlink3.mk"
58 .
include "../../mk/bsd.pkg.mk"