diff options
Diffstat (limited to 'mk/ghostscript.mk')
-rw-r--r-- | mk/ghostscript.mk | 17 |
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 |