Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 09/13/2002 09:37:13
Module Name:	pkgsrc
Committed By:	jlam
Date:		Fri Sep 13 06:37:12 UTC 2002

Added Files:
	pkgsrc/mk: ghostscript.mk

Log Message:
Add a ghostscript.mk file that may be included by packages that want a
dependency on ghostscript.  This handles the dependency patterns that will
match either ghostscript{,-nox11} and ghostscript-gnu{,-nox11} depending
on which version number of ghostscript is required.  From the comments at
the top of the file:

To use this Makefile fragment, simply:

(1) Optionally set GHOSTSCRIPT_REQD to the minimum version number of
    Ghostscript required by the package,
(2) Optionally set USE_GHOSTSCRIPT to "build" to only add a build-time
    dependency on Ghostscript,
(3) And include this Makefile fragment in the package Makefile,


To generate a diff of this commit:
cvs rdiff -r0 -r1.1 pkgsrc/mk/ghostscript.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.