ghostscript5 package as (a) we should be encouraging people to use the
packages collection where possible, and (b) it messes up the package
depencies if we don't, to the extent that pkg_delete will have problems.
Specify the working directory name for pre-requisite packages the same
way that Hubert did (using ${WRKDIR:T}). This works both with and
without OBJMACHINE set.
Change the way that paper size is selected. All packages that use
a paper size definition should use a PAPER_SIZE definition, set in
either the environment or /etc/mk.conf. This can be set to "A4" or
"a4", but defaults to US letter ("letter") if not set. Re-define
the do-build target accordingly.
We need some dependency here, and it's either on ${LOCALBASE}/bin/gs
to pick up the ghostscript 5 package's gs binary, or simply gs, to
pick up any gs binary in the path. The latter was chosen for the
moment.
Get the "other" and "std" fonts out of the ../fonts/ directory, and use
the real names of the files. If this is not done, you will get many
files that have slightly different version numbers, but are otherwise
exactly the same. This is noted in the Makefile.
I'll be maintainer on this one as well, unless someone else wants it. If
so, commit a new Makefile. :)