From b0990d8e55d93ccd454207fa1ce2b15cedea1424 Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 7 Feb 2005 07:18:40 +0000 Subject: The lists of ghostscript version patterns should match all ghostscript versions (minus any PKGREVISIONs) less than or equal to the latest version of each ghostscript available in pkgsrc (minus any PKGREVISIONs). For example, if the print/ghostscript-esp is at 7.10, then the list of patterns for ghostscript-esp should match all versions <=7.10, which is [0-6].* 7.[0-9]* 7.10 --- mk/ghostscript.mk | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'mk/ghostscript.mk') diff --git a/mk/ghostscript.mk b/mk/ghostscript.mk index 8575479271b..9bc0c4710b4 100644 --- a/mk/ghostscript.mk +++ b/mk/ghostscript.mk @@ -1,4 +1,4 @@ -# $NetBSD: ghostscript.mk,v 1.12 2004/03/10 16:53:50 jmmv Exp $ +# $NetBSD: ghostscript.mk,v 1.13 2005/02/07 07:18:40 jlam Exp $ # # This Makefile fragment is included by packages that require a run-time # dependency on a ghostscript Postscript interpreter. @@ -32,11 +32,9 @@ _GS_PKGSRCDIR?= ../../print/ghostscript-gnu _VALID_GS= # empty -# ghostscript-esp{,-x11,-nox11} satisfies ${GHOSTSCRIPT_REQD}<=7.05.5 +# ghostscript-esp{,-x11,-nox11} satisfies ${GHOSTSCRIPT_REQD}<=7.07.1 # -.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 +.for _gs_pattern_ in [0-6].* 7.0 7.0[1-6]* 7.07 7.07.1 . if !empty(GHOSTSCRIPT_REQD:M${_gs_pattern_}) . if defined(USE_X11) _VALID_GS+= ghostscript-esp>=${GHOSTSCRIPT_REQD} @@ -47,9 +45,9 @@ _VALID_GS+= ghostscript-esp-nox11>=${GHOSTSCRIPT_REQD} . endif .endfor -# ghostscript-gnu{,-x11,-nox11} satisfies ${GHOSTSCRIPT_REQD}<=7.05nb1 +# ghostscript-gnu{,-x11,-nox11} satisfies ${GHOSTSCRIPT_REQD}<=7.07 # -.for _gs_pattern_ in [0-6].* 7.0 7.0nb* 7.0[0-4] 7.0[0-4]nb* 7.05 7.05nb1 +.for _gs_pattern_ in [0-6].* 7.0 7.0[1-6]* 7.07 . if !empty(GHOSTSCRIPT_REQD:M${_gs_pattern_}) . if defined(USE_X11) _VALID_GS+= ghostscript-gnu>=${GHOSTSCRIPT_REQD} @@ -62,9 +60,9 @@ _VALID_GS+= ghostscript-gnu-nox11>=${GHOSTSCRIPT_REQD} . endif .endfor -# ghostscript{,-nox11} satisfies ${GHOSTSCRIPT_REQD}<=6.01nb4. +# ghostscript{,-nox11} satisfies ${GHOSTSCRIPT_REQD}<=6.01 # -.for _gs_pattern_ in [0-5].* 6.0 6.0nb* 6.01 6.01nb[1-4] +.for _gs_pattern_ in [0-5].* 6.0 6.01 . if !empty(GHOSTSCRIPT_REQD:M${_gs_pattern_}) . if defined(USE_X11) _VALID_GS+= ghostscript>=${GHOSTSCRIPT_REQD} -- cgit v1.2.3