diff options
Diffstat (limited to 'print/gnome-print/Makefile')
-rw-r--r-- | print/gnome-print/Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/print/gnome-print/Makefile b/print/gnome-print/Makefile index ae73e073e2b..58130aac514 100644 --- a/print/gnome-print/Makefile +++ b/print/gnome-print/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.72 2006/04/17 13:46:01 wiz Exp $ +# $NetBSD: Makefile,v 1.73 2006/06/01 16:04:58 joerg Exp $ DISTNAME= gnome-print-0.37 PKGREVISION= 2 @@ -12,7 +12,7 @@ COMMENT= Prototype implementation of the Gnome Printing Architecture USE_DIRS+= gnome1-1.5 USE_PKGLOCALEDIR= YES USE_LIBTOOL= YES -USE_TOOLS+= gs:run +USE_TOOLS+= gs:run msgfmt GNU_CONFIGURE= YES CONFIGURE_ARGS+= --without-admin # currently unstable @@ -20,6 +20,18 @@ CONFIGURE_ARGS+= --without-admin # currently unstable # override HOME to avoid trying to install ${HOME}/.gnome MAKE_ENV+= HOME=${WRKSRC:Q} +.include "../../mk/bsd.prefs.mk" + +SUBST_CLASSES+= x11path +SUBST_FILES.x11path+= run-gnome-font-install +SUBST_SED.x11path+= -e 's,@X11BASE@,${X11BASE},g' +SUBST_STAGE.x11path= pre-configure + +.if ${X11_TYPE} == "xorg" +BUILD_DEPENDS+= xorg-fontsTruetype-[0-9]*:../../fonts/xorg-fontsTruetype +BUILD_DEPENDS+= xorg-fontsType1-[0-9]*:../../fonts/xorg-fontsType1 +.endif + .include "../../graphics/freetype2/buildlink3.mk" .include "../../graphics/gdk-pixbuf-gnome/buildlink3.mk" .include "../../textproc/libunicode/buildlink3.mk" |