Commit graph

14 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
tron
710f6c575a Fix a bug in the recent package install framework related changes.
The file "${PREFIX}/libdata/gtk-2.0/gdk-pixbuf.loaders" was not generated
which broke the build of at least the "xchat" package. Bump package
revision after this fix.
2006-03-14 11:34:59 +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
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
jmmv
8ceaed1f17 Update to 2.4.3. While here, rework the way the libdata/ files are handled
by creating/deleting them from the (de)install scripts (and not registered
in the PLIST).  This allows pkg_tarup to work properly and also avoids some
warnings during 'make replace'.

Changes since 2.4.2:
* GtkButton
 - Give extra space to children of !CAN_FOCUS buttons [Matthias Clasen]
* GtkFileChooser
 - Make DND work when the dialog is modal [Federico Mena Quintero]
* GtkToolbar
 - Don't show empty overflow menu [Soeren Sandmann]
 - Don't show initial separator in overflow menu [Soeren]
 - Handle dynamic changes to overflow menu [Soeren]
* Documentation improvements [Bastien Nocera, Matthias]
* Other bug fixes [Matthias, Soeren, Sven Neumann]
* Updated translations (hu,ne)
2004-06-20 20:12:20 +00:00
snj
aa0b913be3 Remove buildlink2 support, as all packages including this file are using
buildlink3.
2004-04-27 22:43:29 +00:00
jmmv
3e5f91e246 During print-PLIST, suppress any files installed under libdata/gtk-2.0, and
the directory itself, as they are automatically handled during post install
by this package.
2004-04-12 21:21:19 +00:00
minskim
27f7db673c .if should be closed with .endif, not with .fi (hi jmmv!). 2004-02-12 15:31:56 +00:00
jmmv
8119c1cbac Preserve previous behavior: only use buildlink3 when USE_BUILDLINK3 is set
to yes; otherwise, default to buildlink2.
2004-02-12 12:07:41 +00:00
xtraeme
875fd978fd bl3ify 2004-02-10 02:04:54 +00:00
jmmv
f64fb9c05a We want to include buildlink2.mk, not ourselves. From Min Sik Kim in
PR pkg/24249.
2004-01-26 14:59:46 +00:00
jmmv
fc207a25c0 Fix path in GTK_QUERY_IMMODULES. From Min Sik Kim in PR pkg/24243. 2004-01-26 11:06:05 +00:00
jmmv
23f98282af Move "configuration" files from PKG_SYSCONFDIR to PREFIX/libdata. Those
files are not intended to be configured by the end user, but should be
automatically regenerated when (de)installing extra GTK modules.
Bump PKGREVISION to 3 because of this change.

While doing this, implement a framework so that other packages installing
GTK modules can rebuild those databases easily at (de)install time.
2004-01-22 12:38:46 +00:00