summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-18 23:06:03 +0000
committerjlam <jlam>2002-09-18 23:06:03 +0000
commit33cfbfdb17e896323440e70cb022bceb4096f221 (patch)
tree702f42a17b997765a325359b40cc0a3b8950d53b
parent829ba8937cfee084f994b43dfa0e068fe3ceb4cc (diff)
downloadpkgsrc-33cfbfdb17e896323440e70cb022bceb4096f221.tar.gz
Recognize ghostscript-esp{,-nox11}.
-rw-r--r--mk/ghostscript.mk17
1 files changed, 16 insertions, 1 deletions
diff --git a/mk/ghostscript.mk b/mk/ghostscript.mk
index 4c85d1b686a..f32bcfa52f5 100644
--- a/mk/ghostscript.mk
+++ b/mk/ghostscript.mk
@@ -1,4 +1,4 @@
-# $NetBSD: ghostscript.mk,v 1.8 2002/09/16 01:30:44 mycroft Exp $
+# $NetBSD: ghostscript.mk,v 1.9 2002/09/18 23:06:03 jlam Exp $
#
# This Makefile fragment is included by packages that require a run-time
# dependency on a ghostscript Postscript interpreter.
@@ -24,6 +24,21 @@ _GS_PKGSRCDIR?= ../../print/ghostscript-gnu
_VALID_GS= # empty
+# ghostscript-esp{,-x11,-nox11} satisfies ${GHOSTSCRIPT_REQD}<=7.05.5
+#
+.for _gs_pattern_ in \
+ [0-6].* 7.0 7.0nb* 7.0[0-4] 7.0[0-4]nb* 7.05 7.05nb1 \
+ 7.05.[1-4] 7.05.[1-4]nb* 7.05.5
+. if !empty(GHOSTSCRIPT_REQD:M${_gs_pattern_})
+. if defined(USE_X11) || defined(USE_X11BASE) || defined(USE_IMAKE)
+_VALID_GS+= ghostscript-esp>=${GHOSTSCRIPT_REQD}
+. else
+_VALID_GS+= ghostscript-esp>=${GHOSTSCRIPT_REQD}
+_VALID_GS+= ghostscript-esp-no11>=${GHOSTSCRIPT_REQD}
+. endif
+. endif
+.endfor
+
# ghostscript-gnu{,-x11,-nox11} satisfies ${GHOSTSCRIPT_REQD}<=7.05nb1
#
.for _gs_pattern_ in [0-6].* 7.0 7.0nb* 7.0[0-4] 7.0[0-4]nb* 7.05 7.05nb1