Merge from vendor branch TNF:
[pkgsrc.git] / print / gnome-print / Makefile
1 # $NetBSD: Makefile,v 1.26 2000/05/31 09:15:18 rh Exp $
2 #
3
4 DISTNAME=               gnome-print-0.20
5 CATEGORIES=             print gnome
6 MASTER_SITES=           ${MASTER_SITE_GNOME:=stable/sources/gnome-print/}
7
8 MAINTAINER=             rh@netbsd.org
9 HOMEPAGE=               http://www.levien.com/gnome/print-arch.html
10
11 DEPENDS+=               gnome-libs>=1.0.56:../../x11/gnome-libs
12 DEPENDS+=               libxml>=1.8.5:../../textproc/libxml
13 DEPENDS+=               ghostscript{,-nox11}-[6-9]*:../../print/ghostscript
14
15 USE_PKGLIBTOOL=         # defined
16 USE_X11BASE=            # defined
17
18 GNU_CONFIGURE=          # defined
19 CONFIGURE_ENV+=         GHOSTSCRIPT=${LOCALBASE}/bin/gs
20 CONFIGURE_ENV+=         CPPFLAGS="${CPPFLAGS}"
21 #override HOME to avoid trying to install ${HOME}/.gnome
22 MAKE_ENV+=              HOME=${WRKSRC}
23
24 CPPFLAGS+=              -I${LOCALBASE}/include
25 LDFLAGS+=               -L${LOCALBASE}/lib
26 LTCONFIG_OVERRIDE=      ${WRKSRC}/ltconfig
27
28 .include "../../mk/bsd.pkg.mk"