Commit graph

64 commits

Author SHA1 Message Date
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
grant
0c5bb6abcc Make these scripts more portable by taking advantage of automatic rc.d
script handling and using @RCD_SCRIPTS_SHELL@.

as discussed with jlam.
2002-09-20 02:01:54 +00:00
jlam
5c053dd06a Take advantage of the auto-generation and installation of rc.d scripts. 2002-09-19 09:04:02 +00:00
wiz
592ab10ef8 Now unused. 2002-08-31 16:07:49 +00:00
wiz
3506bf7761 Convert to buildlink2. 2002-08-31 14:39:56 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
seb
66111c6d15 Introduce new framework for handling info files generation and installation.
Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
    removal of USE_GTEXINFO
    INSTALL_INFO added to PLIST_SUBST
    `${INSTALL_INFO}' replace `install-info' in target rules
    print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
  makeinfo command usage

See -newly added by this commit- section 10.24 of Packages.txt for
further information.
2002-02-18 15:14:00 +00:00
jlam
e0d358778b Solaris' test binary (test/[) doesn't grok "-e". Replace with "-f".
Noted by Stoned Elipot <seb@netbsd.org> in private email.
2002-02-05 06:04:36 +00:00
skrll
791f98ee73 Provide configure patch and remove autoconf build dependency. 2002-01-11 15:10:56 +00:00
jlam
55ffb37406 bsd.pkg.install.mk calls the INSTALL script at the right times
automatically, so no need to do it ourselves.
2001-12-02 06:56:38 +00:00
jlam
6e896e42e0 Forgot a CONFDIR -> PKG_SYSCONFDIR replacement. 2001-11-26 07:30:44 +00:00
jlam
ffceca11a9 PKG_SYSCONFDIR is where the configuration files for a package may be found.
This value may be customized in various ways:

PKG_SYSCONFBASE is the main config directory under which all package
	configuration files are to be found.

PKG_SYSCONFSUBDIR is the subdirectory of PKG_SYSCONFBASE under which the
	configuration files for a particular package may be found.

PKG_SYSCONFDIR.${PKGBASE} overrides the value of ${PKG_SYSCONFDIR} for a
	particular package.

Users will typically want to set PKG_SYSCONFBASE to /etc, or accept the
default location of ${PREFIX}/etc.

This obsoletes the use of CONFDIR, which was active for only 6 days, so no
need to have a workaround to still accept old CONFDIR settings.
2001-11-25 18:59:45 +00:00
jlam
892b322f45 These rc.d scripts are copied to ${RCD_SCRIPTS_DIR} == /etc/rc.d, so change
the test for pre-rc.d systems to just whether /etc/rc.subr is present.
2001-11-21 21:38:50 +00:00
jlam
9ceba69856 Use the general INSTALL/DEINSTALL scripts to automatically handle copying
and removing the rc.d script.
2001-11-21 17:58:33 +00:00
jlam
b81331757d Remove unneeded INSTALL script and update the rplayd.sh to look like an
rc.d script.
2001-11-21 17:55:54 +00:00
zuntum
4bd6ecc9c5 Move pkg/ files into package's toplevel directory 2001-11-01 00:17:43 +00:00
tron
a68a277b43 Use wildcard dependence on "autoconf" package. 2001-08-27 14:35:04 +00:00
jlam
d2eb68d2a6 Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default
installation directory in case the package isn't installed.
2001-07-27 13:33:18 +00:00
jlam
7b1d3cb465 Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>.  This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed.  Idea by Alistair Crooks <agc@pkgsrc.org>.
2001-07-20 01:54:31 +00:00
jlam
cb76bd5efc Move inclusion of bsd.buildlink.mk to start of file. 2001-07-01 22:59:08 +00:00
zuntum
b074410c0b Add buildlink.mk file for use by other packages 2001-06-30 09:47:50 +00:00
zuntum
0cc1c851a7 Converted to use buildlink.mk files 2001-06-30 09:32:48 +00:00
jlam
c4e71c5e7a CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, so
adapt by moving CPPFLAGS settings to top-level, and removing explicit
inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-06-11 06:34:17 +00:00
jlam
d3c01b3dff RPLAY.info was listed twice...make one of them RPTP.info. 2001-05-22 04:33:12 +00:00
jlam
67ca23587a Check for /usr/include/readline/readline.h, too, in deciding on whether to
include dependency on readline package, and miscellaneous whitespace fixes.
2001-05-01 07:16:14 +00:00
agc
952fa0ef9f Move to sha1 digests, and add distfile sizes. 2001-04-18 12:14:28 +00:00
agc
18ea9c7e79 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 10:22:24 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
wiz
f7bb9e2078 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 13:30:32 +00:00
fredb
46a9e2c3de Make that "autoreconf" -- there is no "autoremake". 2001-02-06 03:16:56 +00:00
tron
f2d262e0be Use full pathname "${LOCALBASE}/bin/auto..." in dependences and make
targets. This includes a fix for PR pkg/12125 by Tomasz Luchowski.
2001-02-05 09:00:54 +00:00
hubertf
f0c60e6670 etc/rc.d: rplayd.sh -> rplayd 2001-01-26 04:58:57 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
tron
ebcef6eadf Depend on version 4.0 or newer of the "readline" package. 2000-07-20 15:40:58 +00:00
jlam
d1024f14aa USE_LIBTOOL instead of PKGLIBTOOL. 2000-06-21 02:58:23 +00:00
rh
74add3b300 s/USE_LIBTOOL/USE_PKGLIBTOOL/
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.
2000-06-01 11:23:11 +00:00
jlam
0406cd8bdc * Libtoolize.
* Teach rplay to look for libedit readline emulation if it exists.
* Cosmetic changes to installation process.
* Depend on rx-1.5.
2000-01-26 22:11:41 +00:00
jlam
0c171b3485 * Update rplay to 3.3.2.
* Libtoolize build.
* Teach rplay to look for libedit readline emulation if it exists.
* Add dependency on rx-1.5.

Changes since rplay 3.3.1:

* Added devrplay.so which can be used with LD_PRELOAD to add rplay support
  to audio applications use /dev/dsp.  devrplay is known to work with rvplayer,
  xmp, mpg123, freeamp, s3mod, esd (Enlightenment Sound Daemon) and even
  rplayd itself.  devrplay.so should be installed in your LD_LIBRARY_PATH.
  Example usage:

  bash$ LD_PRELOAD=devrplay.so rvplayer
  bash$ LD_PRELOAD=devrplay.so /usr/X11R6/lib/X11/rvplayer/rvplayer
  bash$ LD_PRELOAD=devrplay.so dd if=/foo/bar/sound.wav of=/dev/dsp
  bash$ LD_PRELOAD=devrplay.so xxmp sound.mod
  bash$ LD_PRELOAD=devrplay.so mpg123 sound.mp3

  tcsh users will probably need to `setenv LD_PRELOAD devrplay.so; command'
  instead of using the `LD_PRELOAD=devrplay.so command' syntax.

  devrplay has only been tested on Linux, but it should be possible to
  get it working on other systems.

* Added rptp "set" command.  This can be used to set rplayd
  variables.  One important use of this is to set the audio-close
  variable.  Examples:

  Tell rplayd to close the audio device:
  $ rptp set audio-close 1

  Tell rplayd *not* to close the audio device:
  $ rptp set audio-close 0

* Added rplayd monitor support which allows rptp clients to monitor
  audio data that is written to the audio device.  rptp clients can
  now issue the "monitor" command to start receiving audio data.
  One use of this feature is to pipe the audio data to a program
  for visual display.

* rptp includes support for GNU readline and also displays progress
  information when doing get, put, and monitor.

* Fixed several potential rplayd buffer overflows.

Changes since rplay 3.2:

* Improved Linux support, including playing sounds directly
  from ATAPI CDROM.  Tested with the following:

      Linux 2.0.34
      Debian 2.0
      ESS ES1688 AudioDrive (rev 6) (3.1)
      TOSHIBA CD-ROM XM-1502B, ATAPI CDROM drive

  This also includes a new --audio-fragsize rplayd option.  See
  README.linux for more information.

* Support for external helper applications used to convert
  unsupported audio formats.  Helpers can be configured to
  support formats such as MPEG (using mpg123), modules
  (using xmp), and any other format that can be converted
  using a stdin -> stdout filter.

* --fork and --no-fork rplayd options.  When not in debug or inetd
  mode, rplayd will fork to put itself in the background.

* rplayd is now installed in $prefix/sbin/rplayd instead of
  $prefix/bin/rplayd.

* Running rplayd from inetd now requires the --inetd option.

* --enable-rplayd-user=USER and --enable-rplayd-group=GROUP
  configure options.

* --user=USER and --group=GROUP rplayd options.

* Lots of bug fixes.
2000-01-26 22:11:28 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
wiz
419f0da378 replaced some commands by their ${COMMAND} counterparts 2000-01-02 03:07:31 +00:00
wiz
b08558ab94 replaced some more commands by their ${COMMAND} counterparts 1999-12-28 04:19:57 +00:00
tron
d8e18a4141 Correct checksum of "patch-ai". 1999-07-23 13:38:27 +00:00
hubertf
5859b577df Fix signal handling yb including <signal.h>
Patch provided in PR 7230 by Mason Loring Bliss <mason@acheron.middleboro.ma.us>
1999-07-19 23:46:19 +00:00
agc
a910a6fd62 Add package patch-sum files 1999-07-09 13:50:05 +00:00
tron
039b6bc610 Use "@unexec rm -f" to remove "etc/rplay.conf" because it doesn't get
installed by default.
1999-04-20 16:39:11 +00:00
hubertf
1c1af4fcaf add etc/rplay.conf 1999-03-29 12:58:59 +00:00
agc
1bb3007c04 s/make/${MAKE}/g 1999-03-08 10:53:55 +00:00
tv
111c4f44b0 Use install-info in $PATH, so that systems with it in base will work too. 1999-02-11 19:17:28 +00:00
agc
05b88260d7 Add NetBSD RCS Ids. 1998-08-07 13:16:49 +00:00
agc
86db14e819 Add NetBSD RCS Ids. 1998-08-07 10:35:47 +00:00