2012-03-03 01:11:51 +01:00
|
|
|
# $NetBSD: Makefile,v 1.80 2012/03/03 00:11:53 wiz Exp $
|
2002-07-12 19:15:54 +02:00
|
|
|
#
|
|
|
|
|
2010-10-22 21:40:28 +02:00
|
|
|
DISTNAME= libgnomeprint-2.18.8
|
2012-03-03 01:11:51 +01:00
|
|
|
PKGREVISION= 6
|
2003-12-18 12:02:47 +01:00
|
|
|
CATEGORIES= print gnome
|
2007-04-10 20:56:12 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgnomeprint/2.18/}
|
2003-12-18 12:02:47 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2002-07-12 19:15:54 +02:00
|
|
|
|
2008-04-30 15:38:14 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-12-18 12:02:47 +01:00
|
|
|
HOMEPAGE= http://www.levien.com/gnome/print-arch.html
|
|
|
|
COMMENT= Library for the GNOME2 Printing Architecture
|
2002-07-12 19:15:54 +02:00
|
|
|
|
2006-11-06 11:58:56 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2007-09-20 19:15:49 +02:00
|
|
|
USE_TOOLS+= bison flex gmake intltool msgfmt pkg-config
|
2003-12-18 12:02:47 +01:00
|
|
|
USE_PKGLOCALEDIR= YES
|
2002-07-12 19:15:54 +02:00
|
|
|
USE_LIBTOOL= YES
|
2003-12-18 12:02:47 +01:00
|
|
|
GNU_CONFIGURE= YES
|
2007-04-10 20:56:12 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-gtk-doc
|
2003-12-18 12:02:47 +01:00
|
|
|
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.1.4
|
2003-02-14 21:19:46 +01:00
|
|
|
|
2004-02-14 19:26:26 +01:00
|
|
|
PKGCONFIG_OVERRIDE= libgnomeprint/libgnomeprint-2.2.pc.in
|
2002-07-12 19:15:54 +02:00
|
|
|
|
2004-09-21 18:49:04 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.libgnomeprint
|
|
|
|
PKG_SUPPORTED_OPTIONS= cups
|
2003-02-17 23:22:43 +01:00
|
|
|
|
2004-09-21 18:49:04 +02:00
|
|
|
.include "../../mk/bsd.options.mk"
|
2004-02-11 03:30:49 +01:00
|
|
|
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST_VARS+= cups
|
2004-09-21 18:49:04 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Mcups)
|
|
|
|
.include "../../print/libgnomecups/buildlink3.mk"
|
2003-02-17 23:22:43 +01:00
|
|
|
CONFIGURE_ARGS+= --with-cups
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST.cups= yes
|
2003-02-17 23:22:43 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-cups
|
|
|
|
.endif
|
|
|
|
|
2007-11-02 12:13:57 +01:00
|
|
|
CONFIGURE_ARGS+= --without-papi
|
|
|
|
|
2004-09-21 18:49:04 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2003-09-27 23:05:22 +02:00
|
|
|
.if ${OPSYS} == "Darwin"
|
|
|
|
# AC_LTDL_SHLIBEXT doesn't work on Darwin (and would give the wrong
|
|
|
|
# answer here even if it did).
|
|
|
|
CONFIGURE_ENV+= libltdl_cv_shlibext=so
|
|
|
|
.endif
|
|
|
|
|
2004-05-04 23:39:44 +02:00
|
|
|
PRINT_PLIST_AWK+= /cups/ { print "$${USE_CUPS}" $$0; next; }
|
|
|
|
|
2004-02-11 03:30:49 +01:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
|
|
.include "../../devel/libbonobo/buildlink3.mk"
|
|
|
|
.include "../../devel/pango/buildlink3.mk"
|
2005-03-22 17:03:04 +01:00
|
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
2004-02-11 03:30:49 +01:00
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
2007-09-21 15:03:25 +02:00
|
|
|
.include "../../graphics/libart/buildlink3.mk"
|
2005-03-22 17:03:04 +01:00
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
2002-07-12 19:15:54 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|