Commit graph

8 commits

Author SHA1 Message Date
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
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
adam
037a23b309 MASTER_SITES fixed (removed dead ones, sf.net is 1st); use .tar.bz2 from now on 2006-02-19 10:27:52 +00:00
markd
7281d313bf Back out my last change. htfuzzy needs to run after its CONF_FILES
are installed. Noted by Joerg Sonnenberger.
Adjust synonyms.db entry in PLIST to fix CHECK_FILES issue.
2006-01-08 20:25:58 +00:00
markd
a11776bb8f Don't see why htfuzzy needs to rerun when pkg_add'ing so remove INSTALL
script and put back in a post-install rule.
Fixes CHECK_FILES complaint as synonyms.db now created before check files
testing happens.
2006-01-07 20:25:20 +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
markd
2f9e56b144 Note uses libtool and don't try to use -Wno-deprecated with C. May fix
build problem on amd64 seen in bulk builds.
2005-12-25 10:23:37 +00:00
markd
9da2f19245 Import of latest htdig beta release (from 18 months ago) as htdig-devel.
The ht://Dig system is a complete world wide web indexing and searching
system for a small domain or intranet.

Imported during the freeze as its needed to fix a problem in kdebase3.
OKed by wiz.
2005-12-17 19:26:26 +00:00