Commit graph

117 commits

Author SHA1 Message Date
tonio
8856513a73 Use TEX and PDFTEX as exported by the buildlink files 2005-11-14 21:57:00 +00:00
minskim
a646fb3af4 Define TEXMFCONFIG when calling texconfig. This prevents texconfig
from generating a directory under users's HOME at installation time.

OK'ed by hubertf@ and tonio@.
2005-11-10 14:53:44 +00:00
tonio
a6e8e871bf remove now unused kpatchsea.buildlink3.mk files
use the standard buildlink3.mk instead
2005-11-10 12:36:12 +00:00
minskim
3e6fd36d81 Add missing entries to PLIST and remove a redundant one.
Bump PKGREVISION.
2005-11-09 22:23:05 +00:00
tonio
4a96fb6367 Create a tex.buildlink3.mk file that is used by tex-using packages.
It includes the correct buildlink3.mk file from either
teTeX1 (print/teTeX1-bin), teTeX2 (print/teTeX-bin) or teTeX3
(print/teTeX3-bin). tex.buildlink3.mk will:

        * set PKG_TEXMFPREFIX to the base directory of the used texmf tree
	* set PKG_LOCALTEXMFPREFIX to the base directory of the local texmf
	  tree (for tex packages)
        * set LATEX_TYPE to the latex distribution used.

There are two variables that can be used to tweak the selection of
the latex implementation:

LATEX_DEFAULT is a user-settable variable whose value is the default
        latex distribution to use.

LATEX_ACCEPTED is a package-settable list of latex distributions
        that may be used by the package.
2005-11-08 17:32:51 +00:00
wiz
0a6f4060a3 Properly wildcard dialog dependency. 2005-09-30 22:01:33 +00:00
grant
e720c400e2 depends should be ../../<category>/<pkg> 2005-07-19 10:11:48 +00:00
hubertf
c05c71f2e8 Force use of the Xaw toolkit, to prevent linking against Motif
accidentally, w/o adding the corresponding dependency (does not
force everyone to install Motif, too). Bump to 3.0nb2.

Patch suggested by Geert Hendrickx <geert.hendrickx@ua.ac.be> on tech-pkg.
2005-06-07 13:34:06 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
wiz
aeea92f4c7 Add RMD160 checksum. 2005-05-25 13:32:52 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
jlam
3ead1854e7 Avoid using != to define LOWER_PAPERSIZE .. use :sh instead to defer it
until the make targets are invoked.  This avoids needing ${ECHO} and ${TR}
in the top-level make.
2005-04-28 23:23:41 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
schwarz
e2ef2ee6e8 teTeX3-bin uses xpm. Changes approved by hubertf. 2005-04-10 21:52:37 +00:00
schwarz
978b2a9044 added missing "paper" argument to texconfig xdvi (approved by hubertf) 2005-04-09 13:18:32 +00:00
hubertf
3439227be2 Pull in the right (teTeX3, not teTeX(2)) Makefile.common.
No functional change.
2005-04-08 23:06:47 +00:00
hubertf
8c77117e05 Import teTeX-bin-3.0: TeX distribution for UNIX compatible systems - binaries
This package contains the executables for the teTeX installation
as well as other files that were created when generating the binaries:
info files, format files and manual pages.
2005-03-31 22:09:18 +00:00