e811379bc2
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.
31 lines
1.2 KiB
Makefile
31 lines
1.2 KiB
Makefile
# $NetBSD: plugins.mk,v 1.4 2006/06/15 22:13:59 jlam 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(GSTREAMER0.8_PLUGINS_MK)
|
|
GSTREAMER0.8_PLUGINS_MK= # defined
|
|
|
|
GST0.8_DBDIR= ${BUILDLINK_PREFIX.gstreamer0.8}/libdata/gstreamer-0.8
|
|
GST0.8_COMPPREP= ${BUILDLINK_PREFIX.gstreamer0.8}/bin/gst-compprep-0.8
|
|
GST0.8_REGISTER= ${BUILDLINK_PREFIX.gstreamer0.8}/bin/gst-register-0.8
|
|
|
|
FILES_SUBST+= GST0.8_DBDIR=${GST0.8_DBDIR:Q}
|
|
FILES_SUBST+= GST0.8_COMPPREP=${GST0.8_COMPPREP:Q}
|
|
FILES_SUBST+= GST0.8_REGISTER=${GST0.8_REGISTER:Q}
|
|
INSTALL_TEMPLATES+= ../../multimedia/gstreamer0.8/files/plugins.tmpl
|
|
DEINSTALL_TEMPLATES+= ../../multimedia/gstreamer0.8/files/plugins.tmpl
|
|
|
|
PRINT_PLIST_AWK+= /^libdata\/gstreamer-0.8/ { next; }
|
|
PRINT_PLIST_AWK+= /^@dirrm libdata\/gstreamer-0.8/ { next; }
|
|
|
|
.if defined(_GSTREAMER0.8_NO_DEPEND)
|
|
BUILDLINK_PREFIX.gstreamer0.8= ${LOCALBASE}
|
|
.else
|
|
BUILDLINK_API_DEPENDS.gstreamer0.8+= gstreamer0.8>=0.8.1
|
|
. include "../../multimedia/gstreamer0.8/buildlink3.mk"
|
|
.endif
|
|
|
|
.endif # GSTREAMER0.8_PLUGINS_MK
|