1 # $NetBSD: Makefile,v 1.22 2000/04/24 14:14:35 dmcmahill Exp $
4 DISTNAME= gnome-print-0.18
5 CATEGORIES= print gnome
6 MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/gnome-print/}
8 MAINTAINER= rh@netbsd.org
9 HOMEPAGE= http://www.levien.com/gnome/print-arch.html
11 DEPENDS+= gnome-libs>=1.0.56:../../x11/gnome-libs
12 DEPENDS+= libxml>=1.8.5:../../textproc/libxml
13 DEPENDS+= ghostscript{,-nox11,-x11}-[0-9]*:../../print/ghostscript-x11
15 USE_LIBTOOL= # defined
16 USE_X11BASE= # defined
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}
24 CPPFLAGS+= -I${LOCALBASE}/include
25 LDFLAGS+= -L${LOCALBASE}/lib
26 LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
28 .include "../../mk/bsd.pkg.mk"