Commit graph

17 commits

Author SHA1 Message Date
jlam
9820a22a90 In package Makefiles, create FILES_SUBST instead of duplicating sed
expression for substituting in DEINSTALL/INSTALL scripts.  Use "${CMP} -s"
instead of "diff -q" since the former is more portable across OSes.
2001-07-13 07:09:17 +00:00
hubertf
4ec3eacb82 I don't know why I don't have a $X11_HOSTDEF, still I have none.
(Solaris 88/x86, of course with X running :)

Make xpkgwedge not wedge in this config.
2001-07-10 00:57:10 +00:00
jlam
95b00c292c Use FILES_SUBST instead of repeating substitution pattern for all the
files, and substitute for a few more utilities instead of using unqualified
names for programs.
2001-06-18 05:17:14 +00:00
kei
01a1bbfb17 - You must set the environment variable XAPPLRESDIR, not the shell variable.
Add an export line to do so to the example.
2001-06-06 02:39:09 +00:00
wiz
a87738b456 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:42:09 +00:00
wiz
b979f7222a Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @VARIABLE@, nor @@VARIABLE@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
2001-01-29 11:34:21 +00:00
tron
d20f1acd71 Use "gdiff" from "diffutils" package under Solaris. 2001-01-13 16:21:20 +00:00
jlam
e2ac9634c2 Update xpkgwedge to 1.0 and make appropriate changes to bsd.pkg.mk to handle
the new version of xpkgwedge.  Changes from xpkgwedge 0.4:

	* Redefine ImakeCmd to "imake -I$(PREFIX)/lib/X11/config" to
	  pick up X11 config files in $(PREFIX)/lib/X11/config before the
	  ones in the standard X11 tree.

	* Install a program called "pkgxmkmf" that's actually xmkmf, but
	  checks in $(PREFIX)/lib/X11/config before the standard X11 config
	  directory.

	* Create the host.def file in $(PREFIX)/lib/X11/config instead of
	  always in ${X11BASE}/lib/X11/config.

The benefits of this are:

	1) xpkgwedge can now install into $(PREFIX) instead of always into
	   $(X11BASE).

	2) Keeps the X11 tree "pure", and doesn't affect people who want
	   to run xmkmf and not include all the xpkgwedge stuff, even if
	   it's installed.

	3) Packages that install config files (lesstif, xview-config) can
	   now do so in $(PREFIX).

	4) People only have to use 'pkgxmkmf' instead of 'xmkmf', and
	   (hopefully) no other changes, if they want to use the config
	   files in xpkgwedge'd packages.
2000-10-23 17:32:06 +00:00
jlam
e1b9b6b6d0 Make the binary package so the same thing as a "make install": put the
#include <xpkgwedge.def> at the start of the host.def file.
2000-10-04 19:02:31 +00:00
agc
df85410ce6 Remove the user setting of the USE_LOCALBASE_FOR_X11 definition.
(Users can still set it if they want, but it won't make much
difference).

In bsd.pkg.mk, check for the presence of the xpkgwedge package to
determine whether to use LOCALBASE for X11 programs.  Set
_USE_LOCALBASE_FOR_X11 (an internal definition) if xpkgwedge is
installed. Remove BUILD_DEPENDS on xpkgwedge (it would always have
been true anyway).

Add a new X11PREFIX definition, which reflects the PREFIX for X11
packages, and set it to LOCALBASE or X11BASE accordingly.

Remove all references to USE_LOCALBASE_FOR_X11 from the xpkgwedge
package.

In all, make the installation of xpkgwedge a tad less clumsy.
2000-06-28 15:02:31 +00:00
wiz
4a2f709689 grammar fix 2000-05-14 00:59:43 +00:00
jlam
22d4a43f07 Correct the documentation that describes proper usage. 1999-10-05 07:58:41 +00:00
mrg
7f21a90ebf make this reality. 1999-07-07 02:31:46 +00:00
agc
41bfb30737 Add NetBSD RCS Ids. 1998-08-07 11:08:53 +00:00
tv
1c3a613245 Make xpkgwedge capable of building a "binary pkg", for uniformity. 1998-07-31 19:30:49 +00:00
frueauf
004e47e5b0 cat ${PKGDIR}/MESSAGE in bsd.pkg.mk if it exists, don't do it in every
package Makefile.
1998-07-14 10:56:15 +00:00
tv
03f5014574 Add xpkgwedge, an experimental patch that enables the build of X11 pkgs
(even imake ones) that will install in /usr/pkg instead of /usr/X11R6.
This is NOT (yet?) the standard X11 pkg build procedure, but it does
provide a "way out" for users that do not want to pollute their /usr/X11R6
tree with pkgs.
1998-06-26 16:39:23 +00:00