summaryrefslogtreecommitdiff
path: root/print/foomatic-filters
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2006-10-10 00:27:30 +0000
committerdmcmahill <dmcmahill>2006-10-10 00:27:30 +0000
commit20d4fef82cd9870dcab6e9a4ce0b20d81af32087 (patch)
tree1f294aca8006a1824ef1d89afc3092b58a5566ef /print/foomatic-filters
parent884ce6e291f0359efd1c5495c4a0da3c97461f75 (diff)
downloadpkgsrc-20d4fef82cd9870dcab6e9a4ce0b20d81af32087.tar.gz
Don't try and install the man page on solaris. It is broken with
solaris nroff right now. This lets this package build and package on solaris.
Diffstat (limited to 'print/foomatic-filters')
-rw-r--r--print/foomatic-filters/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/print/foomatic-filters/Makefile b/print/foomatic-filters/Makefile
index 5c0f1ecee77..1e0344f7bb0 100644
--- a/print/foomatic-filters/Makefile
+++ b/print/foomatic-filters/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/10/03 00:30:05 reed Exp $
+# $NetBSD: Makefile,v 1.16 2006/10/10 00:27:30 dmcmahill Exp $
.include "Makefile.common"
@@ -12,7 +12,6 @@ COMMENT= Spooler-independent PostScript printing filter
CONFLICTS+= foomatic-gswrapper-[0-9]*
USE_TOOLS+= gmake gs:run perl:run
-INSTALL_TARGET= install-bin install-man
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
@@ -28,6 +27,18 @@ TEXTTOPS_DEPENDS= {a2ps,enscript,mpage}-[0-9]*
PKG_OPTIONS_VAR= PKG_OPTIONS.foomatic
PKG_SUPPORTED_OPTIONS= cups
+.include "../../mk/bsd.prefs.mk"
+
+BUILD_DEFS+= MANINSTALL
+
+.if ${OPSYS} == "SunOS"
+# SunOS nroff has problems with foomatic-rip.1
+MANINSTALL= none
+INSTALL_TARGET= install-bin
+.else
+INSTALL_TARGET= install-bin install-man
+.endif
+
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mcups)