Commit graph

137 commits

Author SHA1 Message Date
tv
9c186e3461 Since 1.3.2 pkg_info -e doesn't print anything for a package name, be
uniform and don't try to print the package found name.
1998-08-06 14:18:35 +00:00
agc
1167a92572 Apparently, 1.3.2's pkg_info -e doesn't print the name of the matching
package, just using the exit value to determine success or failure, so
use the exit value in DEPENDS tests, rather than matching on output.
1998-08-06 13:01:55 +00:00
agc
cfe98cff62 Add back default MAINTAINER field.
Remove test which made MAINTAINER field mandatory - it's not a field that's
critical to the build or installation of a package, and is redundant given
a default value.
1998-08-06 09:51:20 +00:00
tv
fe8bdf4ad0 - Nuke LIB_DEPENDS pkg cruft. Add an error message if LIB_DEPENDS is set.
- Build in some pkglint: error out if DISTNAME or MAINTAINER are not set
  in the pkg Makefile.
1998-08-05 19:25:08 +00:00
agc
8cabc1463f Enable specification of CONFLICTS entries using fnmatch(3) patterns. 1998-08-04 15:05:38 +00:00
agc
0c7c660eaa Make it possible for package Makefiles to specify DEPENDS package
dependencies using fnmatch(3)-style wildcards.
1998-08-04 10:28:08 +00:00
tv
5e3dae779b - Integrate xpkgwedge with a switch, USE_LOCALBASE_FOR_X11, which leaves
X11BASE alone and, when set, sets PREFIX to LOCALBASE and adds a build
  dependency on xpkgwedge
- Nuke last vestiges of the ${ARCH} variable, and replace it with the
  binary compatibility identifier ${MACHINE_ARCH}.
- Include bsd.prefs.mk early in bsd.pkg.mk.  (Needed by xpkgwedge change.)
- Look for Motif/lesstif in both X11BASE and LOCALBASE
- Add rpath (-Wl,-R) options for MOTIFLIB
- Nuke obsolete EXEC_DEPENDS cruft
1998-07-31 14:55:38 +00:00
agc
0d4ffda91d Calculate an additional checksum when a distfile is fetched - if it
doesn't match the stored checksum, retrieve the distfile from the
next site in the list, rather than simply dying.
1998-07-27 11:17:51 +00:00
tv
be6f4e5204 Add glob-style wildcards to ONLY_FOR_ARCHS. 1998-07-26 22:20:22 +00:00
mycroft
460b9f3c11 Use a direct comparison rather than a regexp match when looking for checksums. 1998-07-26 09:27:15 +00:00
agc
138c3c37e3 Change two ocurrences of "grep foo | awk" pipelines into simple awk
invocations.  Minor re-format to the shared object handling (no
functional changes).
1998-07-24 14:13:46 +00:00
tv
519925679a Now I remember why I suggested a ${LIBTOOL} variable: libtool is also used
in manual {pre,do,post}-install targets in pkg Makefiles.  Define
${LIBTOOL} to be ${LOCALBASE}/bin/libtool, but do not allow it to be
overridden.
1998-07-24 01:47:33 +00:00
tv
c0ff1c70cc Add the USE_LIBTOOL pkg Makefile option. When set, it adds a build
dependency on libtool, and puts the path to libtool in $LIBTOOL in the
configure and make environments.
1998-07-24 01:41:15 +00:00
agc
388d113839 Add any licensing information to the README.html files which are generated
for each package.
1998-07-22 09:18:46 +00:00
agc
cdb325c0d5 The obsolete <$ARCH> pattern in PLISTs was not used anywhere - it has
been superceded by ${MACHINE_ARCH} and ${MACHINE_GNU_ARCH} - so remove
it.
1998-07-22 07:30:22 +00:00
agc
c382906b78 Missed one occurrence of "licence". 1998-07-21 11:12:11 +00:00
agc
548db3b001 Acceptable licence logic had been reverted to UK English spellings. 1998-07-21 11:09:11 +00:00
hubertf
684e8f57a8 Sort output of depends-list and package-depends targets. 1998-07-16 16:24:40 +00:00
agc
997da4ac6e On NetBSD ports which don't support shared objects, comment out any
shared object names in the PLIST.
1998-07-14 16:48:48 +00:00
agc
9ffd5f8e0c Fill in SHLIB_TYPE in the pkgsrc copy of bsd.own.mk. Use this value
in bsd.pkg.mk to work out the type of shared objects when doing
automatic shared object handling (ELF, a.out or none).
1998-07-14 15:53:54 +00:00
agc
d3d69aff56 Add logic to handle shared objects correctly for ELF and a.out platforms. 1998-07-14 11:36:11 +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
mycroft
c2e672f055 We use American English.
licence -> license
1998-07-13 13:08:06 +00:00
tron
be401dbad8 Fix another variable expansion bug in dependence handling. 1998-07-12 09:41:25 +00:00
hubertf
403e10a469 partially back out variable expansion from rev. 1.109 as inspired by
tron's last commit. Beware that this may break in nasty ways when using
wildcards in CONFLICTS and DEPENDS.
1998-07-12 00:20:04 +00:00
tron
16878ea5a6 Fix dependences check. 1998-07-11 21:12:59 +00:00
mycroft
dd9de7a51b Removing /bin/cat is rather hostile... 1998-07-10 05:24:19 +00:00
hubertf
771cbc2f2c Only print "Creating README.html ..." if it really was created. 1998-07-09 18:18:43 +00:00
hubertf
9a4df22f55 Extend "pkg_info -e" to allow pkg-globbing, and allow using it. 1998-07-09 17:47:03 +00:00
agc
90c83cf716 Add an ACCEPTABLE_LICENCES definition to /etc/mk.conf. This is a
whitespace-delimited list, and details which types of licences are
allowed.  Package Makefiles with non-standard licences (shareware,
non-commercial-use only) should have a LICENCE= <type> added.  Normal
package Makefiles remain unchanged.

Add logic to bsd.pkg.mk to check, if LICENCE is defined, that the package
is acceptable.
1998-07-06 15:10:48 +00:00
hubertf
49e451283d When OBJMACHINE and WRKOBJDIR set, be sure to also add the arch name to
the directory created in $WRKOBJDIR, to allow using the same obj-dir for
several architectures at once (e.g. via NFS or with cross compiling).
Inspired by Bill Studenmund <skippy@macro.stanford.edu>.
1998-07-03 19:27:39 +00:00
hubertf
8c743a0b7d Attempt to re-renerate README.html only if it has really changed. 1998-06-29 21:52:20 +00:00
agc
6a46f4ba75 Use -h when using egrep(1) to find the manual pages from ${PLIST_SRC},
as ${PLIST_SRC} may be more than one file, and the ${PLIST_SRC}
filenames only get in the way.
1998-06-23 10:35:56 +00:00
agc
fa9d3d91e2 Get rid of the old, error-prone, MAN<sect> and CAT<sect> manual page
handling.  Also, use two regexps when creating the work/.PLIST file,
rather than the four original ones (necessary because the MANLANG
definition has now gone away too).
1998-06-22 14:47:49 +00:00
agc
dff3f19af7 Use one gonzo regular expression to recognise man and catman pages. 1998-06-22 09:12:48 +00:00
tron
9ddda2fb4a If "${USE_MOTIF}" is set install package to "${X11BASE}" and check if
X11 is actually installed.
1998-06-20 14:01:28 +00:00
agc
eb2a847935 Add automatic manual page handling. This is backwards-compatible with
the MANx and CATx definitions in package Makefiles - if neither MANx
or CATx is specified, the PLIST will be searched for the package's
manual pages. If automatic manual page handling is in operation, and
PKG_VERBOSE is set, echo the manual page names.
1998-06-18 11:45:33 +00:00
tron
601baa86ba Remove unnecessary check for distribution files on CD ROM, "${DISTDIR}"
can be set instead.
1998-06-17 22:00:15 +00:00
agc
666273802a Remove the trailing '-f' from MAKE_FLAGS in bsd.pkg.mk, and include it
explicitly in the commands before ${MAKEFILE}; modify package
Makefiles to conform to this rationalisation.  This was used
inconsistently in many packages, some including it, some not.
1998-06-10 08:02:08 +00:00
agc
30f402725f Rationalise Motif/Lesstif handling.
Get rid of HAVE_MOTIF, MOTIF_STATIC, REQUIRES_MOTIF and MOTIF_ONLY.
Standardise on USE_MOTIF, which uses the pkgsrc dependency checks to
use Motif, if it's available, or Lesstif, if not.
1998-06-09 13:36:48 +00:00
frueauf
1eed6b4a70 Add missing @ in line 1731. 1998-06-05 23:27:48 +00:00
tv
aa36cae03c Rework the pkg_create -C check: don't check the kernel version number for
a userland binary's features; instead, check that tool directly.
1998-06-05 20:31:55 +00:00
mrg
1f1a5de5e4 move documentation to packages.7. also, remove ts=4 crap. 1998-06-05 12:45:53 +00:00
agc
33f24e7f6d Add a USE_MOTIF definition, for use in package Makefiles.
This will make and install lesstif, should Motif be unavailable.
1998-06-05 12:14:44 +00:00
frueauf
72c9f85c48 Add support for CONFLICTS entry. 1998-06-05 11:23:09 +00:00
agc
72f22c05c2 Minor cosmetic mods. Remove the 'V' before the NetBSD version number
in the README.html list of binary packages, and use the same format
for the DEPENDS package message as for BUILD_DEPENDS and RUN_DEPENDS.
1998-06-05 10:27:42 +00:00
tv
5d405bfba7 Use MACHINE_GNU_ARCH in PLISTs that require it, so that arm32 (and
possibly other future platforms) will get the `right' name.
1998-06-03 17:48:32 +00:00
tv
3bfd2cd7b0 Skip checksum step if the ${EXTRACT_COOKIE} exists (NFS speedup if build
quits and you want to restart, or you run "make install" separately)
1998-06-02 15:47:06 +00:00
hubertf
60a4646d8e Document MANLANG 1998-06-01 21:30:10 +00:00
hubertf
ce13f8a7ec Exclude m68k from list of platforms for which a binary pkg is available from README.html 1998-05-29 22:48:17 +00:00