Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / print / libgnomeprint / Makefile
blobfe1f9bd83c647fdab895367a3ee1b55b25f52d6c
1 # $NetBSD: Makefile,v 1.88 2013/02/06 23:21:21 jperkin Exp $
4 DISTNAME= libgnomeprint-2.18.8
5 PKGREVISION= 14
6 CATEGORIES= print gnome
7 MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgnomeprint/2.18/}
8 EXTRACT_SUFX= .tar.bz2
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
15 USE_PKGLOCALEDIR= YES
16 USE_LIBTOOL= YES
17 GNU_CONFIGURE= YES
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"
29 PLIST_VARS+= cups
30 .if !empty(PKG_OPTIONS:Mcups)
31 .include "../../print/libgnomecups/buildlink3.mk"
32 CONFIGURE_ARGS+= --with-cups
33 PLIST.cups= yes
34 .else
35 CONFIGURE_ARGS+= --without-cups
36 .endif
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
46 .endif
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"