2003-05-05 18:40:38 +02:00
|
|
|
# $NetBSD: Makefile,v 1.14 2003/05/05 16:46:03 jmmv Exp $
|
2002-07-12 19:15:54 +02:00
|
|
|
#
|
|
|
|
|
2003-03-12 14:03:30 +01:00
|
|
|
DISTNAME= libgnomeprint-2.2.1.2
|
2003-05-05 18:40:38 +02:00
|
|
|
PKGREVISION= 1
|
2002-07-12 19:15:54 +02:00
|
|
|
CATEGORIES= print gnome
|
2003-02-14 21:19:46 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgnomeprint/2.2/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2002-07-12 19:15:54 +02:00
|
|
|
|
2003-01-03 16:26:54 +01:00
|
|
|
MAINTAINER= jmmv@netbsd.org
|
2002-07-12 19:15:54 +02:00
|
|
|
HOMEPAGE= http://www.levien.com/gnome/print-arch.html
|
|
|
|
COMMENT= Library for the GNOME2 Printing Architecture
|
|
|
|
|
2002-09-12 06:19:50 +02:00
|
|
|
BUILD_USES_MSGFMT= YES
|
|
|
|
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
USE_BUILDLINK2= YES
|
2003-01-10 08:39:46 +01:00
|
|
|
USE_PKGLOCALEDIR= YES
|
2002-07-12 19:15:54 +02:00
|
|
|
USE_GMAKE= YES
|
2002-10-30 08:36:11 +01:00
|
|
|
USE_X11= YES
|
2002-07-12 19:15:54 +02:00
|
|
|
USE_LIBTOOL= YES
|
2003-02-14 21:19:46 +01:00
|
|
|
|
2002-07-12 19:15:54 +02:00
|
|
|
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
|
2003-02-14 21:19:46 +01:00
|
|
|
PKGCONFIG_OVERRIDE= ${WRKSRC}/libgnomeprint/libgnomeprint-2.2.pc.in
|
2002-07-12 19:15:54 +02:00
|
|
|
|
2003-02-14 21:19:46 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-gtk-doc=no
|
|
|
|
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc/html
|
2002-07-12 19:15:54 +02:00
|
|
|
|
2003-02-17 23:22:43 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
BUILD_DEFS+= USE_CUPS
|
|
|
|
.if defined(USE_CUPS) && !empty(USE_CUPS:M[Yy][Ee][Ss])
|
|
|
|
.include "../../print/cups/buildlink2.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-cups
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-cups
|
|
|
|
.endif
|
|
|
|
|
2002-09-12 06:19:50 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink2.mk"
|
|
|
|
.include "../../devel/libbonobo/buildlink2.mk"
|
|
|
|
.include "../../devel/pango/buildlink2.mk"
|
2002-10-16 05:14:41 +02:00
|
|
|
.include "../../devel/glib2/buildlink2.mk"
|
2002-09-12 06:19:50 +02:00
|
|
|
.include "../../graphics/freetype2/buildlink2.mk"
|
|
|
|
.include "../../graphics/libart2/buildlink2.mk"
|
2002-07-12 19:15:54 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|