Commit graph

27 commits

Author SHA1 Message Date
obache
79b43f5049 LICENSE=modified-bsd 2014-03-03 04:40:12 +00:00
obache
34637a70ac Just define PKGNAME and use it. 2014-03-03 03:30:52 +00:00
wiz
b6d125ee08 Use Mt for email addresses. 2013-07-20 21:50:52 +00:00
asau
5c2dd9e784 "user-destdir" is default these days 2012-09-11 23:19:33 +00:00
jperkin
b03f40d979 Update to 1.6, changes:
- Use the correct id(1) program.  Fixes PR pkg/40691

 - Avoid unprintable characters, some implementations of tr(1) have issues
   with them.  Instead go for what hopefully will be a unique string, as
   well as making use of shell parameter substitution.  Fixes PR pkg/42197

These changes combined make pkg_alternatives work correctly on Solaris.
2012-06-13 15:35:32 +00:00
jperkin
30aeb96157 Only do substitutions on files which need them, avoids warnings. 2012-06-13 15:28:23 +00:00
joerg
f6db1bf7d6 Use REAL_ROOT_USER. Bump version. 2010-02-19 20:40:23 +00:00
joerg
d289453e83 Remove @dirrm entries from PLISTs 2009-06-14 18:10:40 +00:00
joerg
368d71b62e Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions. 2009-04-09 00:48:06 +00:00
abs
a47dc5664d fix DESTDIR issue 2008-06-13 07:13:57 +00:00
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +00:00
rillig
b6c7c8977f Updated pkg_alternatives to 1.4.
Changes since 1.3:
- Added support for non-standard PKGMANDIR.
2007-01-15 02:50:06 +00:00
rillig
3968e0d090 Fixed the path to the manual page. Adjusted CHECK_INTERPRETER_SKIP. 2006-09-20 13:00:02 +00:00
rillig
f4a2bba0c2 It's pkg_alternatives(8), not (1). 2006-09-20 12:53:21 +00:00
rillig
9fc2d7d281 Removed the superfluous "quotes" and 'quotes' from variables that don't
need them, for example RESTRICTED and SUBST_MESSAGE.*.
2006-04-22 09:22:05 +00:00
jlam
daad0f3d6c Modify the pkginstall framework so that it manages all aspects of
INSTALL/DEINSTALL script creation within pkgsrc.

If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts.  If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:

	INSTALL_SRC=	${PKGDIR}/INSTALL
	DEINSTALL_SRC=	# emtpy

As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts.  By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).

In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework.  The only public variables relating to the templates are:

	INSTALL_SRC		INSTALL_TEMPLATE
	DEINSTALL_SRC		DEINSTALL_TEMPLATE
				HEADER_TEMPLATE

The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.
2006-03-14 01:14:26 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
jlam
cf4dfe44a5 Use REQD_DIRS instead of MAKE_DIRS for directories under ${PREFIX} so
that these directories will be conditionally removed (based on reference
counts), regardless of the value of PKG_CONFIG.  Bump the PKGREVISION
for packages that were modified as a result.
2005-08-20 19:16:21 +00:00
jlam
f35b224a50 SUBST_FILES.* must be relative to ${WRKSRC}. 2005-05-21 04:10:17 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jmmv
12c1cd1b60 Update to 1.3: show a more descriptive usage message, useful as a quick
reference.  Per tv@'s suggestion.
2005-02-10 10:18:03 +00:00
jmmv
2f6fe82ae2 Update to 1.2:
- Add support to explicitly select which wrappers are wanted on a system and
  which ones are not.  This is done through a configuration file that defines
  a filter with a set of actions and regular expressions (example file
  included).
- Add an examples section to the manual page with solutions for some FAQs.
2005-01-30 12:35:22 +00:00
wiz
82c8ef9038 Fix Dt, and improve formatting. 2005-01-28 12:59:57 +00:00
jmmv
95cf710e64 Explicitly use -g instead of relying on default behavior. 2005-01-25 16:48:22 +00:00
jmmv
525aed5185 Add the -g flag to explicitly select the "group mode" (previously known as
"package mode").  Use previous version bump for this change.
2005-01-25 16:47:20 +00:00
jmmv
3cfcc8be82 Update to 1.1:
- Add the destroy action, used to remove the alternatives database as well
  as any known wrappers.

- Use the rebuild/destroy actions at install/deinstall time respectively
  so that this package can be installed at any time and pick up automatically
  available alternatives from PKG_DBDIR.

Per suggestion from reed@ in tech-pkg@.
2005-01-25 16:27:37 +00:00
jmmv
5293f7ab59 Initial import of pkg_alternatives, version 1.0:
pkg_alternatives is a tool to manage the alternatives system provided by
The NetBSD Packages Collection, also known as pkgsrc.  It creates, configures
and destroys generic wrappers used to run programs with similar interfaces.

No objections in tech-pkg@.  Agreed with jlam@, who has provided lots of
design suggestions.
2005-01-25 13:00:46 +00:00