b71a1d488b
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
32 lines
1.1 KiB
Makefile
32 lines
1.1 KiB
Makefile
# $NetBSD: plugins.mk,v 1.6 2005/12/05 20:50:41 rillig Exp $
|
|
#
|
|
# This Makefile fragment is intended to be included by packages that install
|
|
# GStreamer modules. It takes care of rebuilding the corresponding databases
|
|
# at (de)installation time.
|
|
#
|
|
|
|
.if !defined(GSTREAMER_PLUGINS_MK)
|
|
GSTREAMER_PLUGINS_MK= # defined
|
|
|
|
GST_DBDIR= ${BUILDLINK_PREFIX.gstreamer}/libdata/gstreamer-0.8
|
|
GST_COMPPREP= ${BUILDLINK_PREFIX.gstreamer}/bin/gst-compprep
|
|
GST_REGISTER= ${BUILDLINK_PREFIX.gstreamer}/bin/gst-register
|
|
|
|
FILES_SUBST+= GST_DBDIR=${GST_DBDIR:Q}
|
|
FILES_SUBST+= GST_COMPPREP=${GST_COMPPREP:Q}
|
|
FILES_SUBST+= GST_REGISTER=${GST_REGISTER:Q}
|
|
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; }
|
|
|
|
.if defined(_GSTREAMER_NO_DEPEND)
|
|
BUILDLINK_PREFIX.gstreamer= ${LOCALBASE}
|
|
.else
|
|
BUILDLINK_DEPENDS.gstreamer+= gstreamer>=0.8.1
|
|
. include "../../multimedia/gstreamer/buildlink3.mk"
|
|
.endif
|
|
|
|
.endif # GSTREAMER_PLUGINS_MK
|