During print-PLIST, suppress all entries for files under libdata/gstreamer-0.8

as they are handled during post install by this package.  Also output a
comment about the lib/gstreamer-0.8 directory beeing handled in this package.
This commit is contained in:
jmmv 2004-04-12 21:31:36 +00:00
parent 3e5f91e246
commit 029c959b3f

View file

@ -1,4 +1,4 @@
# $NetBSD: plugins.mk,v 1.1 2004/04/06 09:30:01 jmmv Exp $
# $NetBSD: plugins.mk,v 1.2 2004/04/12 21:31:36 jmmv Exp $
#
# This Makefile fragment is intended to be included by packages that install
# GStreamer modules. It takes care of rebuilding the corresponding databases
@ -19,6 +19,11 @@ INSTALL_EXTRA_TMPL+= ../../multimedia/gstreamer/files/plugins.tmpl
DEINSTALL_EXTRA_TMPL+= ../../multimedia/gstreamer/files/plugins.tmpl
USE_PKGINSTALL= YES
PRINT_PLIST_AWK+= /^libdata\/gstreamer-0.8/ { next; }
PRINT_PLIST_AWK+= /^@dirrm libdata\/gstreamer-0.8/ { next; }
PRINT_PLIST_AWK+= /^@dirrm lib\/gstreamer-0.8$$/ \
{ print "@comment in gstreamer: " $$0; next; }
.if defined(_GSTREAMER_NO_DEPEND)
BUILDLINK_PREFIX.gstreamer= ${LOCALBASE}
.else