Commit graph

5 commits

Author SHA1 Message Date
jlam
e811379bc2 Pluralize INSTALL_TEMPLATE and DEINSTALL_TEMPLATE variable names as per
the pkglint warning:

    As {INSTALL,DEINSTALL}_TEMPLATE is modified using "+=", its name
    should indicate plural.

This does make the variables a bit more suggestive of the fact that they
hold lists of values.
2006-06-15 22:13:58 +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
da2fc85390 Don't check for USE_BUILDLINK3 anymore in these files. These are included
by other package Makefiles, and with the deprecation of USE_BUILDLINK3
support in the infrastructure files, these had the potential to break
existing packages.
2005-03-24 22:42:58 +00:00
jmmv
d63fa3cd53 Update to 0.15:
* Changes in the package:
- Add a buildlink3.mk file to be used to add a direct dependency on this
  package.  This file also creates a fake "update-mime-database" wrapper
  in the buildlink directory so that programs can't run it directly
  during its build.
- Add the mimedb.mk file, which can be used by packages that install
  mimedb extensions (into share/mime/packages) to automatically rebuild
  the database at (de)installation time.
- The mime database files (except those installed into share/mime/packages)
  must not be listed in the PLIST, so add some PRINT_PLIST_AWK magic to
  handle this automatically.

* Mime Types Changes:
- Added various aliases
- Make text files inherit from text/plain
- Added text/x-xmi
- Added application/x-javascripta

* Translations:
- new translations: Danish (Ole Laursen), Greek (Nikos Charonitakis),
  Korean (Cha Young-Ho)
- updated translations: Finnish  (Ville Skyttä), German (Christian Neumair)
2004-08-31 11:43:44 +00:00