summaryrefslogtreecommitdiff
path: root/mk/ghostscript.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-18 23:06:03 +0000
committerjlam <jlam@pkgsrc.org>2002-09-18 23:06:03 +0000
commit992f7e53947e54fd6d21c1182c9d67a9a4945a40 (patch)
tree702f42a17b997765a325359b40cc0a3b8950d53b /mk/ghostscript.mk
parentfdc78328758f9667e9c5095b9dd915482fe28fb8 (diff)
downloadpkgsrc-992f7e53947e54fd6d21c1182c9d67a9a4945a40.tar.gz
Recognize ghostscript-esp{,-nox11}.
Diffstat (limited to 'mk/ghostscript.mk')
-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